This file contains 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
{"date":"2013-10-30" , "goal": 3.14} |
This file contains 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
SET EDITOR='C:\Users\mchl\Downloads\portableApps\emacs-24.3\bin\emacsclient.exe' | |
start "C:\Users\mchl\Downloads\portableApps\Console-2.00b148-Beta_32bit\Console2\Console.exe" | |
exit |
This file contains 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
(require 'icicles) | |
(icy-mode 1) | |
(global-set-key (kbd "C-c s") 'icicle-repeat-complex-command) |
This file contains 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
(require 'auto-complete-config) | |
(ac-config-default) | |
(setq-default | |
ac-sources '( | |
ac-source-words-in-all-buffer | |
ac-source-words-in-buffer | |
ac-source-files-in-current-dir | |
) | |
) |
This file contains 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
#r#(url='http://www.mathworks.com/matlabcentral/answers/73938#answer_83863') | |
modprobe dummy | |
ip l set dev dummy0 name eth0 | |
sudo ip link set dev eth0 address 00:1e:37:d9:6c:a3 |
This file contains 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
(require 'icicles) | |
(icy-mode 1) | |
(global-set-key (kbd "C-c s") 'icicle-repeat-complex-command) |
This file contains 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
;r;(url='https://groups.google.com/d/msg/gnu.emacs.help/I2_E_eJxrcc/iwpwMYTleY0J') | |
(defun clipboard-get () | |
"Visit clipboard-temp-file, delete all text in it, yank the X | |
clipboard, delete trailing whitespace, go to beginning of | |
buffer." | |
(interactive) | |
(delete-region (point-min) (point-max)) | |
(clipboard-yank) | |
(delete-trailing-whitespace) | |
(goto-char (point-min))) |
This file contains 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
setq last-search "") | |
(defun gg (searchstring) | |
"git-grep the entire current repo" | |
(cd (replace-regexp-in-string "\n" "" (shell-command-to-string "git rev-parse --show-toplevel"))) | |
(interactive (list (completing-read "Search for: " nil nil nil (concat | |
last-search " -e ")))) | |
(when buffer-file-name (save-buffer)) | |
(call-process "git" nil "*Messages*" nil "add" "- u") | |
(call-process "git" nil "*Messages*" nil "add" "\*.org") | |
(grep-find (concat "git grep -P -n -I -i --full-name --all-match " searchstring)) |
This file contains 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
alias -g p2e='> ~/pipe && emacsclient --create-frame ~/pipe' |
This file contains 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
%r%(url='http://gizmodo.com/5995218/a-cheat-sheet-of-every-single-gmail-keyboard-shortcut') | |
%r%(url='https://support.google.com/mail/answer/6594?hl=en&ctx=mail') | |
Tip: Press ? in Gmail to see a list of keyboard shortcuts. |
NewerOlder