It gives the commit before develop
and release/
start to differentiate.
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
" To test this file in isolation, | |
" put it in a folder other then ~/, | |
" then run 'vim -u vundle-with-bootstrap.vim'. | |
set nocompatible | |
filetype off | |
" modified bootstrap, originally by John Whitley | |
" https://github.com/jwhitley/vimrc/blob/master/.vim/bootstrap/bundles.vim | |
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
var arr = [ "one", "two", "three", "four", "five" ]; | |
jQuery.each(arr, function(index, value) { | |
console.log(this); | |
return (this != "three"); // will stop running after "three" | |
}); |
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
$("<input/>", { | |
id: "permissionsInput", | |
name: "permissions", | |
type: "checkbox", | |
click: function(){ | |
update(); | |
}, | |
checked: "checked" | |
}).appendTo("#myForm"); |
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
# Using this script downloads ALL the videos in NSScreencast. | |
# Use it wisely, it's extra load/bandwidth for the NSScreencast website. | |
# Usage: `EMAIL=your email PASSWORD=your password END=how many videos should be downloaded? ruby download-nsscreencast.rb` | |
require "mechanize" | |
require "parallel" | |
mechanize = Mechanize.new | |
mechanize.post("https://www.nsscreencast.com/user_sessions", {"email" => ENV["EMAIL"], "password" => ENV["PASSWORD"]}) | |
mechanize.pluggable_parser.default = Mechanize::Download |
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
import Argo | |
let json = [ | |
"urlString": "http://www.example.com", | |
"timestamp": 1433132865, | |
"date": "20150525", | |
"intString": "12345", | |
] | |
struct ExampleModel { |
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
protocol Named: class { | |
var name: String { get set } | |
} | |
class Person: Named { | |
var name: String | |
init(name: String) { | |
self.name = name | |
} |
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
import XCTest | |
import Argo | |
import Runes | |
class SuperClass { | |
let something: String | |
init(something: String) { | |
self.something = something | |
} |
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
" For Vundle, uncomment next line | |
" Plugin 'Lokaltog/vim-easymotion' | |
" easymotion | |
let g:EasyMotion_smartcase = 1 " turn on case insensitive feature | |
let g:EasyMotion_do_mapping = 0 " disable default mappings | |
let g:EasyMotion_use_smartsign_us = 1 " 1 will match 1 and ! | |
let g:EasyMotion_use_upper = 1 | |
let g:EasyMotion_keys = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ;' |
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
#!/bin/sh | |
# "Delete all unavailable devices." | |
xcrun simctl delete unavailable |