├── .env-sample ├── .gitignore ├── 404.md ├── CC-LICENSE ├── Gemfile ├── Gemfile.lock ├── MIT-LICENSE ├── README.md ├── Rakefile ├── _assets ├── fonts │ ├── bootstrap │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.svg │ │ ├── glyphicons-halflings-regular.ttf │ │ └── glyphicons-halflings-regular.woff │ └── font-awesome │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.svg │ │ ├── fontawesome-webfont.ttf │ │ └── fontawesome-webfont.woff ├── images │ └── .keep ├── javascript │ ├── active_link_nav.js │ ├── app.js │ ├── bootstrap │ │ ├── affix.js │ │ ├── alert.js │ │ ├── button.js │ │ ├── carousel.js │ │ ├── collapse.js │ │ ├── dropdown.js │ │ ├── modal.js │ │ ├── popover.js │ │ ├── scrollspy.js │ │ ├── tab.js │ │ ├── tooltip.js │ │ └── transition.js │ ├── disqus-count.js │ ├── facebook-share.js │ ├── google-share.js │ ├── jquery-2.0.3.min.js │ ├── posts.js │ ├── prepareSearch.js │ ├── scrollto-top.js │ ├── simpleJekyllSearch.js │ └── twitter-share.js └── stylesheets │ ├── _main.scss │ ├── _media-queries.scss │ ├── _my-bootstrap-vars.scss │ ├── _my-fontawesome-vars.scss │ ├── _posts.scss │ ├── _syntax.scss │ ├── bootstrap │ ├── _alerts.scss │ ├── _badges.scss │ ├── _bootstrap.scss │ ├── _breadcrumbs.scss │ ├── _button-groups.scss │ ├── _buttons.scss │ ├── _carousel.scss │ ├── _close.scss │ ├── _code.scss │ ├── _component-animations.scss │ ├── _dropdowns.scss │ ├── _forms.scss │ ├── _glyphicons.scss │ ├── _grid.scss │ ├── _input-groups.scss │ ├── _jumbotron.scss │ ├── _labels.scss │ ├── _list-group.scss │ ├── _media.scss │ ├── _mixins.scss │ ├── _modals.scss │ ├── _navbar.scss │ ├── _navs.scss │ ├── _normalize.scss │ ├── _pager.scss │ ├── _pagination.scss │ ├── _panels.scss │ ├── _popovers.scss │ ├── _print.scss │ ├── _progress-bars.scss │ ├── _responsive-utilities.scss │ ├── _scaffolding.scss │ ├── _tables.scss │ ├── _theme.scss │ ├── _thumbnails.scss │ ├── _tooltip.scss │ ├── _type.scss │ ├── _utilities.scss │ ├── _variables.scss │ └── _wells.scss │ ├── font-awesome │ ├── _bootstrap.scss │ ├── _bordered-pulled.scss │ ├── _core.scss │ ├── _extras.scss │ ├── _fixed-width.scss │ ├── _font-awesome.scss │ ├── _icons.scss │ ├── _larger.scss │ ├── _list.scss │ ├── _mixins.scss │ ├── _path.scss │ ├── _rotated-flipped.scss │ ├── _spinning.scss │ ├── _stacked.scss │ └── _variables.scss │ └── styles.scss ├── _config.yml ├── _data ├── autores.yml ├── contribuidores.yml └── series.yml ├── _drafts └── .keep ├── _includes ├── ads-section.html ├── article-section.html ├── bottom-post-ad.html ├── disqus.html ├── google-tags.html ├── leaderboard-ad.html ├── middle-post-ad.html ├── page-footer.html ├── page-header.html ├── paginator.html ├── share-buttons.html └── templates │ ├── autor-description.html │ ├── autor-detalle.html │ ├── autor-redes-sociales.html │ └── serie-detalle.html ├── _layouts ├── default.html ├── main.html ├── post.html └── series.html ├── _plugins ├── ext.rb ├── redcarpet_pygments.rb └── sitemap_generator.rb ├── _posts ├── como-lo-hago │ ├── 2013-07-02-como-lo-hago-instalar-homebrew.markdown │ ├── 2013-07-09-como-lo-hago-instalar-oh-my-zsh.markdown │ ├── 2013-07-16-como-instalar-y-configurar-vagrant.markdown │ ├── 2013-07-23-como-instalar-y-configurar-chef.markdown │ ├── 2013-07-30-como-instalar-y-usar-tmux.markdown │ ├── 2013-08-06-como-instalar-nginx.markdown │ ├── 2013-08-13-como-instalar-configurar-y-usar-redis.markdown │ ├── 2013-08-20-como-instalar-configurar-y-usar-redis-parte-ii.markdown │ ├── 2013-08-27-como-hacer-pruebas-de-carga-servidores-web.markdown │ ├── 2013-09-03-como-hacer-benchmarks-sistemas-unix.markdown │ ├── 2013-09-10-como-instalar-y-usar-docker.markdown │ ├── 2013-10-29-como-instalar-y-usar-nmap.markdown │ ├── 2013-11-26-como-instalar-y-usar-rsync.markdown │ ├── 2014-01-06-como-instalar-y-usar-fail2ban.markdown │ ├── 2014-01-27-como-monitorear-servicios-y-aplicaciones-usando-mon.markdown │ ├── 2014-02-06-como-construir-imagenes-usando-dockerfiles.markdown │ ├── 2014-02-17-como-monitorear-los-recursos-de-un-servidor-utilizando-munin.markdown │ ├── 2014-03-04-como-utilizar-colas-de-mensajes-con-rabbitmq-parte.markdown │ ├── 2014-03-10-como-utilizar-colas-de-mensajes-con-rabbitmq-parte-ii.markdown │ ├── 2014-03-24-como-instalar-y-utilizar-dokku.markdown │ ├── 2014-04-08-como-utilizar-gruntjs.md │ ├── 2014-04-22-como-utilizar-bower-parte-i.md │ ├── 2014-05-13-como-utilizar-bower-parte-ii.md │ ├── 2014-05-27-como-utilizar-yeoman.md │ ├── 2014-06-02-como-escribir-codigo-mantenible-parte-1.markdown │ ├── 2014-06-10-homebrew-cask-y-brewfiles.md │ ├── 2014-06-16-como-escribir-codigo-mantenible-parte-2.markdown │ ├── 2014-06-24-como-escribir-markdown-parte-i.md │ └── 2015-02-27-como-escribir-markdown-parte-ii.md ├── comunidad │ └── .keep ├── django-desde-cero │ ├── 2013-06-21-django-desde-cero-instalacion-y-herramientas.markdown │ ├── 2013-07-05-django-desde-cero-modelos-y-base-de-datos.markdown │ ├── 2013-07-19-django-desde-cero-vistas-dinamicas.markdown │ ├── 2013-09-04-django-desde-cero-sitio-de-administracion.markdown │ ├── 2013-09-18-django-desde-cero-formularios-forms.markdown │ ├── 2013-10-02-django-desde-cero-urls-avanzadas.markdown │ ├── 2013-10-16-django-desde-cero-validaciones-de-formulario.markdown │ ├── 2013-10-31-django-desde-cero-relaciones-o-asociaciones-en-base-de-datos-parte-i.markdown │ └── 2013-11-05-relaciones-o-asociaciones-en-base-de-datos-parte-ii.markdown ├── ember.js-desde-cero │ ├── 2013-08-21-ember-js-desde-cero-introduccion-e-instalacion.markdown │ ├── 2013-08-28-ember-js-desde-cero-clases-y-objetos.markdown │ ├── 2013-09-11-ember-js-desde-cero-propiedades-computadas-computed-properties.markdown │ ├── 2013-09-25-ember-js-desde-cero-observadores.markdown │ ├── 2013-10-10-ember-js-desde-cero-arquitectura.markdown │ ├── 2013-10-23-ember-js-desde-cero-rutas-router.markdown │ ├── 2013-11-14-ember-js-desde-cero-estructura-del-proyecto.markdown │ ├── 2013-11-22-ember-js-desde-cero-modelos.markdown │ └── 2013-12-11-ember-js-desde-cero-controlador.markdown ├── git-desde-cero │ ├── 2013-06-20-git-desde-cero-instalacion-configuracion-y-comandos-basicos.markdown │ ├── 2013-06-27-git-desde-cero-registrando-cambios.markdown │ ├── 2013-07-04-git-desde-cero-historial-enmendar-y-regresar-cambios.markdown │ ├── 2013-07-11-git-desde-cero-manejo-remoto-y-etiquetas.markdown │ ├── 2013-07-18-git-desde-cero-manejo-de-ramas.markdown │ ├── 2013-07-25-git-desde-cero-manejo-de-ramas-remotas.markdown │ ├── 2013-08-01-rebase-y-stash.markdown │ ├── 2013-08-08-git-desde-cero-comandos-interactivos.markdown │ ├── 2013-08-15-git-desde-cero-personalizar-la-configuracion-de-git.markdown │ ├── 2013-08-22-git-desde-cero-submodulos.markdown │ ├── 2013-08-29-git-desde-cero-utilizando-git-subtree.markdown │ ├── 2013-09-05-git-desde-cero-git-blame-y-bisect.markdown │ ├── 2013-09-12-git-desde-cero-reset-y-cherry-pick.markdown │ ├── 2013-09-19-git-desde-cero-hooks.markdown │ ├── 2013-09-26-git-desde-cero-reflog-y-fsck.markdown │ ├── 2013-10-03-git-desde-cero-instalando-git-en-un-servidor.markdown │ └── 2014-05-29-git-desde-cero-feature-branch-workflow.md ├── ios-desde-cero │ ├── 2013-06-10-ios-sdk-desde-cero-introduccion.markdown │ ├── 2013-06-24-ios-desde-cero-controladores.markdown │ ├── 2013-07-08-ios-desde-cero-table-views-uitableview.markdown │ ├── 2013-07-22-ios-desde-cero-navigation-controller.markdown │ ├── 2013-08-05-ios-desde-cero-tabbar-controller-uitabbarcontroller.markdown │ ├── 2013-08-12-ios-desde-cero-storyboards-2.markdown │ ├── 2013-09-27-protocolos-y-delegados.markdown │ └── 2013-10-11-ios-desde-cero-nsoperations-nsoperationqueues.markdown ├── ios7-decodificado │ ├── 2013-10-25-ios7-descodificado-diferencias-visuales.markdown │ ├── 2013-11-08-ios7-descodificado-imagenes-y-textos.markdown │ ├── 2013-11-22-ios7-decodificado-transiciones-personalizadas.markdown │ └── 2013-12-06-ios7-decodificado-transiciones-personalizadas-parte-2.markdown ├── java-desde-cero │ ├── 2013-12-04-java-desde-cero-instalacion-configuracion.markdown │ ├── 2013-12-18-java-desde-cero-sintaxis-basica.markdown │ ├── 2014-01-08-java-desde-cero-clases-y-objectos.markdown │ ├── 2014-01-29-java-desde-cero-tipos-de-datos.markdown │ ├── 2014-02-05-java-desde-cero-variables.markdown │ ├── 2014-02-12-java-desde-cero-operadores-basicos.markdown │ ├── 2014-02-19-java-desde-cero-sentencias-if-y-switch.markdown │ ├── 2014-02-26-java-desde-cero-bucles.markdown │ ├── 2014-03-05-java-desde-cero-string.markdown │ ├── 2014-03-19-java-desde-cero-archivos-es.markdown │ ├── 2014-04-03-java-desde-cero-herencia.markdown │ ├── 2014-04-23-java-desde-cero-manejo-de-excepciones-parte-i.markdown │ ├── 2014-05-06-java-desde-cero-manejos-de-excepciones-parte-ii.markdown │ ├── 2014-05-25-java-desde-cero-archivo-de-propiedades.md │ ├── 2014-06-06-java-desde-cero-correos-electronicos.markdown │ └── 2014-06-20-java-desde-cero-multihilo.markdown ├── javascript-desmitificado │ ├── 2014-02-17-javascript-desmitificado-objetos.markdown │ ├── 2014-03-03-javascript-desmitificado-funciones.markdown │ ├── 2014-03-17-javascript-desmitificado-clausuras.markdown │ ├── 2014-03-31-coercion-parte-1.md │ ├── 2014-04-21-javascript-desmitificado-coercion-parte-2.md │ ├── 2014-05-05-javascript-desmitificado-concurrencia.md │ └── 2014-05-19-javascript-desmitificado-calidad.md ├── jquery-desde-cero │ ├── 2013-10-28-jquery-desde-cero-introduccion.markdown │ ├── 2013-11-11-jquery-desde-cero-selectores-y-filtros-basicos.markdown │ ├── 2013-11-25-jquery-desde-cero-filtros-avanzados.markdown │ ├── 2013-12-09-jquery-desde-cero-recorriendo-el-documento.markdown │ ├── 2014-01-13-jquery-desde-cero-manipulando-contenido-parte-1.markdown │ ├── 2014-01-27-jquery-desde-cero-manipulando-contenido-parte-2.markdown │ ├── 2014-02-10-jquery-desde-cero-eventos.markdown │ ├── 2014-02-24-jquery-desde-cero-animaciones-y-efectos.markdown │ └── 2014-03-10-jquery-desde-cero-ajax.markdown ├── laravel-4-desde-cero │ ├── 2013-07-23-laravel-4-desde-cero-instalacion-configuracion.markdown │ ├── 2013-08-06-laravel-4-desde-cero-estructura-del-proyecto.markdown │ ├── 2013-08-20-laravel-4-desde-cero-rutas-y-blade.markdown │ ├── 2013-09-03-laravel-4-desde-cero-eloquent-orm.markdown │ ├── 2013-09-17-laravel-4-desde-cero-query-builder.markdown │ ├── 2013-10-01-laravel-4-desde-cero-eloquent-orm-ii.markdown │ ├── 2013-10-15-laravel-4-desde-cero-validaciones-parte-i.markdown │ ├── 2013-10-29-laravel-4-desde-cero-validaciones-parte-ii.markdown │ ├── 2013-11-12-codehero-colaravel-4-desde-cero-proyecto.markdown │ ├── 2013-11-28-laravel-4-desde-cero-filtros-parte-i.markdown │ ├── 2013-12-10-laravel-4-desde-cero-filtros-parte-ii.markdown │ ├── 2014-01-10-laravel-4-desde-cero-helpers.markdown │ ├── 2014-01-24-laravel-4-desde-cero-sesiones.markdown │ ├── 2014-02-07-laravel-4-desde-cero-sesiones-ii.markdown │ ├── 2014-02-24-laravel-4-desde-cero-internacionalizacion.markdown │ ├── 2014-03-07-laravel-4-desde-cero-redis.markdown │ └── 2014-03-21-laravel-4-desde-cero-colas-de-tareas.markdown ├── mongodb-desde-cero │ ├── 2013-09-17-mongodb-desde-cero-introduccion-e-instalacion.markdown │ ├── 2013-09-23-mongodb-desde-cer-operaciones-basicas.markdown │ ├── 2013-09-30-mongodb-desde-cero-actualizaciones-updates.markdown │ ├── 2013-10-07-mongodb-desde-cero-modelado-de-datos.markdown │ ├── 2013-10-15-mongodb-desde-cero-indices-parte-i.markdown │ ├── 2013-10-22-mongodb-desde-cero-indices-parte-ii.markdown │ ├── 2013-11-05-mongodb-desde-cero-auto-incremento-y-busquedas-avanzadas.markdown │ ├── 2013-11-12-mongodb-desde-cero-seguridad.markdown │ ├── 2013-11-19-mongodb-desde-cero-colecciones-limitadas-y-expiraciones.markdown │ ├── 2013-12-03-mongodb-desde-cero-respaldos-y-restauracion.markdown │ ├── 2013-12-10-mongodb-desde-cero-replicacion-parte-i.markdown │ ├── 2013-12-17-mongodb-desde-cero-replicacion-parte-ii.markdown │ ├── 2014-01-13-mongodb-desde-cero-fragmentacion-parte-i.markdown │ ├── 2014-01-20-mongodb-desde-cero-fragmentacion-parte-ii.markdown │ ├── 2014-02-03-mongodb-desde-cero-agregacion-parte-i.markdown │ ├── 2014-02-10-mongodb-desde-cero-agregacion-parte-ii.markdown │ └── 2014-02-24-mongodb-desde-cero-produccion.markdown ├── node.js-y-express │ ├── 2013-08-19-nodejs-y-express-instalacion-e-iniciacion.markdown │ ├── 2013-08-26-nodejs-y-express-definiendo-rutas.markdown │ ├── 2013-09-02-nodejs-y-express-vistas.markdown │ ├── 2013-09-09-node-y-express-jade-js.markdown │ ├── 2013-09-16-node-js-y-express-package-json.markdown │ ├── 2013-10-14-node-y-express-middleware.markdown │ ├── 2013-10-21-nodejs-y-express-peticiones-y-respuestas.markdown │ ├── 2013-11-04-node-y-express-rutas-avanzadas.markdown │ ├── 2013-11-18-nodejs-y-express-cookies-y-sesiones.markdown │ ├── 2013-12-02-node-js-y-express-como-crear-modulos.markdown │ ├── 2013-12-16-estructura-modular-de-proyectos.markdown │ ├── 2014-01-20-node-js-y-express-aplicacion-con-mongodb-parte-i.markdown │ └── 2014-02-03-node-y-express-aplicacion-con-mongodb-parte-ii.markdown ├── noticias │ ├── 2013-06-27-lo-que-no-sabias-del-hombre-que-filtro-el-iphone-4.markdown │ ├── 2013-06-28-la-version-de-prueba-de-windows-8-1-ya-esta-disponible.markdown │ ├── 2013-07-01-el-retiro-de-google-reader-no-es-la-muerte-del-rss.markdown │ ├── 2013-07-04-podran-los-gemelos-originarios-de-facebook-impulsar-la-reputacion-de-bitcoin.markdown │ ├── 2013-07-08-como-el-caso-snowden-cambio-la-vision-del-mundo.markdown │ ├── 2013-07-11-nuevos-servicios-de-dropbox-llevaran-la-sincronizacion-multiplataforma-a-otro-nivel.markdown │ ├── 2013-07-15-microsoft-traiciona-privacidad-de-usuarios-mientras-que-expertos-en-seguridad-luchan-por-ellos.markdown │ ├── 2013-07-18-google-maps-ios-lo-nuevo-en-la-aplicacion-y-el-sdk.markdown │ ├── 2013-07-22-falla-de-seguridad-en-tarjetas-sim-demuestra-vulnerabilidad-en-cientos-de-millones-de-telefonos.markdown │ ├── 2013-07-25-chromecast-nuevo-nexus-7-y-mucho-mas-del-evento-sorpresa-de-google.markdown │ ├── 2013-07-29-bootstrap-3-muestra-sus-notorios-cambios-en-version-rc1.markdown │ ├── 2013-08-01-nsa-en-conferencia-black-hat-2013.markdown │ ├── 2013-08-05-yahoo-suma-a-rockmelt-a-su-lista-de-compras.markdown │ ├── 2013-08-08-breach-la-nueva-vulnerabilidad-ssl.markdown │ ├── 2013-08-12-el-futuro-de-flickr-en-manos-de-bernando-hernandez.markdown │ ├── 2013-08-15-que-esperar-en-el-proximo-foro-de-desarrolladores-de-intel.markdown │ ├── 2013-08-19-ubuntu-edge-rompe-record-de-recoleccion-de-fondos.markdown │ ├── 2013-08-22-la-nueva-generacion-de-transistores-ultra-veloces.markdown │ ├── 2013-08-26-la-impresion-3d-toma-un-nuevo-paso.markdown │ ├── 2013-08-29-sea-continua-ciber-ataques-ahora-contra-twitter-y-el-nytimes.markdown │ ├── 2013-09-02-steve-ballmer-es-retirado-tempranamente-de-microsoft.markdown │ ├── 2013-09-05-samsung-y-sony-muestran-novedades-en-exhibicion-ifa.markdown │ ├── 2013-09-09-hdmi-2-0-se-anuncia-oficialmente.markdown │ ├── 2013-09-12-cota-el-futuro-de-cargar-dispositivos-inalambricamente.markdown │ ├── 2013-09-16-ganadores-del-disrupt-san-francisco-2013.markdown │ ├── 2013-11-25-ayudanos-a-crecer.markdown │ ├── 2015-03-05-donde-estamos-y-a-donde-vamos.md │ └── 2015-04-21-que-paas-personal-quieres-conocer.md ├── objective-c-desde-cero │ ├── 2013-06-17-objective-c-desde-cero-conceptos-basicos.markdown │ ├── 2013-07-01-objective-c-desde-cero-orientacion-a-objetos.markdown │ ├── 2013-07-15-objective-c-desde-cero-orientacion-a-objetos-parte-2.markdown │ └── 2013-07-29-objective-c-desde-cerostrings-numeros-y-colecciones.markdown ├── php-desde-cero │ ├── 2013-07-11-php-desde-cero-instalacion-hello-world.markdown │ ├── 2013-07-16-php-desde-cero-variables-constantes.markdown │ ├── 2013-07-30-php-desde-cero-operadores.markdown │ ├── 2013-08-13-php-desde-cero-estructuras-de-control.markdown │ ├── 2013-08-27-php-desde-cero-funciones.markdown │ ├── 2013-09-10-php-desde-cero-arreglos.markdown │ ├── 2013-09-24-php-desde-get-post.markdown │ ├── 2013-10-08-php-desde-cero-cookies-sessions.markdown │ ├── 2013-10-22-php-desde-cero-mysql.markdown │ ├── 2013-11-05-php-desde-cero-include-require.markdown │ ├── 2013-11-19-php-desde-cero-clases-objetos.markdown │ ├── 2013-12-03-php-desde-cero-clases-objetos-parte-ii.markdown │ ├── 2013-12-20-php-desde-cero-clases-objetos-parte-iii.markdown │ ├── 2014-01-17-php-desde-cero-clases-objetos-parte-iv.markdown │ ├── 2014-01-31-php-desde-cero-ajax.markdown │ ├── 2014-02-14-php-desde-cero-archivos.markdown │ ├── 2014-02-28-php-desde-cero-namespaces.markdown │ └── 2014-04-07-php-desde-cero-phpunit-i.markdown ├── python-desde-cero │ ├── 2013-06-09-python-desde-cero-instalacion-y-configuracion.markdown │ ├── 2013-06-14-python-desde-cero-variables-operadores-y-estructuras-de-control.markdown │ ├── 2013-06-28-python-desde-cero-funciones.markdown │ ├── 2013-07-12-python-desde-cero-modulos.markdown │ ├── 2013-07-24-python-desde-cero-clases-atributos-y-metodos.markdown │ ├── 2013-07-31-python-desde-cero-bases-de-datos.markdown │ └── 2013-08-14-python-desde-cero-manejo-de-archivos.markdown ├── ruby-desde-cero │ ├── 2013-06-03-ruby-desde-cero-instalacion-configuracion.markdown │ ├── 2013-06-12-ruby-desde-cero-variables-y-objetos-2.markdown │ ├── 2013-06-19-ruby-desde-cero-estructuras-de-control-if-loops.markdown │ ├── 2013-07-03-ruby-desde-cero-metodos-bloques.markdown │ ├── 2013-07-17-ruby-desde-cero-orientacion-a-objetos-parte-1.markdown │ ├── 2013-08-02-orientacion-a-objetos-parte-2.markdown │ ├── 2013-08-16-modulos.markdown │ ├── 2013-08-30-manejo-de-archivos-y-directorios.markdown │ └── 2013-09-13-mi-primera-aplicacion-en-ruby.markdown ├── ruby-on-rails-desde-cero │ ├── 2013-06-26-ruby-on-rails-desde-cero-instalacion-configuracion.markdown │ ├── 2013-07-10-ruby-on-rails-desde-cero-estructura-del-proyecto.markdown │ ├── 2013-07-26-ruby-on-rails-desde-cero-vistas-dinamicas.markdown │ ├── 2013-08-09-activerecord-parte-1.markdown │ ├── 2013-08-23-activerecord-asociaciones.markdown │ ├── 2013-09-06-activerecord-parte-2.markdown │ ├── 2013-09-20-activerecord-validaciones.markdown │ ├── 2013-10-04-activemodel.markdown │ ├── 2013-10-18-serializar-objetos-active_model_serializers.markdown │ ├── 2013-11-01-ruby-rails-desde-cero-enviar-emails-actionmailer.markdown │ ├── 2013-11-15-ruby-on-rails-pruebas-unitarias.markdown │ ├── 2013-12-19-ruby-on-rails-desde-cero-actioncontroller-parte-1.markdown │ ├── 2014-01-16-ruby-on-rails-desde-cero-actioncontroller-parte-2.markdown │ ├── 2014-01-23-ruby-on-rails-desde-cero-rutas.markdown │ ├── 2014-01-30-ruby-on-rails-desde-cero-sesiones.markdown │ ├── 2014-02-27-ruby-on-rails-desde-cero-internacionalizacion.markdown │ ├── 2014-03-06-ruby-on-rails-desde-cero-logger.markdown │ ├── 2014-03-13-ruby-on-rails-desde-cero-time-zones.markdown │ ├── 2014-03-27-ruby-on-rails-desde-cero-procesamiento-asincrono.markdown │ ├── 2014-06-12-ruby-on-rails-desde-cero-linea-de-comandos-parte-1.md │ └── 2014-06-26-ruby-on-rails-desde-cero-linea-de-comandos-parte-2.md └── sinatra-desde-cero │ ├── 2013-10-10-sinatra-desde-cero-instalacion-y-configuracion.markdown │ ├── 2013-10-17-sinatra-desde-cero-enrutamiento.markdown │ ├── 2013-10-24-sinatra-desde-cero-enrutamiento-continuacion.markdown │ ├── 2013-10-31-sinatra-desde-cero-vistas.markdown │ ├── 2013-11-14-sinatra-desde-cero-filtros-y-manejo-de-errores.markdown │ ├── 2013-11-21-sinatra-desde-cero-sesiones-y-cookies.markdown │ ├── 2013-11-28-sinatra-desde-cero-aplicaciones-modulares.markdown │ ├── 2013-12-05-sinatra-desde-cero-estructura-de-proyecto.markdown │ ├── 2013-12-12-sinatra-desde-cero-rack-y-rutas.markdown │ ├── 2014-01-09-sinatra-desde-cero-acceso-datos-con-datamapper.markdown │ ├── 2014-02-13-sinatra-desde-cero-caching-y-etags.markdown │ ├── 2014-02-20-sinatra-desde-cero-streaming-y-attachments.markdown │ ├── 2014-04-09-sinatra-desde-cero-creando-un-api-parte-1.markdown │ ├── 2014-04-24-sinatra-desde-cero-creando-un-api-parte-2.md │ └── 2014-05-15-sinatra-desde-cero-creando-un-api-parte-3.md ├── _prose.yml ├── author ├── albertogg.html ├── carlos.html ├── jonathan.html ├── oscar.html ├── ramses.html └── ricardo.html ├── autores.html ├── como-lo-hago.html ├── comunidad.html ├── contribuidores.html ├── contributor └── mrtest.html ├── cursos.html ├── esenciales.md ├── favicon.ico ├── feed.xml ├── index.html ├── noticias.html ├── politica-de-privacidad.md ├── robots.txt ├── search.html ├── search.json ├── series ├── django-desde-cero.html ├── ember-js-desde-cero.html ├── git-desde-cero.html ├── index.html ├── ios-desde-cero.html ├── ios-siete-decodificado.html ├── java-desde-cero.html ├── javascript-desmitificado.html ├── jquery-desde-cero.html ├── laravel-4-desde-cero.html ├── mongodb-desde-cero.html ├── node-y-express.html ├── objective-c-desde-cero.html ├── php-desde-cero.html ├── python-desde-cero.html ├── ruby-desde-cero.html ├── ruby-on-rails-desde-cero.html └── sinatra-desde-cero.html ├── sobre-nosotros.md └── terminos-y-condiciones.md /.env-sample: -------------------------------------------------------------------------------- 1 | ### 2 | # Archivo con variables de entorno. 3 | ### 4 | ENV=production 5 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .ruby-version 2 | .bundle/ 3 | .env 4 | _site 5 | .DS_Store 6 | .sass-cache/ 7 | _assets/stylesheets/styles.css 8 | *.css 9 | _posts/2013-06-04-837.markdown 10 | _posts/2013-06-04-840.markdown 11 | _posts/2013-06-04-841.markdown 12 | _posts/2013-06-04-842.markdown 13 | _posts/2013-06-04-873.markdown 14 | _posts/2013-06-04-874.markdown 15 | _posts/2013-06-04-politica-de-privacidad.markdown 16 | _posts/2013-06-04-terminos-y-condiciones.markdown 17 | _posts/2013-06-06-889.markdown 18 | _posts/2013-06-06-891.markdown 19 | _posts/2013-06-06-esenciales.markdown 20 | _posts/2013-06-06-sobre-nosotros.markdown 21 | _posts/2013-06-13-1012.markdown 22 | _posts/2013-06-27-1203.markdown 23 | _posts/2013-06-27-1204.markdown 24 | _posts/2013-07-15-1439.markdown 25 | _posts/2013-07-15-1440.markdown 26 | _posts/2013-07-21-1571.markdown 27 | _posts/2013-07-21-1572.markdown 28 | _posts/2013-07-21-1573.markdown 29 | _posts/2013-07-21-1574.markdown 30 | _posts/2013-07-21-1575.markdown 31 | _posts/2013-07-21-1576.markdown 32 | _posts/2013-07-21-1577.markdown 33 | _posts/2013-07-21-1578.markdown 34 | _posts/2013-07-21-1579.markdown 35 | _posts/2013-07-21-1580.markdown 36 | _posts/2013-07-21-1581.markdown 37 | _posts/2013-07-21-1582.markdown 38 | _posts/2013-07-21-1583.markdown 39 | _posts/2013-07-21-1584.markdown 40 | _posts/2013-07-21-1585.markdown 41 | _posts/2013-07-21-series.markdown 42 | -------------------------------------------------------------------------------- /404.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: 404 - página no encontrada 4 | description: página 404 de codehero.co. 5 | --- 6 | # 404 Épico - No encontramos el artículo que buscabas. 7 | 8 | #### Lo sentimos, no hemos encontrado lo que estas buscando. 9 | 10 | Si no sabes lo que estabas buscando puedes dirigirte a los siguientes enlaces: 11 | 12 | - [Inicio](/) 13 | - [Series](/series/) 14 | - [Cómo lo hago](/category/como-lo-hago.html) 15 | - [Página de busquedas](/search.html) 16 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | ruby '2.0.0' 4 | 5 | gem 'jekyll', '~> 1.4.0' 6 | gem 'bootstrap-sass', '~> 3.0.3.0', github: 'thomas-mcdonald/bootstrap-sass', require: false 7 | gem 'sass', '~> 3.2.12' 8 | gem 'rb-fsevent', '~> 0.9.3' 9 | gem 'liquid', '~> 2.5.3' 10 | gem 'maruku', '~> 0.7.0' 11 | gem 'redcarpet', '~> 2.3.0' 12 | gem 'dotenv', '~> 0.9.0', require: false 13 | gem 'jekyll-assets', '~> 0.7.4' 14 | gem 'uglifier', '~> 2.2.1' 15 | gem "font-awesome-sass", "~> 4.0.3", require: false 16 | gem 'therubyracer' # production only 17 | gem 'rake', '~> 10.3', require: false 18 | gem 'activesupport', '~> 4.1', require: false 19 | -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- 1 | GIT 2 | remote: git://github.com/thomas-mcdonald/bootstrap-sass.git 3 | revision: 99d5746f653e4d5fdccc5cb8d278b32b0b2c6bce 4 | specs: 5 | bootstrap-sass (3.0.3.0) 6 | sass (~> 3.2) 7 | 8 | GEM 9 | remote: https://rubygems.org/ 10 | specs: 11 | activesupport (4.1.1) 12 | i18n (~> 0.6, >= 0.6.9) 13 | json (~> 1.7, >= 1.7.7) 14 | minitest (~> 5.1) 15 | thread_safe (~> 0.1) 16 | tzinfo (~> 1.1) 17 | blankslate (2.1.2.4) 18 | classifier (1.3.4) 19 | fast-stemmer (>= 1.0.0) 20 | colorator (0.1) 21 | commander (4.1.5) 22 | highline (~> 1.6.11) 23 | dotenv (0.9.0) 24 | execjs (2.0.2) 25 | fast-stemmer (1.0.2) 26 | ffi (1.9.3) 27 | font-awesome-sass (4.0.3.2) 28 | sass (~> 3.2) 29 | highline (1.6.20) 30 | hike (1.2.3) 31 | i18n (0.6.9) 32 | jekyll (1.4.3) 33 | classifier (~> 1.3) 34 | colorator (~> 0.1) 35 | commander (~> 4.1.3) 36 | liquid (~> 2.5.5) 37 | listen (~> 1.3) 38 | maruku (~> 0.7.0) 39 | pygments.rb (~> 0.5.0) 40 | redcarpet (~> 2.3.0) 41 | safe_yaml (~> 0.9.7) 42 | toml (~> 0.1.0) 43 | jekyll-assets (0.7.4) 44 | jekyll (~> 1.0) 45 | sprockets (~> 2.10) 46 | json (1.8.1) 47 | libv8 (3.16.14.3) 48 | liquid (2.5.5) 49 | listen (1.3.1) 50 | rb-fsevent (>= 0.9.3) 51 | rb-inotify (>= 0.9) 52 | rb-kqueue (>= 0.2) 53 | maruku (0.7.1) 54 | minitest (5.3.4) 55 | multi_json (1.10.0) 56 | parslet (1.5.0) 57 | blankslate (~> 2.0) 58 | posix-spawn (0.3.8) 59 | pygments.rb (0.5.4) 60 | posix-spawn (~> 0.3.6) 61 | yajl-ruby (~> 1.1.0) 62 | rack (1.5.2) 63 | rake (10.3.2) 64 | rb-fsevent (0.9.4) 65 | rb-inotify (0.9.3) 66 | ffi (>= 0.5.0) 67 | rb-kqueue (0.2.0) 68 | ffi (>= 0.5.0) 69 | redcarpet (2.3.0) 70 | ref (1.0.5) 71 | safe_yaml (0.9.7) 72 | sass (3.2.19) 73 | sprockets (2.12.1) 74 | hike (~> 1.2) 75 | multi_json (~> 1.0) 76 | rack (~> 1.0) 77 | tilt (~> 1.1, != 1.3.0) 78 | therubyracer (0.12.0) 79 | libv8 (~> 3.16.14.0) 80 | ref 81 | thread_safe (0.3.3) 82 | tilt (1.4.1) 83 | toml (0.1.0) 84 | parslet (~> 1.5.0) 85 | tzinfo (1.1.0) 86 | thread_safe (~> 0.1) 87 | uglifier (2.2.1) 88 | execjs (>= 0.3.0) 89 | multi_json (~> 1.0, >= 1.0.2) 90 | yajl-ruby (1.1.0) 91 | 92 | PLATFORMS 93 | ruby 94 | 95 | DEPENDENCIES 96 | activesupport (~> 4.1) 97 | bootstrap-sass (~> 3.0.3.0)! 98 | dotenv (~> 0.9.0) 99 | font-awesome-sass (~> 4.0.3) 100 | jekyll (~> 1.4.0) 101 | jekyll-assets (~> 0.7.4) 102 | liquid (~> 2.5.3) 103 | maruku (~> 0.7.0) 104 | rake (~> 10.3) 105 | rb-fsevent (~> 0.9.3) 106 | redcarpet (~> 2.3.0) 107 | sass (~> 3.2.12) 108 | therubyracer 109 | uglifier (~> 2.2.1) 110 | -------------------------------------------------------------------------------- /MIT-LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 codehero.co/@codeheroblog 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Codehero Static 2 | 3 | Codehero estático. 4 | 5 | ## Wiki 6 | 7 | Tenemos el Información particular en el [wiki][wiki]. 8 | 9 | ## Detalles de instalación 10 | 11 | Para instalar el blog en su máquina tenemos las instrucciones en un [wiki de instalación][wiki-inst]. 12 | 13 | ## ¿Cómo correr el servidor? 14 | 15 | Hay dos formas que funcionan perfectamente. Nosotros utilizamos un Rake task o el comando natural de Jekyll. 16 | 17 | Para utilizar el rake task: 18 | ```sh 19 | $ rake server 20 | ``` 21 | 22 | Comando de Jekyll 23 | ```sh 24 | $ bundle exec jekyll serve --watch --drafts --limit_posts 15 25 | ``` 26 | 27 | Limitamos los posts para que Jekyll no demore tanto en regenerar el blog. 28 | 29 | ## Contribución 30 | 31 | - Clonar el Repositorio 32 | - Efectuar cambios en repositorio clonado 33 | - Hacer pull-request a master 34 | 35 | Para contribución de entradas dirigete al [wiki de contribución de entradas][wiki-contrib]. 36 | 37 | [wiki]: https://github.com/albertogg/codehero-jekyll/wiki 38 | [wiki-inst]: https://github.com/albertogg/codehero-jekyll/wiki/detalles-de-instalacion.md 39 | [wiki-contrib]: https://github.com/codeheroco/codehero-static/wiki/Contribuci%C3%B3n-de-entradas 40 | -------------------------------------------------------------------------------- /_assets/fonts/bootstrap/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeheroco/codehero-static/49b4200545950b7b6a59a0d2a9853b9dc4b575e5/_assets/fonts/bootstrap/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /_assets/fonts/bootstrap/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeheroco/codehero-static/49b4200545950b7b6a59a0d2a9853b9dc4b575e5/_assets/fonts/bootstrap/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /_assets/fonts/bootstrap/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeheroco/codehero-static/49b4200545950b7b6a59a0d2a9853b9dc4b575e5/_assets/fonts/bootstrap/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /_assets/fonts/font-awesome/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeheroco/codehero-static/49b4200545950b7b6a59a0d2a9853b9dc4b575e5/_assets/fonts/font-awesome/fontawesome-webfont.eot -------------------------------------------------------------------------------- /_assets/fonts/font-awesome/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeheroco/codehero-static/49b4200545950b7b6a59a0d2a9853b9dc4b575e5/_assets/fonts/font-awesome/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /_assets/fonts/font-awesome/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeheroco/codehero-static/49b4200545950b7b6a59a0d2a9853b9dc4b575e5/_assets/fonts/font-awesome/fontawesome-webfont.woff -------------------------------------------------------------------------------- /_assets/images/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeheroco/codehero-static/49b4200545950b7b6a59a0d2a9853b9dc4b575e5/_assets/images/.keep -------------------------------------------------------------------------------- /_assets/javascript/active_link_nav.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function () { 2 | $('a[href="' + this.location.pathname +'"]').parent("li").addClass('active'); 3 | if ($('.post').length) { 4 | $('ul.menu > li:first').addClass('active'); 5 | } else if ($('.wiki').length ){ 6 | $('ul.menu > li').eq([1]).addClass('active'); 7 | } 8 | }); 9 | -------------------------------------------------------------------------------- /_assets/javascript/app.js: -------------------------------------------------------------------------------- 1 | //= require scrollto-top 2 | //= require posts 3 | //= require bootstrap/dropdown 4 | //= require bootstrap/collapse 5 | //= require active_link_nav 6 | //= require twitter-share 7 | //= require google-share 8 | //= require facebook-share 9 | //= require disqus-count 10 | //= require simpleJekyllSearch 11 | //= require prepareSearch 12 | -------------------------------------------------------------------------------- /_assets/javascript/bootstrap/alert.js: -------------------------------------------------------------------------------- 1 | /* ======================================================================== 2 | * Bootstrap: alert.js v3.0.3 3 | * http://getbootstrap.com/javascript/#alerts 4 | * ======================================================================== 5 | * Copyright 2013 Twitter, Inc. 6 | * 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * ======================================================================== */ 19 | 20 | 21 | +function ($) { "use strict"; 22 | 23 | // ALERT CLASS DEFINITION 24 | // ====================== 25 | 26 | var dismiss = '[data-dismiss="alert"]' 27 | var Alert = function (el) { 28 | $(el).on('click', dismiss, this.close) 29 | } 30 | 31 | Alert.prototype.close = function (e) { 32 | var $this = $(this) 33 | var selector = $this.attr('data-target') 34 | 35 | if (!selector) { 36 | selector = $this.attr('href') 37 | selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7 38 | } 39 | 40 | var $parent = $(selector) 41 | 42 | if (e) e.preventDefault() 43 | 44 | if (!$parent.length) { 45 | $parent = $this.hasClass('alert') ? $this : $this.parent() 46 | } 47 | 48 | $parent.trigger(e = $.Event('close.bs.alert')) 49 | 50 | if (e.isDefaultPrevented()) return 51 | 52 | $parent.removeClass('in') 53 | 54 | function removeElement() { 55 | $parent.trigger('closed.bs.alert').remove() 56 | } 57 | 58 | $.support.transition && $parent.hasClass('fade') ? 59 | $parent 60 | .one($.support.transition.end, removeElement) 61 | .emulateTransitionEnd(150) : 62 | removeElement() 63 | } 64 | 65 | 66 | // ALERT PLUGIN DEFINITION 67 | // ======================= 68 | 69 | var old = $.fn.alert 70 | 71 | $.fn.alert = function (option) { 72 | return this.each(function () { 73 | var $this = $(this) 74 | var data = $this.data('bs.alert') 75 | 76 | if (!data) $this.data('bs.alert', (data = new Alert(this))) 77 | if (typeof option == 'string') data[option].call($this) 78 | }) 79 | } 80 | 81 | $.fn.alert.Constructor = Alert 82 | 83 | 84 | // ALERT NO CONFLICT 85 | // ================= 86 | 87 | $.fn.alert.noConflict = function () { 88 | $.fn.alert = old 89 | return this 90 | } 91 | 92 | 93 | // ALERT DATA-API 94 | // ============== 95 | 96 | $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close) 97 | 98 | }(jQuery); 99 | -------------------------------------------------------------------------------- /_assets/javascript/bootstrap/button.js: -------------------------------------------------------------------------------- 1 | /* ======================================================================== 2 | * Bootstrap: button.js v3.0.3 3 | * http://getbootstrap.com/javascript/#buttons 4 | * ======================================================================== 5 | * Copyright 2013 Twitter, Inc. 6 | * 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * ======================================================================== */ 19 | 20 | 21 | +function ($) { "use strict"; 22 | 23 | // BUTTON PUBLIC CLASS DEFINITION 24 | // ============================== 25 | 26 | var Button = function (element, options) { 27 | this.$element = $(element) 28 | this.options = $.extend({}, Button.DEFAULTS, options) 29 | } 30 | 31 | Button.DEFAULTS = { 32 | loadingText: 'loading...' 33 | } 34 | 35 | Button.prototype.setState = function (state) { 36 | var d = 'disabled' 37 | var $el = this.$element 38 | var val = $el.is('input') ? 'val' : 'html' 39 | var data = $el.data() 40 | 41 | state = state + 'Text' 42 | 43 | if (!data.resetText) $el.data('resetText', $el[val]()) 44 | 45 | $el[val](data[state] || this.options[state]) 46 | 47 | // push to event loop to allow forms to submit 48 | setTimeout(function () { 49 | state == 'loadingText' ? 50 | $el.addClass(d).attr(d, d) : 51 | $el.removeClass(d).removeAttr(d); 52 | }, 0) 53 | } 54 | 55 | Button.prototype.toggle = function () { 56 | var $parent = this.$element.closest('[data-toggle="buttons"]') 57 | var changed = true 58 | 59 | if ($parent.length) { 60 | var $input = this.$element.find('input') 61 | if ($input.prop('type') === 'radio') { 62 | // see if clicking on current one 63 | if ($input.prop('checked') && this.$element.hasClass('active')) 64 | changed = false 65 | else 66 | $parent.find('.active').removeClass('active') 67 | } 68 | if (changed) $input.prop('checked', !this.$element.hasClass('active')).trigger('change') 69 | } 70 | 71 | if (changed) this.$element.toggleClass('active') 72 | } 73 | 74 | 75 | // BUTTON PLUGIN DEFINITION 76 | // ======================== 77 | 78 | var old = $.fn.button 79 | 80 | $.fn.button = function (option) { 81 | return this.each(function () { 82 | var $this = $(this) 83 | var data = $this.data('bs.button') 84 | var options = typeof option == 'object' && option 85 | 86 | if (!data) $this.data('bs.button', (data = new Button(this, options))) 87 | 88 | if (option == 'toggle') data.toggle() 89 | else if (option) data.setState(option) 90 | }) 91 | } 92 | 93 | $.fn.button.Constructor = Button 94 | 95 | 96 | // BUTTON NO CONFLICT 97 | // ================== 98 | 99 | $.fn.button.noConflict = function () { 100 | $.fn.button = old 101 | return this 102 | } 103 | 104 | 105 | // BUTTON DATA-API 106 | // =============== 107 | 108 | $(document).on('click.bs.button.data-api', '[data-toggle^=button]', function (e) { 109 | var $btn = $(e.target) 110 | if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn') 111 | $btn.button('toggle') 112 | e.preventDefault() 113 | }) 114 | 115 | }(jQuery); 116 | -------------------------------------------------------------------------------- /_assets/javascript/bootstrap/popover.js: -------------------------------------------------------------------------------- 1 | /* ======================================================================== 2 | * Bootstrap: popover.js v3.0.3 3 | * http://getbootstrap.com/javascript/#popovers 4 | * ======================================================================== 5 | * Copyright 2013 Twitter, Inc. 6 | * 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * ======================================================================== */ 19 | 20 | 21 | +function ($) { "use strict"; 22 | 23 | // POPOVER PUBLIC CLASS DEFINITION 24 | // =============================== 25 | 26 | var Popover = function (element, options) { 27 | this.init('popover', element, options) 28 | } 29 | 30 | if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js') 31 | 32 | Popover.DEFAULTS = $.extend({} , $.fn.tooltip.Constructor.DEFAULTS, { 33 | placement: 'right' 34 | , trigger: 'click' 35 | , content: '' 36 | , template: '

