miércoles, 29 de noviembre de 2017

sábado, 4 de noviembre de 2017

Tareas en Linux


  1. file management
  2. Process management
  3. user management
  4. permission management
  5. services management
  6. software management
  7. log monitoreing

domingo, 15 de octubre de 2017

Uso de between en active record yii2


 $resultado = app\modules\ventas\models\Ordenes::find()->where(['between', 'fecha_reg', "$fecha1", "$fecha2" ])->all();

miércoles, 11 de octubre de 2017

Query find con join

  $resultado =  OrdenesDetalle::find()
                                                        ->joinWith('datos')
                                                       // ->onCondition(['>', 'existencia', 0])
                                                        ->where(['=', 'id_orden', $id])
                                                        ->all();



 <td><?=$value->datos->nombre?></td>

domingo, 10 de septiembre de 2017

querys con and or

$model = arname()->find()
       ->andWhere(['user_id'=>[1,5,8]])
       ->andWhere(['or',
           ['status'=>1],
           ['verified'=>1]
       ])
       ->orWhere(['and',
           ['social_account'=>1],
           ['enable_social'=>1]
       ])
       ->all();

miércoles, 12 de julio de 2017

Fuente para web


https://fonts.google.com/

https://www.fontsquirrel.com/tools/webfont-generator

http://fontpair.co/

Generar Iconos

http://www.favicon-generator.org/

http://realfavicongenerator.net/

http://www.favicon.cc/