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
{ | |
"auto_complete": true, | |
"binary_file_patterns": | |
[ | |
".nyc_*", | |
"dist/*", | |
"node_modules/*", | |
"bower_components/*", | |
"build/*", | |
"report/*", |
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
[push] | |
default = matching | |
[color] | |
ui = auto | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green | |
[color "diff"] | |
meta = yellow bold |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>Blackboard</string> | |
<key>author</key> | |
<string>Domenico Carbotta</string> | |
<key>settings</key> | |
<array> |
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
{ | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Color Scheme - Default/Blackboard Black.tmTheme", | |
"create_window_at_startup": false, | |
"dictionary": "Packages/Language - English/en_GB.dic", | |
"draw_minimap_border": true, | |
"file_exclude_patterns": | |
[ | |
".DS_*", | |
"*.scssc" |
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
NSMutableArray *fullName = [[NSMutableArray alloc] init]; | |
if (_firstName) { | |
[fullName addObject:_firstName]; | |
} | |
if (_middleName) { | |
[fullName addObject:_middleName]; | |
} |
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
define [ | |
'controller/base-controller' | |
], (BCtrl) -> | |
class AppController extends BCtrl | |
@register 'appController', [ | |
'$scope', | |
'$location' | |
] | |
# or (but then big inject deps could get long) |
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
# webm | |
ffmpeg -i IN -f webm -vcodec libvpx -acodec libvorbis -ab 128000 -crf 22 -s 640x360 OUT.webm | |
# mp4 | |
ffmpeg -i IN -acodec libfaac -ac 2 -ab 128k -vcodec libx264 -f mp4 -crf 22 -s 640x360 OUT.mp4 | |
# ogg (if you want to support older Firefox) | |
ffmpeg2theora IN -o OUT.ogv -x 640 -y 360 --videoquality 5 --audioquality 0 --frontend |
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
fs = require 'fs' | |
page = (require 'webpage').create() | |
system = require 'system' | |
base = system.args[1] | |
indexed = [] | |
queue = [] | |
getHTML = () -> | |
tags = document.querySelectorAll 'head script, head style' |
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
var express = require('express'); | |
var fs = require('fs'); | |
var app = express(); | |
var port = 8000; | |
app.configure(function() { | |
app.use(function(request, response, next) { | |
response.header('Access-Control-Allow-Origin', '*'); | |
response.header('Access-Control-Allow-Methods', 'GET,PUT,POST,DELETE,OPTIONS'); |
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
define [ | |
'config' | |
'angular' | |
], (cfg, A) -> | |
ADirective = () -> | |
link: ($scope, $element, $attrs) -> | |
ADirective.$inject = [] |