(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| FILE SPACING: | |
| # double space a file | |
| sed G | |
| # double space a file which already has blank lines in it. Output file | |
| # should contain no more than one blank line between lines of text. | |
| sed '/^$/d;G' |
| package main | |
| import ( | |
| "fmt" | |
| "labix.org/v2/mgo" | |
| "labix.org/v2/mgo/bson" | |
| "time" | |
| ) | |
| type Person struct { |
| package main | |
| import ( | |
| "fmt" | |
| "reflect" | |
| ) | |
| type Foo struct { | |
| FirstName string `tag_name:"tag 1"` | |
| LastName string `tag_name:"tag 2"` |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
Preferencias del sistema (Dock, Seguridad, Economizador, Ratón, Compartir...)
Navegadores
Firefox (Copy as HTML Link, Firebug, Font Finder, PageSpeed Insights, SearchStatus, Web Developer, YSlow, ¿FireSass, Google Translator?) + preferencias
Chrome ya importa extensiones y preferencias si te logueas (Alexa Traffic Rank, Capturador de Páginas Web, Create Link, Firebug Lite, Pendule, Power Twitter, Resolution Test, SEO Status)
Editores:
| angular | |
| .module 'inspiraApp' | |
| .factory 'DateService', [-> | |
| startStatus: opened: no | |
| endStatus: opened: no | |
| setScope: (scope)-> @scope = scope | |
| getToday: (model)-> | |
| @scope.startDate = @scope.endDate = new Date |
| window.RegularExpression = | |
| number : /^[0-9]+$/ | |
| letters : /^[a-zA-Z_áéíóúñ\s]*$/ | |
| alphanumeric : /^[a-zA-Z0-9]+$/ | |
| latin_letters : /^[a-zA-ZáéíóúàèìòùÀÈÌÒÙÁÉÍÓÚñÑüÜ_\s]+$/ | |
| email : /^[a-zA-Z0-9\._-]+@[a-zA-Z0-9-]{2,}[.][a-zA-Z]{2,4}$/ | |
| password : /^([a-z]+[0-9]+)|([0-9]+[a-z]+)/i | |
| url : /^(ht|f)tps?:\/\/\w+([\.\-\w]+)?\.([a-z]{2,6})?([\.\-\w\/_]+)$/i | |
| localhost : /^http:\/\/(localhost|127\.0\.0\.1)/ | |
| zip_code : /^([1-9]{2}|[0-9][1-9]|[1-9][0-9])[0-9]{3}$/ |
| $default-test-color: #F00; | |
| @mixin test($color: $default-test-color, $type: all) { | |
| @if $type == all { | |
| & , | |
| * { | |
| outline: 1px solid $color; | |
| } | |
| } @else if $type == content { | |
| * { |
| #global module:false | |
| module.exports = (grunt) -> | |
| # Project configuration. | |
| grunt.initConfig | |
| meta: | |
| version: '0.1.0', | |
| banner: '/*!\n * Sapphiriq - v<%= meta.version %> - ' + |
| (($) -> | |
| # WReservation class | |
| ### | |
| Widget for reservation | |
| @param generalContainer Selector String - General scope container | |
| @dependencies jQuery, jQuery ui(Datepicker and autocomplete) | |
| @styles .hidden class | |
| ### | |
| class WReservation | |
| constructor:(@generalContainer)-> |