create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
# RSpec 2.0 syntax Cheet Sheet by http://ApproachE.com | |
# defining spec within a module will automatically pick Player::MovieList as a 'subject' (see below) | |
module Player | |
describe MovieList, "with optional description" do | |
it "is pending example, so that you can write ones quickly" | |
it "is already working example that we want to suspend from failing temporarily" do | |
pending("working on another feature that temporarily breaks this one") |
# encoding: utf-8 | |
require 'java' | |
module JUC | |
java_import 'java.util.concurrent.Executors' | |
java_import 'java.util.concurrent.TimeUnit' | |
end |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
#!/usr/local/bin/ruby | |
require 'shellwords' | |
args = ARGV | |
size = args.size | |
tab_open = 'tell i term application "System Events" to keystroke "t" using {command down}' | |
v_pane_open = 'tell i term application "System Events" to keystroke "d" using {command down}' | |
h_pane_open = 'tell i term application "System Events" to keystroke "d" using {command down, shift down}' | |
go_left_one_pane = 'tell i term application "System Events" to key code 123 using {command down, option down}' | |
script_builder = Proc.new do |tell, command| |
##Google Interview Questions: Product Marketing Manager
fs.file-max = 1000000
net.ipv4.tcp_max_syn_backlog = 3240000
net.core.somaxconn = 3240000
#!/bin/bash -e | |
USERNAME=$(whoami) | |
sudo /usr/sbin/jamf removeFramework | |
sudo dscl . -mcxdelete /Computers/localhost || echo "No /Computers/localhost" | |
sudo dscl . -mcxdelete /Users/${USERNAME} | |
sudo rm -rf /Users/${USERNAME}/Library/Preferences/com.apple.finder.plist | |
echo "..Done" |
#Feature/Flow
##Git Flow
Here is some good reading on gitflow for the basic concepts:
http://nvie.com/posts/a-successful-git-branching-model/
https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow
/* | |
******************************************************************************** | |
Golang - Asterisk and Ampersand Cheatsheet | |
******************************************************************************** | |
Also available at: https://play.golang.org/p/lNpnS9j1ma | |
Allowed: | |
-------- | |
p := Person{"Steve", 28} stores the value |