This file contains 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
Start it (duh) | |
$ screen | |
Resume it | |
$ screen -r | |
^ = Ctrl | |
Create a new one | |
^ac |
This file contains 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
:syntax enable | |
set et | |
set shiftwidth=4 | |
set tabstop=4 | |
set smarttab | |
set expandtab | |
set ai | |
set background=dark |
This file contains 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
// useful to get names from http://www.imdb.com/search/name?refine=birth_monthday&birth_monthday=1-22&ref_=hm_brn_hd | |
(function () { | |
var $table = $('#main table.results') | |
, csv = "data:text/csv;charset=utf-8," | |
, lines = [['First', 'Last', 'Email', 'Position', 'Company', 'Other']] | |
, link = document.createElement('a') | |
, prepareEmailName | |
, statusesLength = 0 | |
, ticketTypesLength = 0 | |
, urlParameters = {} |
This file contains 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
// Analyzes a contrusctor and creates the array and final function for injection | |
// e.g. | |
ServiceInstance.$inject = ['$rootScope', '$q', 'ServiceA', 'ServiceB']; | |
funciton ServiceInstance($rootScope, $q, Service, ServiceB) | |
{ | |
this.fetch = function () {}; | |
// ... whatever logic |