Skip to content

Instantly share code, notes, and snippets.

View qrush's full-sized avatar
🕸️
Making internets

Nick Quaranto qrush

🕸️
Making internets
View GitHub Profile
pickaxemap% git lfs checkout
Git LFS: (1167 of 1860 files) 3.97 GB / 5.82 GB error: git-lfs died of signal 13
pickaxemap% git lfs checkout
Git LFS: (1200 of 1860 files) 4.05 GB / 5.82 GB error: git-lfs died of signal 13
pickaxemap% git lfs checkout
Git LFS: (1234 of 1860 files) 4.17 GB / 5.82 GB error: git-lfs died of signal 13
pickaxemap% git lfs checkout
Git LFS: (1248 of 1860 files) 4.23 GB / 5.82 GB error: git-lfs died of signal 13
pickaxemap% git lfs checkout
Example@0.0.1 /Users/qrush/Dev/react-native-gifted-listview/Examples
├─┬ react-native@0.13.2
│ ├── absolute-path@0.0.0
│ ├─┬ babel@5.8.34
│ │ ├─┬ chokidar@1.3.0
│ │ │ ├─┬ anymatch@1.3.0
│ │ │ │ └─┬ micromatch@2.3.2
│ │ │ │ ├─┬ arr-diff@1.1.0
│ │ │ │ │ ├── arr-flatten@1.0.1
│ │ │ │ │ └── array-slice@0.2.3
https://google-developers.appspot.com/+/demos/signin_demo_basic
lines = File.readlines("/usr/share/dict/american-english")
trumps = lines.select { |line| line =~ /^[a-z]/ }.reject { |line| line =~ /\'/ }.map do |line|
"Trump #{line[0].upcase}#{line[1..-1]}"
end.compact
trumps.shuffle.each { |line| puts line }; nil
@qrush
qrush / security.md
Last active August 29, 2015 14:24
Package manager service surveys. Additions/corrections welcome.
@qrush
qrush / gist:41ce74e34f0f3ca3576b
Created March 24, 2015 15:37
npm install bower
% npm install bower
npm http GET https://registry.npmjs.org/bower
npm http 200 https://registry.npmjs.org/bower
npm http GET https://registry.npmjs.org/bower/-/bower-1.3.12.tgz
npm http 200 https://registry.npmjs.org/bower/-/bower-1.3.12.tgz
npm http GET https://registry.npmjs.org/bower-endpoint-parser
npm http GET https://registry.npmjs.org/bower-config
npm http GET https://registry.npmjs.org/bower-json
npm http GET https://registry.npmjs.org/bower-logger
npm http GET https://registry.npmjs.org/cardinal/0.4.0
% curl -s https://static.rust-lang.org/rustup.sh | sudo sh
rustup: CFG_CURL := /usr/bin/curl (curl 7.37.1 (x86_64-apple-darwin14.0) libcurl/7.37.1 SecureTransport zlib/1.2.5)
rustup: CFG_TAR := /usr/bin/tar (bsdtar 2.8.3 - libarchive 2.8.3)
rustup: CFG_FILE := /usr/bin/file
rustup: CFG_SHA256SUM :=
rustup: CFG_SHASUM := /usr/bin/shasum (5.84)
rustup:
rustup: processing sh args
rustup:
rustup: CFG_PREFIX :=
[master][~/Dev/skyway] git push origin master; git push aqueous master
Counting objects: 3, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 321 bytes | 0 bytes/s, done.
Total 3 (delta 1), reused 0 (delta 0)
To git@github.com:qrush/skyway.git
3a78671..d402f03 master -> master
Counting objects: 3, done.
Delta compression using up to 4 threads.
# http://papaanton.com/setting-up-xcode-6-and-apple-server-4-0-for-continues-integration-with-cocoapods/
export LC_ALL="en_US.UTF-8"
cd YOUR_REPO_NAME_HERE
pod install
class NotificationsController < ApplicationController
def create
if subject = params["subject"]
if subject =~ /succeed/
message = ":+1:"
else
message = ":-1:"
end
message << " #{subject}"