This file contains hidden or 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 create a local branch that follows a remote branch (two ways): | |
First way (creates the branch that follows the remote branch "origin/master" and switches to it): | |
git checkout -b pull-watch origin/master | |
Second way (just creates the branch): | |
git branch pull-watch origin/master | |
This file contains hidden or 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
Here's the steps to get git bash completion: | |
Put the attached file to some where in your home directory. I usually put it in "~/.bash.d/completions". It can also be downloaded at | |
http://git.kernel.org/?p=git/git.git;a=blob_plain;f=contrib/completion/git-completion.bash;h=89858c237eaca5a5fb7e89d716577c0ef84dd086 . It's actualy located in git's git repository under contrib/completions. | |
But anyways, then just add line | |
source "/Users/luke/.bash.d/completions/git-completion.bash" | |
to your ~/.bash_login . The file part should be different. | |
But that's it. It should autocomplete just about everything (options, branches, you name it). |
This file contains hidden or 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
;; Gist | |
(add-path "site-lisp/gist/") | |
(require 'gist) |
This file contains hidden or 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
CmdUtils.CreateCommand({ | |
name: "delicious-search", | |
icon: "http://delicious.com/favicon.ico", | |
homepage: "http://delicous.com/", | |
author: { name: "Luke Amdor", email: "[email protected]"}, | |
license: "MIT", | |
description: "Searches through your delicous bookmarks", | |
help: "just delicous-search and it will show a list of bookmarks that match", | |
takes: {"tag": noun_arb_text}, | |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<keymap version="1" name="emacs.fixed" parent="Emacs"> | |
<action id="$Copy"> | |
<keyboard-shortcut first-keystroke="meta W" /> | |
</action> | |
<action id="$Redo"> | |
<keyboard-shortcut first-keystroke="shift control Z" /> | |
<keyboard-shortcut first-keystroke="control meta SLASH" /> | |
</action> | |
<action id="$Undo"> |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<keymap version="1" name="emacs.fixed" parent="Emacs"> | |
<action id="$Copy"> | |
<keyboard-shortcut first-keystroke="alt W" /> | |
</action> | |
<action id="$Redo"> | |
<keyboard-shortcut first-keystroke="shift control Z" /> | |
<keyboard-shortcut first-keystroke="control alt SLASH" /> | |
</action> | |
<action id="$SelectAll"> |
This file contains hidden or 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
//dictate that we want to open new urls in a new buffer | |
//rather than in a new frame | |
url_remoting_fn = load_url_in_new_buffer; | |
//set default directory for downloads | |
set_default_directory("/Users/luke/Desktop/Inbox/"); | |
//don't allow a kill-buffer command to kill the last buffer in the window. | |
can_kill_last_buffer = false; | |
This file contains hidden or 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
//dictate that we want to open new urls in a new buffer | |
//rather than in a new frame | |
url_remoting_fn = load_url_in_new_buffer; | |
//set default directory for downloads | |
set_default_directory("/Users/luke/Desktop/Inbox/"); | |
//don't allow a kill-buffer command to kill the last buffer in the window. | |
can_kill_last_buffer = false; | |
This file contains hidden or 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
From 7336d23862c1007f7ffbe9201ac0ef5ef30773ba Mon Sep 17 00:00:00 2001 | |
From: pair9 <[email protected]> | |
Date: Fri, 2 Jan 2009 11:54:09 -0600 | |
Subject: [PATCH] It's provide stupid | |
--- | |
mine/mine-windows.el | 2 +- | |
1 files changed, 1 insertions(+), 1 deletions(-) | |
diff --git a/mine/mine-windows.el b/mine/mine-windows.el |
This file contains hidden or 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
(ns tak) | |
(defn tak [x y z] | |
(let [x (int x) | |
y (int y) | |
z (int z)] | |
(if (<= x y) | |
z | |
(recur (tak (dec x) | |
y z) |
OlderNewer