domingo, 19 de mayo de 2019

COMO PERDER PESO

COMO PERDER PESO
.

1. No te saltes el desayuno

Saltarse el desayuno no te ayudará a perder peso. Podrías perderte los nutrientes esenciales y terminar comiendo más bocadillos a lo largo del día porque sientes hambre. Echa un vistazo a cinco desayunos saludables .

2. Comer comidas regulares

Comer a horas regulares durante el día ayuda a quemar calorías a un ritmo más rápido. También reduce la tentación de comer alimentos ricos en grasa y azúcar. Obtenga más información sobre comer de manera saludable .

3. Comer mucha fruta y verduras

Las frutas y verduras son bajas en calorías y grasas, y altas en fibra: 3 ingredientes esenciales para una pérdida de peso exitosa. También contienen gran cantidad de vitaminas y minerales. Lea sobre cómo obtener su 5 al día .

4. Hazte más activo

Estar activo es clave para perder peso y mantenerlo. Además de proporcionar numerosos beneficios para la salud , el ejercicio puede ayudar a quemar el exceso de calorías que no puede reducir solo con la dieta. Encuentre una actividad que disfrute y que pueda adaptarse a su rutina .

5. Beber mucha agua.

La gente a veces confunde la sed con el hambre. Puedes terminar consumiendo calorías adicionales cuando un vaso de agua es realmente lo que necesitas.

6. Comer alimentos ricos en fibra

Los alimentos que contienen mucha fibra pueden ayudarlo a sentirse lleno, lo cual es perfecto para perder peso. La fibra solo se encuentra en los alimentos de las plantas, como frutas y verduras , avena, pan integral, arroz integral y pasta , y frijoles, guisantes y lentejas .

7. Lea las etiquetas de los alimentos

Saber cómo leer las etiquetas de los alimentos puede ayudarlo a elegir opciones más saludables. Use la información de calorías para averiguar cómo un alimento en particular se ajusta a su asignación diaria de calorías en el plan de pérdida de peso. Obtenga más información sobre la lectura de las etiquetas de los alimentos .

8. Usa un plato más pequeño.

Usar platos más pequeños puede ayudarte a comer porciones más pequeñas. Al usar platos y tazones más pequeños, puede acostumbrarse gradualmente a comer porciones más pequeñas sin pasar hambre. El estómago tarda unos 20 minutos en decirle al cerebro que está lleno, así que coma lentamente y deje de comer antes de sentirse lleno.

lunes, 12 de marzo de 2018

sábado, 13 de mayo de 2017

Adriana Hoyos

Adriana Hoyos Furnishings 

Todo lo majestuoso acerca de la diseñadora de interiores Adriana Hoyos


Nacida en colombia, Adriana Hoyos es una diseñadora de interiores. Muebles Adriana Hoyos como marca en el mercado se inserta en Ecuador. Muebles como estos son conocidos a nivel mundial. Adriana. 
Adriana Hoyos Furnishings
Adriana Hoyos
Pagina Oficial: http://www.adrianahoyos.com/

viernes, 24 de marzo de 2017

Git Tutorial Step by Step Easy

In this short tutorial i gonna teach you how to work with Git and Github step by step.

First you need to create your folder:
Ex. My Project
Inside it, open a command line and start a git repository with the this command:

-Git init

In you folder will appear a folder called .git that contains hidden files it seem that your folder has a git repository.

-Later  lets create your app structure and files.

For create your fist commit just try:

-git add -A
-git commit -m "my first commit"

and you code will store in git repository. To check it, just type git log...
$ git log
commit 4dfa016f0c4e244b58ae5feecf5b87
Author: ahcorp <email@domain.com>
Date:   Fri Mar 24 16:29:08 2017 -0500

in the next post i will explain to you how to  create a branch and merge it changes,

thank you
Follow me to know more about android, php, and Git.


lunes, 20 de marzo de 2017

Solución a cannot connect to MySQL 4.1+ using the old insecure authentication.


How to solve that? /Como resolver ?

SQLSTATE[HY000] [2000] mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file 

