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
// Generated on 2013-10-26 using generator-ember 0.7.1 | |
'use strict'; | |
var LIVERELOAD_PORT = 35729; | |
var lrSnippet = require('connect-livereload')({port: LIVERELOAD_PORT}); | |
var mountFolder = function (connect, dir) { | |
return connect.static(require('path').resolve(dir)); | |
}; | |
// # Globbing | |
// for performance reasons we're only matching one level down: |
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 key, obj, res={}, _i, _len; | |
collection = [ | |
{cb:"Adiesel", litros:47}, | |
{cb:"Gasóleo", litros:1008} | |
// etc | |
]; | |
trans = function(collection){ | |
for (_i = 0, _len = collection.length; _i < _len; _i++) { |
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
property = function(){ | |
//Function body | |
}.property() |
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
==> Downloading http://www.webdav.org/neon/neon-0.29.6.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/neon-0.29.6.tar.gz | |
/usr/bin/tar xf /Library/Caches/Homebrew/neon-0.29.6.tar.gz | |
==> ./configure --disable-debug --prefix=/usr/local/Cellar/neon/0.29.6 --enable-shared --disable-static --with-ssl | |
./configure --disable-debug --prefix=/usr/local/Cellar/neon/0.29.6 --enable-shared --disable-static --with-ssl | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking for gcc... cc | |
checking whether the C compiler works... yes | |
checking for C compiler default output file name... a.out | |
checking for suffix of executables... |
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
(def m {:a 1, | |
:c {:a 1, :c {:a 1, :b 2}, :b 2}, | |
:b [2 3], | |
:d [{:a 1, :c 3, :b 2} {:a [1 2 3], :b {:a 1, :b 2}}]}) |
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
- (void) mediaPicker: (MPMediaPickerController *) mediaPicker didPickMediaItems: (MPMediaItemCollection *) mediaItemCollection { | |
[self savePlaylist:mediaItemCollection]; | |
[self dismissModalViewControllerAnimated: YES]; | |
} | |
- (void)savePlaylist:(MPMediaItemCollection *) mediaItemCollection { | |
NSArray* items = [mediaItemCollection items]; | |
NSMutableArray* listToSave = [[NSMutableArray alloc] initWithCapacity:0];= | |
for (MPMediaItem *song in items) { |
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
Failed to execute: pip | |
HOMEBREW_VERSION: 0.9.3 | |
HEAD: 07bfaf64e7edd77009a6956d58e4e0656b78a9d7 | |
CPU: quad-core 64-bit sandybridge | |
OS X: 10.7.5-x86_64 | |
Xcode: 4.5.2 | |
CLT: 1.0.0.9000000000.1.1249367152 | |
X11: 2.7.4 => /opt/X11 |
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
Fabric | |
Django | |
bpython | |
flake8 | |
simplejson |
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
echo "Essential Installs" |
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
-(void)actionRegister:(UIButton *)btn{ | |
//Yes, I know you can use dictionary, but there is a bug in AFNetworking that fails to set parameters from dictionary. So I am doing it manually here. | |
NSString *paramStr = [NSString stringWithFormat: | |
@"firstname=%@" | |
"&lastname=%@" | |
"&email=%@" | |
"&username=%@" | |
"&password=%@", | |
firstname.text, | |
lastname.text, |