create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| # Replace any brackets with real values | |
| # Try to ssh in to DREAMHOST (ensure it no longer asks for a PW); you may want to restart Terminal | |
| ssh [user]@[host] | |
| cd ~ | |
| mkdir [mydomain_com].git | |
| cd [mydomain_com].git | |
| git init --bare | |
| vi hooks/post-receive | |
| # Enter the code from the "post-receive" file (in this gist); save + quit |
| <!doctype html> | |
| <!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
| <html> | |
| <head> | |
| <title>iOS 8 web app</title> | |
| <!-- CONFIGURATION --> |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| #!/bin/bash | |
| logo="$(tput setaf 2) | |
| .~~. .~~. | |
| '. \ ' ' / .'$(tput setaf 1) | |
| .~ .~~~..~. $(tput sgr0) _ _ $(tput setaf 1) | |
| : .~.'~'.~. : $(tput sgr0) ___ ___ ___ ___| |_ ___ ___ ___ _ _ ___|_|$(tput setaf 1) | |
| ~ ( ) ( ) ~ $(tput sgr0) | _| .'|_ -| . | . | -_| _| _| | | | . | |$(tput setaf 1) | |
| ( : '~'.~.'~' : ) $(tput sgr0) |_| |__,|___| _|___|___|_| |_| |_ | | _|_|$(tput setaf 1) | |
| ~ .~ ( ) ~. ~ $(tput sgr0) |_| |___| |_| $(tput setaf 1) |
| import os | |
| from urlparse import urlparse | |
| from flask import Flask | |
| from pymongo import MongoClient | |
| MONGO_URL = os.environ.get('MONGOHQ_URL') | |
| if MONGO_URL: | |
| # Get client | |
| client = MongoClient(MONGO_URL) |
| # ~/.config/fish/config.fish | |
| . ~/.config/fish/fish_prompt.fish | |
| set fish_greeting '' # turn off greeting | |
| function fish_title;end | |
| alias vi 'vim' |
| #!/usr/bin/env ruby | |
| if ARGV[0].nil? || ARGV[0].match(/-h/) | |
| puts "Usage : #{$0} github_username dash_sqlite_db char_appended_to_keyword [no_comments]" | |
| exit | |
| end | |
| require 'net/http' | |
| require 'open-uri' | |
| #require 'awesome_print' |
| function string_to_slug (str) { | |
| str = str.replace(/^\s+|\s+$/g, ''); // trim | |
| str = str.toLowerCase(); | |
| // remove accents, swap ñ for n, etc | |
| var from = "àáäâèéëêìíïîòóöôùúüûñç·/_,:;"; | |
| var to = "aaaaeeeeiiiioooouuuunc------"; | |
| for (var i=0, l=from.length ; i<l ; i++) { | |
| str = str.replace(new RegExp(from.charAt(i), 'g'), to.charAt(i)); | |
| } |