1- Go to file my.ini (windows) or my.cnf (linux), and go to the line / Ve al archivo my.cnf en linux o a my.ini en windos:
[mysqld]
Set old_passwords to false belongs to the mysqld section, if you can't find it there, just add it:[mysqld]
old_passwords = 0
2- Restart you server/ Reinicia tu servidor.
3-Run that comand / Corre el siguiente comando:
mysql> SHOW VARIABLES LIKE 'old_passwords'
+---------------+-------+| Variable_name | Value |+---------------+-------+| old_passwords | OFF |+---------------+-------+

And old_passwords must appear like OFF.

4-Update your users passwords with :
UPDATE mysql.user SET password= PASSWORD(¨NEW PASSWORD¨);

And you password must look like :
*6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9

Solved/ Resuelto

viernes, 17 de marzo de 2017

Android studio Loadings



A best option for show Loading in your app is : AVLoadingIndicatorView
https://github.com/81813780/AVLoadingIndicatorView

Usage

Step 1

Add dependencies in build.gradle.
    dependencies {
       compile 'com.wang.avi:library:2.1.3'
    }

Step 2

Add the AVLoadingIndicatorView to your layout:
Simple
    <com.wang.avi.AVLoadingIndicatorView
        android:layout_width="wrap_content"  
        android:layout_height="wrap_content"
        app:indicatorName="BallPulseIndicator"
        />
Advance
    <com.wang.avi.AVLoadingIndicatorView
        android:id="@+id/avi"
        android:layout_width="wrap_content"  //or your custom size
        android:layout_height="wrap_content"  //or your custom size
        style="@style/AVLoadingIndicatorView"// or AVLoadingIndicatorView.Large or AVLoadingIndicatorView.Small
        android:visibility="visible"  //visible or gone
        app:indicatorName="BallPulseIndicator"//Indicator Name
        app:indicatorColor="your color"
        />

Step 3

It's very simple use just like .
   void startAnim(){
        avi.show();
        // or avi.smoothToShow();
   }

   void stopAnim(){
        avi.hide();
        // or avi.smoothToHide();
   }

Custom Indicator

See MyCustomIndicator in Sample .

Proguard

When using proguard need add rules:
-keep class com.wang.avi.** { *; }
-keep class com.wang.avi.indicators.** { *; }
Indicators is load from class names, proguard may change it (rename).

Indicators

As seen above in the Demo, the indicators are as follows:
Row 1
  • BallPulseIndicator
  • BallGridPulseIndicator
  • BallClipRotateIndicator
  • BallClipRotatePulseIndicator
Row 2
  • SquareSpinIndicator
  • BallClipRotateMultipleIndicator
  • BallPulseRiseIndicator
  • BallRotateIndicator
Row 3
  • CubeTransitionIndicator
  • BallZigZagIndicator
  • BallZigZagDeflectIndicator
  • BallTrianglePathIndicator
Row 4
  • BallScaleIndicator
  • LineScaleIndicator
  • LineScalePartyIndicator
  • BallScaleMultipleIndicator
Row 5
  • BallPulseSyncIndicator
  • BallBeatIndicator
  • LineScalePulseOutIndicator
  • LineScalePulseOutRapidIndicator
Row 6
  • BallScaleRippleIndicator
  • BallScaleRippleMultipleIndicator
  • BallSpinFadeLoaderIndicator
  • LineSpinFadeLoaderIndicator
Row 7
  • TriangleSkewSpinIndicator
  • PacmanIndicator
  • BallGridBeatIndicator
  • SemiCircleSpinIndicator
Row 8
  • com.wang.avi.sample.MyCustomIndicator
  • License

    Copyright 2015 jack wang
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
       http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

lunes, 6 de marzo de 2017

An example of Android Sharedpreferences.


An example of Android Sharedpreferences.


Configurando valores en Preferencia /Setting values in Preference:

// My preferencia Nombre / MY_PREFerence_NAME - : 
//public static final String MY_PREFS_NAME = "MyPrefsFile";
 SharedPreferences.Editor editor = getSharedPreferences(MY_PREFS_NAME, MODE_PRIVATE).edit();
 editor.putString("name", "Elena");
 editor.putInt("idName", 12);
 editor.commit();

Retrieve data from preference:

SharedPreferences prefs = getSharedPreferences(MY_PREFS_NAME, MODE_PRIVATE); 
String restoredText = prefs.getString("text", null);
if (restoredText != null) {
  String name = prefs.getString("name", "No name defined");//"No name defined" is the default value.
  int idName = prefs.getInt("idName", 0); //0 is the default value.
}