git checkout -b <branchname>
 git add
 git commit -m "description of changes"
| /** | |
| * Scroll Handling & Smooth Scroll | |
| */ | |
| let scroll = { | |
| /** | |
| * Fires a function on scroll with request animation frame | |
| * @param {Function} fn Function to fire on scroll event | |
| */ | |
| on: (fn) => { | |
| window.addEventListener('scroll', () => window.requestAnimationFrame(fn)) | 
| Edit .bashrc | |
| export PS1='\u@\h\[\033[01;34m\] \w\[\033[0;32m\]$(__git_ps1 " (%s)")\[\033[01;34m\]$\[\033[00m\] ' | 
wp core download --locale=pt_BR
| // select element to unwrap | |
| var el = document.querySelector('div'); | |
| // get the element's parent node | |
| var parent = el.parentNode; | |
| // move all children out of the element | |
| while (el.firstChild) parent.insertBefore(el.firstChild, el); | |
| // remove the empty element | 
| body { | |
| font: normal 1.25em/1.5 Arial, sans-serif; | |
| } | |
| :focus { | |
| outline: 1px dotted #EF9600; | |
| outline-offset: 1px; | |
| } | |
| .slideshow { | |
| position: relative; | 
| // early experiments with node had mysterious double requests | |
| // turned out these were for the stoopid favicon | |
| // here's how to short-circuit those requests | |
| // and stop seeing 404 errors in your client console | |
| var http = require('http'); | |
| http.createServer(function (q, r) { | |
| // control for favicon | 
| <?php | |
| /* ========================================================================== | |
| CUSTOMIZANDO MENU PRINCIPAL | |
| ========================================================================== */ | |
| class custom_menu extends Walker_Nav_Menu{ | |
| function start_lvl(&$output, $depth) { | |
| $indent = str_repeat("", $depth); |