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
{ | |
"defaultProfile": "{09dc5eef-6840-4050-ae69-21e55e6a2e62}", | |
"initialRows": 30, | |
"initialCols": 120, | |
"alwaysShowTabs": true, | |
"showTerminalTitleInTitlebar": true, | |
"experimental_showTabsInTitlebar": true, | |
"profiles": [ | |
{ | |
"guid": "{09dc5eef-6840-4050-ae69-21e55e6a2e62}", |
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
import argparse | |
import os | |
import tempfile | |
import autopy | |
import img2pdf | |
def screenshot(top_left, right_bottom, next_page, total_page): | |
rect_size = (right_bottom[0] - top_left[0], right_bottom[1] - top_left[1]) |
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
hs.window.animationDuration = 0 | |
local screenMode = hs.hotkey.modal.new('cmd', 'm') | |
function screenMode:entered() | |
alertUuids = hs.fnutils.imap(hs.screen.allScreens(), function(screen) | |
return hs.alert.show('Move Window', hs.alert.defaultStyle, screen, true) | |
end) | |
end | |
function screenMode:exited() |
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
// This is the personal keymap of Jeremy Cowgar (@jcowgar). It is written for the programmer. | |
#include "atreus.h" | |
#include "action_layer.h" | |
#include "keymap_colemak.h" | |
#define PREVENT_STUCK_MODIFIERS | |
// Each layer gets a name for readability, which is then used in the keymap matrix below. | |
/* #define ALPH 0 */ |
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
#http://superuser.com/questions/479600/how-can-i-prevent-tmux-exiting-with-ctrl-d | |
# 13_01_2016 | |
# this prevents Ctrl-D exiting tmux - only after 3 will it exit | |
# set-environment -g 'IGNOREEOF' 2 | |
set-option -g default-shell /usr/local/bin/zsh | |
set -g mouse on | |
set -g mouse-utf8 on | |
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e; send-keys -M'" |
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
Debugger entered--Lisp error: (args-out-of-range "" 1 0) | |
pcomplete/org-mode/drawer() | |
#[0 "\306!\2053 \nU\203 \207\307\f !\206 | |
\310 T\311 \nV\203. \312\313!\210\314\315\310\"\210 \210\262\207" [pcomplete-expand-before-complete pcomplete-index pcomplete-last pcomplete-command-completion-function pcomplete-command-name-function pcomplete-default-completion-function pcomplete-parse-arguments pcomplete-find-completion-function nil pcomplete-arg message "No completions" throw pcompleted pcomplete-stub] 5 "\n\n(fn)"]() | |
funcall(#[0 "\306!\2053 \nU\203 \207\307\f !\206 | |
\310 T\311 \nV\203. \312\313!\210\314\315\310\"\210 \210\262\207" [pcomplete-expand-before-complete pcomplete-index pcomplete-last pcomplete-command-completion-function pcomplete-command-name-function pcomplete-default-completion-function pcomplete-parse-arguments pcomplete-find-completion-function nil pcomplete-arg message "No completions" throw pcompleted pcomplete-stub] 5 "\n\n(fn)"]) | |
pcomplete-completions() | |
#[0 "\ |
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
# alias | |
[[ -e ~/.alias ]] && emulate sh -c 'source ~/.alias' | |
export LC_ALL=en_US.UTF-8 | |
export LANG=en_US.UTF-8 | |
unsetopt CASE_GLOB # case insensitive | |
unsetopt nomatch # prevent zsh to print an error when no match can be found | |
setopt ignoreeof # ignore EOF ('^D') (i.e. don't log out on it) | |
disable r # disable redo command r |
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
emacs.gist | |
263 '(helm-completing-read-handlers-alist | |
265 ((describe-function . helm-completing-read-symbols) | |
266 (describe-variable . helm-completing-read-symbols) | |
267 (debug-on-entry . helm-completing-read-symbols) | |
268 (find-function . helm-completing-read-symbols) | |
269 (trace-function . helm-completing-read-symbols) | |
270 (trace-function-foreground . helm-completing-read-symbols) | |
271 (trace-function-background . helm-completing-read-symbols) | |
272 (find-tag . helm-completing-read-with-cands-in-buffer) |