- http://ponyfoo.com/
- http://www.2ality.com/ (acá aprendí ECMAScript 6)
- http://addyosmani.com/blog
- http://rmurphey.com/
- https://alexsexton.com/
- http://carlosazaustre.es/blog/
- http://christianheilmann.com/
- http://dailyjs.com/ (este junta articulos muy buenos de otros blogs, muy bueno para conocer más blogs de a poco)
- http://davidwalsh.name/
- http://ariya.ofilabs.com/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| # -*- coding : utf-8 -*- | |
| """ | |
| @author: Diogenes Augusto Fernandes Herminio <diofeher@gmail.com> | |
| """ | |
| from abc import ABCMeta | |
| #Abstract Factory | |
| class StandardFactory(object): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*! | |
| * $rootScope listeners, remember to unbind on $destroy | |
| */ | |
| var $rootListeners = { | |
| 'transmitProgress': $rootScope.$on('transmit:progress', transmitProgress), | |
| 'transmitSuccess': $rootScope.$on('transmit:success', transmitSuccess), | |
| 'transmitError': $rootScope.$on('transmit:error', transmitError) | |
| }; | |
| // iterate the Object and pass the methods to be called on $destroy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # download and install latest geckodriver for linux or mac. | |
| # required for selenium to drive a firefox browser. | |
| install_dir="/usr/local/bin" | |
| json=$(curl -s https://api.github.com/repos/mozilla/geckodriver/releases/latest) | |
| if [[ $(uname) == "Darwin" ]]; then | |
| url=$(echo "$json" | jq -r '.assets[].browser_download_url | select(contains("macos"))') | |
| elif [[ $(uname) == "Linux" ]]; then | |
| url=$(echo "$json" | jq -r '.assets[].browser_download_url | select(contains("linux64"))') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(function(){ | |
| var hash = window.location.hash; | |
| hash && $('ul.nav a[href="' + hash + '"]').tab('show'); | |
| $('.nav-tabs a').click(function (e) { | |
| $(this).tab('show'); | |
| var scrollmem = $('body').scrollTop(); | |
| window.location.hash = this.hash; | |
| $('html,body').scrollTop(scrollmem); | |
| }); |