The HTML goes inside the question attribute
Each question is a flashcard, back and front. The attribute answers in an array with this estructure:
| # sh ./animations.sh | |
| # set keyboard repeat rate to 0, so instant | |
| defaults write -g InitialKeyRepeat -int 10 # normal minimum is 15 (225 ms) | |
| defaults write -g KeyRepeat -int 1 # normal minimum is 2 (30 ms) | |
| # instant quick look animation | |
| defaults write -g QLPanelAnimationDuration -float 0 | |
| # increase speed of animation when resizing window of Cocoa apps |
| <?php | |
| class PageController extends \App\Http\Controllers\Controller | |
| { | |
| public function show() | |
| { | |
| $slug = request()->segment(1); | |
| $page = \TCG\Voyager\Models\Page::where('slug', $slug) | |
| ->firstOrFail(); | |
Dado que existen numerosos desarrolladores contribuyendo a varios proyectos en paralelo, he creado esta guía para esclarecer el proceso que llevamos a cabo para manejar el modelo de branching. Para esto voy a listar una serie de pasos que es proceso adecuado que debemos llevar a cabo una vez que nos llega una tarea.
Después de aceptar la tarea revisando que todo esté en orden, vamos a nuestra terminal y nos pasamos a la rama de develop.
Aquí tenéis los enlaces de los superpoderes (herramientas) que uso en mi dia a dia para el desarrollo Frontend. Son las que os conté en la presentación de Betabeers del 22 de Enero de 2015.
Para mi, el mejor IDE de desarrollo, en frontend. Muchos plugins para facilitar MUCHO el trabajo.
El tema que más me gusta para sublime es [Material Theme] (https://github.com/equinusocio/material-theme)
| /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *\ | |
| | | | |
| | Architecture for Sass Files | | |
| |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _| | |
| | | | |
| |– base/ | | |
| | |– _reset.scss # Reset/normalize | | |
| | |– _typography.scss # Typography rules | | |
| | ... # Etc… | |
| sudo npm install -g jitsu | |
| jitsu login | |
| vim package.json | |
| { | |
| "name": "CHANGE_ME", | |
| "subdomain": "CHANGE_ME", | |
| "description": "CHANGE_ME", |
| #!/bin/bash | |
| LANG=ja_JP.utf8 | |
| pid=$$ | |
| date=`date '+%Y-%m-%d-%H_%M'` | |
| outdir="." | |
| if [ $# -le 1 ]; then |
| # one-liner for generating this: mysqldump --no-data -uroot magento1600 | nawk '{if(match($0, /CREATE TABLE `(.*)`/, matchesT)) { the_table = matchesT[1]; } if(match($0, /(CONSTRAINT .*),?/, matchesK) && the_table) { the_key = gensub(/,?$/, "", matchesK[1]); the_key = gensub(/^ */, "", the_key); print "ALTER TABLE `" the_table "` ADD", the_key ";"; }}' | |
| ALTER TABLE `admin_rule` ADD CONSTRAINT `FK_ADMIN_RULE_ROLE_ID_ADMIN_ROLE_ROLE_ID` FOREIGN KEY (`role_id`) REFERENCES `admin_role` (`role_id`) ON DELETE CASCADE ON UPDATE CASCADE; | |
| ALTER TABLE `api_rule` ADD CONSTRAINT `FK_API_RULE_ROLE_ID_API_ROLE_ROLE_ID` FOREIGN KEY (`role_id`) REFERENCES `api_role` (`role_id`) ON DELETE CASCADE ON UPDATE CASCADE; | |
| ALTER TABLE `api_session` ADD CONSTRAINT `FK_API_SESSION_USER_ID_API_USER_USER_ID` FOREIGN KEY (`user_id`) REFERENCES `api_user` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE; | |
| ALTER TABLE `catalog_category_entity_datetime` ADD CONSTRAINT `FK_CAT_CTGR_ENTT_DTIME_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id |