Skip to content

Instantly share code, notes, and snippets.

View TaylanTatli's full-sized avatar
👋

Taylan Tatlı TaylanTatli

👋
View GitHub Profile
@frenchesco
frenchesco / E-mail Templates.ahk
Created June 26, 2013 00:11
AutoHotkey Text Expansion for the Email Templates by Bea Kylene Jumarang for Smashing Magazine: http://www.smashingmagazine.com/2013/06/20/email-templates-web-designers-developers-pdf-odt-txt/
; ----------------------------------------------------------
; E-MAIL TEMPLATES FOR WEB DESIGNERS AND DEVELOPERS
; Prepared by Bea Kylene Jumarang for Smashing Magazine
; http://www.smashingmagazine.com/2013/06/20/email-templates-web-designers-developers-pdf-odt-txt/
; ----------------------------------------------------------
; Adapted as a Autohotkey script by Marc Gordon
; ----------------------------------------------------------
; Instructions:
; 1) Install Autohotkey.
; 2) Modify the greeting if you want in GetGreeting() below.
@stephenhardy
stephenhardy / git-clearHistory
Created April 26, 2013 22:14
Steps to clear out the history of a git/github repository
-- Remove the history from
rm -rf .git
-- recreate the repos from the current content only
git init
git add .
git commit -m "Initial commit"
-- push to the github remote repos ensuring you overwrite history
git remote add origin [email protected]:<YOUR ACCOUNT>/<YOUR REPOS>.git
@m14t
m14t / fix_github_https_repo.sh
Created July 5, 2012 21:57
Convert HTTPS github clones to use SSH
#/bin/bash
#-- Script to automate https://help.github.com/articles/why-is-git-always-asking-for-my-password
REPO_URL=`git remote -v | grep -m1 '^origin' | sed -Ene's#.*(https://[^[:space:]]*).*#\1#p'`
if [ -z "$REPO_URL" ]; then
echo "-- ERROR: Could not identify Repo url."
echo " It is possible this repo is already using SSH instead of HTTPS."
exit
fi