' 37 | }) 38 | 39 | 40 | // NOTE: POPOVER EXTENDS tooltip.js 41 | // ================================ 42 | 43 | Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype) 44 | 45 | Popover.prototype.constructor = Popover 46 | 47 | Popover.prototype.getDefaults = function () { 48 | return Popover.DEFAULTS 49 | } 50 | 51 | Popover.prototype.setContent = function () { 52 | var $tip = this.tip() 53 | var title = this.getTitle() 54 | var content = this.getContent() 55 | 56 | $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title) 57 | $tip.find('.popover-content')[this.options.html ? 'html' : 'text'](content) 58 | 59 | $tip.removeClass('fade top bottom left right in') 60 | 61 | // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do 62 | // this manually by checking the contents. 63 | if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide() 64 | } 65 | 66 | Popover.prototype.hasContent = function () { 67 | return this.getTitle() || this.getContent() 68 | } 69 | 70 | Popover.prototype.getContent = function () { 71 | var $e = this.$element 72 | var o = this.options 73 | 74 | return $e.attr('data-content') 75 | || (typeof o.content == 'function' ? 76 | o.content.call($e[0]) : 77 | o.content) 78 | } 79 | 80 | Popover.prototype.arrow = function () { 81 | return this.$arrow = this.$arrow || this.tip().find('.arrow') 82 | } 83 | 84 | Popover.prototype.tip = function () { 85 | if (!this.$tip) this.$tip = $(this.options.template) 86 | return this.$tip 87 | } 88 | 89 | 90 | // POPOVER PLUGIN DEFINITION 91 | // ========================= 92 | 93 | var old = $.fn.popover 94 | 95 | $.fn.popover = function (option) { 96 | return this.each(function () { 97 | var $this = $(this) 98 | var data = $this.data('bs.popover') 99 | var options = typeof option == 'object' && option 100 | 101 | if (!data) $this.data('bs.popover', (data = new Popover(this, options))) 102 | if (typeof option == 'string') data[option]() 103 | }) 104 | } 105 | 106 | $.fn.popover.Constructor = Popover 107 | 108 | 109 | // POPOVER NO CONFLICT 110 | // =================== 111 | 112 | $.fn.popover.noConflict = function () { 113 | $.fn.popover = old 114 | return this 115 | } 116 | 117 | }(jQuery); 118 | -------------------------------------------------------------------------------- /_assets/javascript/bootstrap/tab.js: -------------------------------------------------------------------------------- 1 | /* ======================================================================== 2 | * Bootstrap: tab.js v3.0.3 3 | * http://getbootstrap.com/javascript/#tabs 4 | * ======================================================================== 5 | * Copyright 2013 Twitter, Inc. 6 | * 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * ======================================================================== */ 19 | 20 | 21 | +function ($) { "use strict"; 22 | 23 | // TAB CLASS DEFINITION 24 | // ==================== 25 | 26 | var Tab = function (element) { 27 | this.element = $(element) 28 | } 29 | 30 | Tab.prototype.show = function () { 31 | var $this = this.element 32 | var $ul = $this.closest('ul:not(.dropdown-menu)') 33 | var selector = $this.data('target') 34 | 35 | if (!selector) { 36 | selector = $this.attr('href') 37 | selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7 38 | } 39 | 40 | if ($this.parent('li').hasClass('active')) return 41 | 42 | var previous = $ul.find('.active:last a')[0] 43 | var e = $.Event('show.bs.tab', { 44 | relatedTarget: previous 45 | }) 46 | 47 | $this.trigger(e) 48 | 49 | if (e.isDefaultPrevented()) return 50 | 51 | var $target = $(selector) 52 | 53 | this.activate($this.parent('li'), $ul) 54 | this.activate($target, $target.parent(), function () { 55 | $this.trigger({ 56 | type: 'shown.bs.tab' 57 | , relatedTarget: previous 58 | }) 59 | }) 60 | } 61 | 62 | Tab.prototype.activate = function (element, container, callback) { 63 | var $active = container.find('> .active') 64 | var transition = callback 65 | && $.support.transition 66 | && $active.hasClass('fade') 67 | 68 | function next() { 69 | $active 70 | .removeClass('active') 71 | .find('> .dropdown-menu > .active') 72 | .removeClass('active') 73 | 74 | element.addClass('active') 75 | 76 | if (transition) { 77 | element[0].offsetWidth // reflow for transition 78 | element.addClass('in') 79 | } else { 80 | element.removeClass('fade') 81 | } 82 | 83 | if (element.parent('.dropdown-menu')) { 84 | element.closest('li.dropdown').addClass('active') 85 | } 86 | 87 | callback && callback() 88 | } 89 | 90 | transition ? 91 | $active 92 | .one($.support.transition.end, next) 93 | .emulateTransitionEnd(150) : 94 | next() 95 | 96 | $active.removeClass('in') 97 | } 98 | 99 | 100 | // TAB PLUGIN DEFINITION 101 | // ===================== 102 | 103 | var old = $.fn.tab 104 | 105 | $.fn.tab = function ( option ) { 106 | return this.each(function () { 107 | var $this = $(this) 108 | var data = $this.data('bs.tab') 109 | 110 | if (!data) $this.data('bs.tab', (data = new Tab(this))) 111 | if (typeof option == 'string') data[option]() 112 | }) 113 | } 114 | 115 | $.fn.tab.Constructor = Tab 116 | 117 | 118 | // TAB NO CONFLICT 119 | // =============== 120 | 121 | $.fn.tab.noConflict = function () { 122 | $.fn.tab = old 123 | return this 124 | } 125 | 126 | 127 | // TAB DATA-API 128 | // ============ 129 | 130 | $(document).on('click.bs.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) { 131 | e.preventDefault() 132 | $(this).tab('show') 133 | }) 134 | 135 | }(jQuery); 136 | -------------------------------------------------------------------------------- /_assets/javascript/bootstrap/transition.js: -------------------------------------------------------------------------------- 1 | /* ======================================================================== 2 | * Bootstrap: transition.js v3.0.3 3 | * http://getbootstrap.com/javascript/#transitions 4 | * ======================================================================== 5 | * Copyright 2013 Twitter, Inc. 6 | * 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * ======================================================================== */ 19 | 20 | 21 | +function ($) { "use strict"; 22 | 23 | // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/) 24 | // ============================================================ 25 | 26 | function transitionEnd() { 27 | var el = document.createElement('bootstrap') 28 | 29 | var transEndEventNames = { 30 | 'WebkitTransition' : 'webkitTransitionEnd' 31 | , 'MozTransition' : 'transitionend' 32 | , 'OTransition' : 'oTransitionEnd otransitionend' 33 | , 'transition' : 'transitionend' 34 | } 35 | 36 | for (var name in transEndEventNames) { 37 | if (el.style[name] !== undefined) { 38 | return { end: transEndEventNames[name] } 39 | } 40 | } 41 | } 42 | 43 | // http://blog.alexmaccaw.com/css-transitions 44 | $.fn.emulateTransitionEnd = function (duration) { 45 | var called = false, $el = this 46 | $(this).one($.support.transition.end, function () { called = true }) 47 | var callback = function () { if (!called) $($el).trigger($.support.transition.end) } 48 | setTimeout(callback, duration) 49 | return this 50 | } 51 | 52 | $(function () { 53 | $.support.transition = transitionEnd() 54 | }) 55 | 56 | }(jQuery); 57 | -------------------------------------------------------------------------------- /_assets/javascript/disqus-count.js: -------------------------------------------------------------------------------- 1 | var disqus_shortname = 'codeheroblog'; 2 | 3 | (function () { 4 | var s = document.createElement('script'); s.async = true; 5 | s.type = 'text/javascript'; 6 | s.src = 'http://' + disqus_shortname + '.disqus.com/count.js'; 7 | (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s); 8 | }()); 9 | -------------------------------------------------------------------------------- /_assets/javascript/facebook-share.js: -------------------------------------------------------------------------------- 1 | (function(d, s, id) { 2 | var js, fjs = d.getElementsByTagName(s)[0]; 3 | if (d.getElementById(id)) return; 4 | js = d.createElement(s); js.id = id; 5 | js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; 6 | fjs.parentNode.insertBefore(js, fjs); 7 | }(document, 'script', 'facebook-jssdk')); 8 | -------------------------------------------------------------------------------- /_assets/javascript/google-share.js: -------------------------------------------------------------------------------- 1 | window.___gcfg = {lang: 'es-419', parsetags: 'onload'}; 2 | 3 | (function() { 4 | var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; 5 | po.src = 'https://apis.google.com/js/plusone.js'; 6 | var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); 7 | })(); 8 | -------------------------------------------------------------------------------- /_assets/javascript/posts.js: -------------------------------------------------------------------------------- 1 | $(function () { 2 | $('#show-post-list').click(function (event) { 3 | $(this).text($(this).text() == 'Mostrar todos' ? 'Ocultar' : 'Mostrar todos'); 4 | event.preventDefault(); 5 | $('.post-ordered-list').toggle(500); 6 | }); 7 | 8 | // Add the tables in posts some sugar 9 | var postTables = $('.post table'); 10 | postTables.wrap('
'); 11 | postTables.addClass('table table-bordered table-striped'); 12 | }); 13 | -------------------------------------------------------------------------------- /_assets/javascript/prepareSearch.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('.search-field').simpleJekyllSearch({ 3 | searchResultsTitle: '

Resultados de búsqueda

', 4 | noResults: '

No se encontraron resultados

', 5 | limit: '20', 6 | template: '
7 |
8 | Article Image 9 |
10 |
11 |

12 | {title} 13 |

14 |

15 | Publicado por {author}, 16 | El {date} 17 |

18 |
19 |
' 20 | }); 21 | }); 22 | -------------------------------------------------------------------------------- /_assets/javascript/scrollto-top.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | var viewPortWidth = $(window).width(); 3 | 4 | $(window).scroll(function(event) { 5 | event.preventDefault(); 6 | if (viewPortWidth > 480) { 7 | if ($(this).scrollTop() > 180) { 8 | $('.scrollTo-top').fadeIn(); 9 | } else { 10 | $('.scrollTo-top').fadeOut(); 11 | } 12 | } 13 | }); 14 | 15 | $('.scrollTo-top').click(function(event) { 16 | $('html, body').animate({scrollTop : 0 }, 600); 17 | event.preventDefault(); 18 | }); 19 | }); 20 | -------------------------------------------------------------------------------- /_assets/javascript/twitter-share.js: -------------------------------------------------------------------------------- 1 | !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs'); 2 | -------------------------------------------------------------------------------- /_assets/stylesheets/_media-queries.scss: -------------------------------------------------------------------------------- 1 | @media (max-width: $screen-xs-min) { 2 | .post { 3 | .video-center-responsive { 4 | margin-top: 12px !important; 5 | margin-bottom: 12px !important; 6 | height: 180px; 7 | } 8 | } 9 | } 10 | 11 | @media (max-width: $screen-sm-min) { 12 | .author-list { 13 | padding-bottom: 10px; 14 | 15 | p { 16 | padding-top: 4px; 17 | text-align: left; 18 | } 19 | 20 | i { 21 | margin-top: 4px; 22 | font-size: 20px; 23 | padding: 0px; 24 | } 25 | 26 | .underline-title { 27 | padding-top: 16px; 28 | text-align: left; 29 | } 30 | } 31 | 32 | img, h1, a, p { 33 | margin: 0 auto; 34 | text-align: center; 35 | } 36 | 37 | .post { 38 | .post-header { 39 | p { 40 | text-align: center; 41 | } 42 | } 43 | 44 | .social-inline { 45 | text-align: left; 46 | } 47 | } 48 | 49 | .series-social { 50 | padding-top: 10px; 51 | text-align: center; 52 | } 53 | } 54 | 55 | @media (max-width: $screen-md-min) { 56 | h1 { 57 | font-size: $font-size-base * 1.7; // ~24px 58 | } 59 | 60 | h2 { 61 | font-size: $font-size-base * 1.25; // ~18px 62 | } 63 | 64 | .post { 65 | padding-top: 6px; 66 | 67 | .no-border-padding { 68 | height: 100px; 69 | } 70 | 71 | .post-header { 72 | p { 73 | font-size: 0.7em; 74 | } 75 | } 76 | 77 | .detalles-tutorial { 78 | li { 79 | display: block; 80 | } 81 | } 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /_assets/stylesheets/_my-bootstrap-vars.scss: -------------------------------------------------------------------------------- 1 | // Custom Codehero Colors 2 | // ------------------------------ 3 | $orange-codehero: rgba(211, 84, 0, 1); 4 | $white-codehero: rgba(255, 255, 255, 1); 5 | $code-bg: rgba(0, 0, 0, 0.04); 6 | $post-link-color: rgba(230, 126, 34, 1); 7 | $article-title-color: rgb(85, 85, 85); 8 | $article-title-hover-color: rgb(25, 193, 195); 9 | $article-font-color: rgb(153, 153, 153); 10 | 11 | // Tamaño de los thumbnails. 12 | // ------------------------------ 13 | $ancho-thumbnail-de-series: 270px; 14 | $alto-thumbnail-de-series: 200px; 15 | $thumbnail-border-radius: 0.75rem; 16 | 17 | // Bootstrap font location. 18 | // ------------------------------ 19 | $navbar-height: 85px; 20 | $icon-font-path: "fonts/bootstrap/"; 21 | $icon-font-name: "glyphicons-halflings-regular"; 22 | 23 | // Import the fonts 24 | @font-face { 25 | font-family: 'Glyphicons Halflings'; 26 | src: url(asset_path('#{$icon-font-path}#{$icon-font-name}.eot')); 27 | src: url(asset_path('#{$icon-font-path}#{$icon-font-name}.eot?#iefix')) format('embedded-opentype'), 28 | url(asset_path('#{$icon-font-path}#{$icon-font-name}.woff')) format('woff'), 29 | url(asset_path('#{$icon-font-path}#{$icon-font-name}.ttf')) format('truetype'), 30 | url(asset_path('#{$icon-font-path}#{$icon-font-name}.svg#glyphicons_halflingsregular')) format('svg'); 31 | } 32 | 33 | // Pagination 34 | // ------------------------- 35 | $pagination-border: $orange-codehero !default; 36 | $pagination-active-bg: $orange-codehero !default; 37 | 38 | -------------------------------------------------------------------------------- /_assets/stylesheets/_my-fontawesome-vars.scss: -------------------------------------------------------------------------------- 1 | // Variables 2 | // -------------------------- 3 | 4 | $fa-font-path: "fonts/font-awesome/"; 5 | $fa-font-name: "fontawesome-webfont"; 6 | $fa-version: "4.0.2"; 7 | 8 | @font-face { 9 | font-family: 'FontAwesome'; 10 | src: url(asset_path('#{$fa-font-path}#{$fa-font-name}.eot?v=#{$fa-version}')); 11 | src: url(asset_path('#{$fa-font-path}#{$fa-font-name}.eot?v=#{$fa-version}#iefix')) format('embedded-opentype'), 12 | url(asset_path('#{$fa-font-path}#{$fa-font-name}.woff?v=#{$fa-version}')) format('woff'), 13 | url(asset_path('#{$fa-font-path}#{$fa-font-name}.ttf?v=#{$fa-version}')) format('truetype'), 14 | url(asset_path('#{$fa-font-path}#{$fa-font-name}.svg?v=#{$fa-version}#fontawesomeregular')) format('svg'); 15 | font-weight: normal; 16 | font-style: normal; 17 | } 18 | -------------------------------------------------------------------------------- /_assets/stylesheets/_posts.scss: -------------------------------------------------------------------------------- 1 | .post { 2 | padding-top: 14px; 3 | 4 | a { 5 | color: $post-link-color; 6 | 7 | &:hover { 8 | color: rgba(230, 126, 34, 0.8); 9 | } 10 | } 11 | 12 | ul { 13 | list-style-type: square; 14 | padding-left: 30px; 15 | } 16 | 17 | code { 18 | padding-top: 0; 19 | padding-bottom: 0; 20 | border: 1px solid #ddd; 21 | } 22 | 23 | img { 24 | @include img-responsive(); 25 | margin: 0 auto; 26 | border: 1px solid #eeeeee; 27 | background: transparent; 28 | padding: 10px 12px; 29 | margin-top: 12px; 30 | margin-bottom: 12px; 31 | } 32 | 33 | .video-center-responsive { 34 | @extend img; 35 | width: 480px; 36 | height: 320px; 37 | } 38 | 39 | p { 40 | text-align: left; 41 | } 42 | 43 | .social-inline { 44 | padding-left: 0; 45 | display: block; 46 | list-style: none; 47 | 48 | li.fb-like.fb_iframe_widget span { 49 | vertical-align: baseline !important; 50 | } 51 | 52 | li { 53 | display: inline; 54 | } 55 | } 56 | 57 | #social-block { 58 | ul { 59 | margin-top: 10px; 60 | } 61 | 62 | li { 63 | display: block !important; 64 | } 65 | } 66 | 67 | .post-header { 68 | h1 { 69 | color: $article-title-color; 70 | } 71 | } 72 | 73 | .no-border-padding { 74 | border: none; 75 | padding: 0; 76 | height: 150px; 77 | border-radius: $thumbnail-border-radius; 78 | } 79 | 80 | .detalles-tutorial { 81 | background-color: #f0f0f0; 82 | margin-top: -21px; 83 | margin-bottom: -22px; 84 | padding-top: 20px; 85 | padding-bottom: 21px; 86 | border-top: 1px solid #ddd; 87 | border-bottom: 1px solid #ddd; 88 | } 89 | 90 | .post-ordered-list { 91 | display: none; 92 | } 93 | 94 | .post-author-thumb { 95 | vertical-align: top; 96 | padding: 0; 97 | border-radius: 0.4rem; 98 | } 99 | } 100 | 101 | .fa-oscuro { 102 | color: black; 103 | font-size: 90px; 104 | 105 | &:hover { 106 | color: inherit; 107 | transition: none; 108 | } 109 | } 110 | -------------------------------------------------------------------------------- /_assets/stylesheets/bootstrap/_alerts.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Alerts 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base styles 7 | // ------------------------- 8 | 9 | .alert { 10 | padding: $alert-padding; 11 | margin-bottom: $line-height-computed; 12 | border: 1px solid transparent; 13 | border-radius: $alert-border-radius; 14 | 15 | // Headings for larger alerts 16 | h4 { 17 | margin-top: 0; 18 | // Specified for the h4 to prevent conflicts of changing $headings-color 19 | color: inherit; 20 | } 21 | // Provide class for links that match alerts 22 | .alert-link { 23 | font-weight: $alert-link-font-weight; 24 | } 25 | 26 | // Improve alignment and spacing of inner content 27 | > p, 28 | > ul { 29 | margin-bottom: 0; 30 | } 31 | > p + p { 32 | margin-top: 5px; 33 | } 34 | } 35 | 36 | // Dismissable alerts 37 | // 38 | // Expand the right padding and account for the close button's positioning. 39 | 40 | .alert-dismissable { 41 | padding-right: ($alert-padding + 20); 42 | 43 | // Adjust close link position 44 | .close { 45 | position: relative; 46 | top: -2px; 47 | right: -21px; 48 | color: inherit; 49 | } 50 | } 51 | 52 | // Alternate styles 53 | // 54 | // Generate contextual modifier classes for colorizing the alert. 55 | 56 | .alert-success { 57 | @include alert-variant($alert-success-bg, $alert-success-border, $alert-success-text); 58 | } 59 | .alert-info { 60 | @include alert-variant($alert-info-bg, $alert-info-border, $alert-info-text); 61 | } 62 | .alert-warning { 63 | @include alert-variant($alert-warning-bg, $alert-warning-border, $alert-warning-text); 64 | } 65 | .alert-danger { 66 | @include alert-variant($alert-danger-bg, $alert-danger-border, $alert-danger-text); 67 | } 68 | -------------------------------------------------------------------------------- /_assets/stylesheets/bootstrap/_badges.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Badges 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base classes 7 | .badge { 8 | display: inline-block; 9 | min-width: 10px; 10 | padding: 3px 7px; 11 | font-size: $font-size-small; 12 | font-weight: $badge-font-weight; 13 | color: $badge-color; 14 | line-height: $badge-line-height; 15 | vertical-align: baseline; 16 | white-space: nowrap; 17 | text-align: center; 18 | background-color: $badge-bg; 19 | border-radius: $badge-border-radius; 20 | 21 | // Empty badges collapse automatically (not available in IE8) 22 | &:empty { 23 | display: none; 24 | } 25 | 26 | // Quick fix for badges in buttons 27 | .btn & { 28 | position: relative; 29 | top: -1px; 30 | } 31 | } 32 | 33 | // Hover state, but only for links 34 | a.badge { 35 | &:hover, 36 | &:focus { 37 | color: $badge-link-hover-color; 38 | text-decoration: none; 39 | cursor: pointer; 40 | } 41 | } 42 | 43 | // Account for counters in navs 44 | a.list-group-item.active > .badge, 45 | .nav-pills > .active > a > .badge { 46 | color: $badge-active-color; 47 | background-color: $badge-active-bg; 48 | } 49 | .nav-pills > li > a > .badge { 50 | margin-left: 3px; 51 | } 52 | -------------------------------------------------------------------------------- /_assets/stylesheets/bootstrap/_bootstrap.scss: -------------------------------------------------------------------------------- 1 | // Core variables and mixins 2 | @import "bootstrap/variables"; 3 | @import "bootstrap/mixins"; 4 | 5 | // Reset 6 | @import "bootstrap/normalize"; 7 | @import "bootstrap/print"; 8 | 9 | // Core CSS 10 | @import "bootstrap/scaffolding"; 11 | @import "bootstrap/type"; 12 | @import "bootstrap/code"; 13 | @import "bootstrap/grid"; 14 | @import "bootstrap/tables"; 15 | @import "bootstrap/forms"; 16 | @import "bootstrap/buttons"; 17 | 18 | // Components 19 | @import "bootstrap/component-animations"; 20 | @import "bootstrap/glyphicons"; 21 | @import "bootstrap/dropdowns"; 22 | @import "bootstrap/button-groups"; 23 | @import "bootstrap/input-groups"; 24 | @import "bootstrap/navs"; 25 | @import "bootstrap/navbar"; 26 | @import "bootstrap/breadcrumbs"; 27 | @import "bootstrap/pagination"; 28 | @import "bootstrap/pager"; 29 | @import "bootstrap/labels"; 30 | @import "bootstrap/badges"; 31 | @import "bootstrap/jumbotron"; 32 | @import "bootstrap/thumbnails"; 33 | @import "bootstrap/alerts"; 34 | @import "bootstrap/progress-bars"; 35 | @import "bootstrap/media"; 36 | @import "bootstrap/list-group"; 37 | @import "bootstrap/panels"; 38 | @import "bootstrap/wells"; 39 | @import "bootstrap/close"; 40 | 41 | // Components w/ JavaScript 42 | @import "bootstrap/modals"; 43 | @import "bootstrap/tooltip"; 44 | @import "bootstrap/popovers"; 45 | @import "bootstrap/carousel"; 46 | 47 | // Utility classes 48 | @import "bootstrap/utilities"; 49 | @import "bootstrap/responsive-utilities"; 50 | -------------------------------------------------------------------------------- /_assets/stylesheets/bootstrap/_breadcrumbs.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Breadcrumbs 3 | // -------------------------------------------------- 4 | 5 | 6 | .breadcrumb { 7 | padding: 8px 15px; 8 | margin-bottom: $line-height-computed; 9 | list-style: none; 10 | background-color: $breadcrumb-bg; 11 | border-radius: $border-radius-base; 12 | > li { 13 | display: inline-block; 14 | + li:before { 15 | content: "#{$breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space 16 | padding: 0 5px; 17 | color: $breadcrumb-color; 18 | } 19 | } 20 | > .active { 21 | color: $breadcrumb-active-color; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /_assets/stylesheets/bootstrap/_close.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Close icons 3 | // -------------------------------------------------- 4 | 5 | 6 | .close { 7 | float: right; 8 | font-size: ($font-size-base * 1.5); 9 | font-weight: $close-font-weight; 10 | line-height: 1; 11 | color: $close-color; 12 | text-shadow: $close-text-shadow; 13 | @include opacity(.2); 14 | 15 | &:hover, 16 | &:focus { 17 | color: $close-color; 18 | text-decoration: none; 19 | cursor: pointer; 20 | @include opacity(.5); 21 | } 22 | 23 | // [converter] extracted button& to button.close 24 | } 25 | 26 | // Additional properties for button version 27 | // iOS requires the button element instead of an anchor tag. 28 | // If you want the anchor version, it requires `href="#"`. 29 | button.close { 30 | padding: 0; 31 | cursor: pointer; 32 | background: transparent; 33 | border: 0; 34 | -webkit-appearance: none; 35 | } 36 | -------------------------------------------------------------------------------- /_assets/stylesheets/bootstrap/_code.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Code (inline and block) 3 | // -------------------------------------------------- 4 | 5 | 6 | // Inline and block code styles 7 | code, 8 | kbd, 9 | pre, 10 | samp { 11 | font-family: $font-family-monospace; 12 | } 13 | 14 | // Inline code 15 | code { 16 | padding: 2px 4px; 17 | font-size: 90%; 18 | color: $code-color; 19 | background-color: $code-bg; 20 | white-space: nowrap; 21 | border-radius: $border-radius-base; 22 | } 23 | 24 | // Blocks of code 25 | pre { 26 | display: block; 27 | padding: (($line-height-computed - 1) / 2); 28 | margin: 0 0 ($line-height-computed / 2); 29 | font-size: ($font-size-base - 1); // 14px to 13px 30 | line-height: $line-height-base; 31 | word-break: break-all; 32 | word-wrap: break-word; 33 | color: $pre-color; 34 | background-color: $pre-bg; 35 | border: 1px solid $pre-border-color; 36 | border-radius: $border-radius-base; 37 | 38 | // Account for some code outputs that place code tags in pre tags 39 | code { 40 | padding: 0; 41 | font-size: inherit; 42 | color: inherit; 43 | white-space: pre-wrap; 44 | background-color: transparent; 45 | border-radius: 0; 46 | } 47 | } 48 | 49 | // Enable scrollable blocks of code 50 | .pre-scrollable { 51 | max-height: $pre-scrollable-max-height; 52 | overflow-y: scroll; 53 | } 54 | -------------------------------------------------------------------------------- /_assets/stylesheets/bootstrap/_component-animations.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Component animations 3 | // -------------------------------------------------- 4 | 5 | // Heads up! 6 | // 7 | // We don't use the `.opacity()` mixin here since it causes a bug with text 8 | // fields in IE7-8. Source: https://github.com/twitter/bootstrap/pull/3552. 9 | 10 | .fade { 11 | opacity: 0; 12 | @include transition(opacity .15s linear); 13 | &.in { 14 | opacity: 1; 15 | } 16 | } 17 | 18 | .collapse { 19 | display: none; 20 | &.in { 21 | display: block; 22 | } 23 | } 24 | .collapsing { 25 | position: relative; 26 | height: 0; 27 | overflow: hidden; 28 | @include transition(height .35s ease); 29 | } 30 | -------------------------------------------------------------------------------- /_assets/stylesheets/bootstrap/_grid.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Grid system 3 | // -------------------------------------------------- 4 | 5 | // Set the container width, and override it for fixed navbars in media queries 6 | .container { 7 | @include container-fixed(); 8 | 9 | @media (min-width: $screen-sm) { 10 | width: $container-sm; 11 | } 12 | @media (min-width: $screen-md) { 13 | width: $container-md; 14 | } 15 | @media (min-width: $screen-lg-min) { 16 | width: $container-lg; 17 | } 18 | } 19 | 20 | // mobile first defaults 21 | .row { 22 | @include make-row(); 23 | } 24 | 25 | // Common styles for small and large grid columns 26 | @include make-grid-columns(); 27 | 28 | 29 | // Extra small grid 30 | // 31 | // Columns, offsets, pushes, and pulls for extra small devices like 32 | // smartphones. 33 | 34 | @include make-grid-columns-float(xs); 35 | @include make-grid($grid-columns, xs, width); 36 | @include make-grid($grid-columns, xs, pull); 37 | @include make-grid($grid-columns, xs, push); 38 | @include make-grid($grid-columns, xs, offset); 39 | 40 | 41 | // Small grid 42 | // 43 | // Columns, offsets, pushes, and pulls for the small device range, from phones 44 | // to tablets. 45 | 46 | @media (min-width: $screen-sm-min) { 47 | @include make-grid-columns-float(sm); 48 | @include make-grid($grid-columns, sm, width); 49 | @include make-grid($grid-columns, sm, pull); 50 | @include make-grid($grid-columns, sm, push); 51 | @include make-grid($grid-columns, sm, offset); 52 | } 53 | 54 | 55 | // Medium grid 56 | // 57 | // Columns, offsets, pushes, and pulls for the desktop device range. 58 | 59 | @media (min-width: $screen-md-min) { 60 | @include make-grid-columns-float(md); 61 | @include make-grid($grid-columns, md, width); 62 | @include make-grid($grid-columns, md, pull); 63 | @include make-grid($grid-columns, md, push); 64 | @include make-grid($grid-columns, md, offset); 65 | } 66 | 67 | 68 | // Large grid 69 | // 70 | // Columns, offsets, pushes, and pulls for the large desktop device range. 71 | 72 | @media (min-width: $screen-lg-min) { 73 | @include make-grid-columns-float(lg); 74 | @include make-grid($grid-columns, lg, width); 75 | @include make-grid($grid-columns, lg, pull); 76 | @include make-grid($grid-columns, lg, push); 77 | @include make-grid($grid-columns, lg, offset); 78 | } 79 | 80 | -------------------------------------------------------------------------------- /_assets/stylesheets/bootstrap/_input-groups.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Input groups 3 | // -------------------------------------------------- 4 | 5 | // Base styles 6 | // ------------------------- 7 | .input-group { 8 | position: relative; // For dropdowns 9 | display: table; 10 | border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table 11 | 12 | // Undo padding and float of grid classes 13 | &[class*="col-"] { 14 | float: none; 15 | padding-left: 0; 16 | padding-right: 0; 17 | } 18 | 19 | .form-control { 20 | width: 100%; 21 | margin-bottom: 0; 22 | } 23 | } 24 | 25 | // Sizing options 26 | // 27 | // Remix the default form control sizing classes into new ones for easier 28 | // manipulation. 29 | 30 | .input-group-lg > .form-control, 31 | .input-group-lg > .input-group-addon, 32 | .input-group-lg > .input-group-btn > .btn { @extend .input-lg; } 33 | .input-group-sm > .form-control, 34 | .input-group-sm > .input-group-addon, 35 | .input-group-sm > .input-group-btn > .btn { @extend .input-sm; } 36 | 37 | 38 | // Display as table-cell 39 | // ------------------------- 40 | .input-group-addon, 41 | .input-group-btn, 42 | .input-group .form-control { 43 | display: table-cell; 44 | 45 | &:not(:first-child):not(:last-child) { 46 | border-radius: 0; 47 | } 48 | } 49 | // Addon and addon wrapper for buttons 50 | .input-group-addon, 51 | .input-group-btn { 52 | width: 1%; 53 | white-space: nowrap; 54 | vertical-align: middle; // Match the inputs 55 | } 56 | 57 | // Text input groups 58 | // ------------------------- 59 | .input-group-addon { 60 | padding: $padding-base-vertical $padding-base-horizontal; 61 | font-size: $font-size-base; 62 | font-weight: normal; 63 | line-height: 1; 64 | color: $input-color; 65 | text-align: center; 66 | background-color: $input-group-addon-bg; 67 | border: 1px solid $input-group-addon-border-color; 68 | border-radius: $border-radius-base; 69 | 70 | // Sizing 71 | &.input-sm { 72 | padding: $padding-small-vertical $padding-small-horizontal; 73 | font-size: $font-size-small; 74 | border-radius: $border-radius-small; 75 | } 76 | &.input-lg { 77 | padding: $padding-large-vertical $padding-large-horizontal; 78 | font-size: $font-size-large; 79 | border-radius: $border-radius-large; 80 | } 81 | 82 | // Nuke default margins from checkboxes and radios to vertically center within. 83 | input[type="radio"], 84 | input[type="checkbox"] { 85 | margin-top: 0; 86 | } 87 | } 88 | 89 | // Reset rounded corners 90 | .input-group .form-control:first-child, 91 | .input-group-addon:first-child, 92 | .input-group-btn:first-child > .btn, 93 | .input-group-btn:first-child > .dropdown-toggle, 94 | .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) { 95 | @include border-right-radius(0); 96 | } 97 | .input-group-addon:first-child { 98 | border-right: 0; 99 | } 100 | .input-group .form-control:last-child, 101 | .input-group-addon:last-child, 102 | .input-group-btn:last-child > .btn, 103 | .input-group-btn:last-child > .dropdown-toggle, 104 | .input-group-btn:first-child > .btn:not(:first-child) { 105 | @include border-left-radius(0); 106 | } 107 | .input-group-addon:last-child { 108 | border-left: 0; 109 | } 110 | 111 | // Button input groups 112 | // ------------------------- 113 | .input-group-btn { 114 | position: relative; 115 | white-space: nowrap; 116 | 117 | // Negative margin to only have a 1px border between the two 118 | &:first-child > .btn { 119 | margin-right: -1px; 120 | } 121 | &:last-child > .btn { 122 | margin-left: -1px; 123 | } 124 | } 125 | .input-group-btn > .btn { 126 | position: relative; 127 | // Jankily prevent input button groups from wrapping 128 | + .btn { 129 | margin-left: -4px; 130 | } 131 | // Bring the "active" button to the front 132 | &:hover, 133 | &:active { 134 | z-index: 2; 135 | } 136 | } 137 | -------------------------------------------------------------------------------- /_assets/stylesheets/bootstrap/_jumbotron.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Jumbotron 3 | // -------------------------------------------------- 4 | 5 | 6 | .jumbotron { 7 | padding: $jumbotron-padding; 8 | margin-bottom: $jumbotron-padding; 9 | font-size: $jumbotron-font-size; 10 | font-weight: 200; 11 | line-height: ($line-height-base * 1.5); 12 | color: $jumbotron-color; 13 | background-color: $jumbotron-bg; 14 | 15 | h1, 16 | .h1 { 17 | line-height: 1; 18 | color: $jumbotron-heading-color; 19 | } 20 | p { 21 | line-height: 1.4; 22 | } 23 | 24 | .container & { 25 | border-radius: $border-radius-large; // Only round corners at higher resolutions if contained in a container 26 | } 27 | 28 | .container { 29 | max-width: 100%; 30 | } 31 | 32 | @media screen and (min-width: $screen-sm-min) { 33 | padding-top: ($jumbotron-padding * 1.6); 34 | padding-bottom: ($jumbotron-padding * 1.6); 35 | 36 | .container & { 37 | padding-left: ($jumbotron-padding * 2); 38 | padding-right: ($jumbotron-padding * 2); 39 | } 40 | 41 | h1, 42 | .h1 { 43 | font-size: ($font-size-base * 4.5); 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /_assets/stylesheets/bootstrap/_labels.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Labels 3 | // -------------------------------------------------- 4 | 5 | .label { 6 | display: inline; 7 | padding: .2em .6em .3em; 8 | font-size: 75%; 9 | font-weight: bold; 10 | line-height: 1; 11 | color: $label-color; 12 | text-align: center; 13 | white-space: nowrap; 14 | vertical-align: baseline; 15 | border-radius: .25em; 16 | 17 | // Add hover effects, but only for links 18 | &[href] { 19 | &:hover, 20 | &:focus { 21 | color: $label-link-hover-color; 22 | text-decoration: none; 23 | cursor: pointer; 24 | } 25 | } 26 | 27 | // Empty labels collapse automatically (not available in IE8) 28 | &:empty { 29 | display: none; 30 | } 31 | 32 | // Quick fix for labels in buttons 33 | .btn & { 34 | position: relative; 35 | top: -1px; 36 | } 37 | } 38 | 39 | // Colors 40 | // Contextual variations (linked labels get darker on :hover) 41 | 42 | .label-default { 43 | @include label-variant($label-default-bg); 44 | } 45 | 46 | .label-primary { 47 | @include label-variant($label-primary-bg); 48 | } 49 | 50 | .label-success { 51 | @include label-variant($label-success-bg); 52 | } 53 | 54 | .label-info { 55 | @include label-variant($label-info-bg); 56 | } 57 | 58 | .label-warning { 59 | @include label-variant($label-warning-bg); 60 | } 61 | 62 | .label-danger { 63 | @include label-variant($label-danger-bg); 64 | } 65 | -------------------------------------------------------------------------------- /_assets/stylesheets/bootstrap/_list-group.scss: -------------------------------------------------------------------------------- 1 | // 2 | // List groups 3 | // -------------------------------------------------- 4 | 5 | // Base class 6 | // 7 | // Easily usable on