El desarrollo frontend, se ha llevado bajo el flujo de trabajo Flux 1.0. Para mayor detalle, entrar al github de frontendlabs
- Instalar Sublime
li { | |
float: left; | |
} | |
/* one item */ | |
li:first-child:nth-last-child(1) { | |
width: 100%; | |
} | |
/* two items */ |
============ GIT ============ | |
git config credential.helper cache ::: Guardar accesos Git | |
git config --global -l ::: Ver los datos de configuracion | |
git config --global user.name "Moises Yance" | |
git config --global user.email "francisco10myq@gmail.com" | |
git rm -r --cached . :::: Deja de ver el git archivos que ya han sido comiteados antes | |
mfyance/miproyecto > git init :::: Inicializo la configuración del git | |
git:development > git add [archivo1] :::: Seguir el archivo1, para despues poder comitearlos. | |
git:development > git add . :::: Seguir todo los archivos, para despues comitearlos. | |
git:development > git add -u . :::: Seguir todo los archivos,omitiendo los archivos borrados. |
yOSON.AppCore.addModule("ubigeo_peru", function(Sb) { | |
var events, suscribeEvents, afterCathDom, beforeCathDom, catchDom, dom, initialize, st, ws, fn; | |
dom = {}; | |
ws = { | |
ubigeoPeru : PNSU.servicesPath + "ubigeo_peru", | |
paises : PNSU.servicesPath + "paises" | |
}; | |
st = { | |
paisNacimiento : "select[name='pPaisNacimiento']", | |
regNacimiento : "select[name='pRegNacimiento']", |
/* | |
* Normalize & Reset & Helpers | |
* @author mfyance | |
*/ | |
* { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
} |
El desarrollo frontend, se ha llevado bajo el flujo de trabajo Flux 1.0. Para mayor detalle, entrar al github de frontendlabs
latinApp.controller("mostrarTareasReportadas", ['$scope', '$http','$timeout',function($scope, $http,$timeout) { | |
$scope.this_true = true | |
$scope.this_false = false | |
new_url = yOSON.baseHost +'json/listar_tareas_reportadas.json' | |
type = 'GET' | |
if(yOSON.produccion === 'true'){ | |
type = 'POST' | |
new_url = yOSON.baseHost +'json/listar_tareas_reportadas.json' | |
} |
fn = | |
servicioHorarioLaboral : (servicio) -> | |
ajax = $.ajax | |
type: 'GET' | |
contentType: 'application/json; charset=utf-8' | |
dataType: 'json' | |
url: st.url.horarios | |
data: {} | |
timeout: 30000 | |
beforeSend: (xhr) -> |
* Crear un bashero : touch ~/bash_aliases | |
* Editar bashero creado: gedit ~/bash_aliases | |
* En el archivo creado, se debe agregar los alias que voy a utilizar. (Ejm. https://gist.github.com/mfyance/a0e31393442c88267306) | |
* Editar: gedit ~/.bashrc | |
* Agregar: | |
if [ -f ~/.bash_aliases ]; then | |
. ~/.bash_aliases | |
fi | |
* Resetear lo editado: source ~/.bashrc | |
* Hacer la prueba |
#!/bin/bash | |
# ~/.bash_aliases | |
# | |
#aliases for git | |
alias gam='echo " > git commit -am" && git commit -am ' | |
alias grm='git rm' | |
alias gmv='git mv' |
<!-- set up the modal to start hidden and fade in and out --> | |
<div id="myModal" class="modal hide fade"> | |
<!-- dialog contents --> | |
<div class="modal-body">Hello world!</div> | |
<!-- dialog buttons --> | |
<div class="modal-footer"><a href="#" class="btn primary">OK</a></div> | |
</div> |