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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE keyboard SYSTEM "file://localhost/System/Library/DTDs/KeyboardLayout.dtd"> | |
<keyboard group="0" id="5000" name="QWERTY no option" maxout="1"> | |
<layouts> | |
<layout first="0" last="0" modifiers="48" mapSet="312" /> | |
</layouts> | |
<modifierMap id="48" defaultIndex="0"> | |
<keyMapSelect mapIndex="0"> | |
<modifier keys="" /> | |
</keyMapSelect> |
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
-- HANDLE SCROLLING | |
-- positive multiplier (== natural scrolling) makes mouse work like traditional scrollwheel | |
local scrollmult = -4 | |
-- mouselog = hs.eventtap.new({'all'}, function(e) | |
-- print("event " .. e:getType()) | |
-- end) | |
-- mouselog:start() | |
-- The were all events logged, when using `{"all"}` |
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
{ | |
"\UF729" = moveToBeginningOfLine:; // home | |
"\UF72B" = moveToEndOfLine:; // end | |
"$\UF729" = moveToBeginningOfLineAndModifySelection:; // shift-home | |
"$\UF72B" = moveToEndOfLineAndModifySelection:; // shift-end | |
} |
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
{ | |
"global": { | |
"ask_for_confirmation_before_quitting": true, | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": false, | |
"show_profile_name_in_menu_bar": false, | |
"unsafe_ui": false | |
}, | |
"profiles": [ | |
{ |
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
#!/bin/bash | |
while getopts "c" opt; do | |
case "$opt" in | |
c) | |
color=1 | |
;; | |
?) | |
exit 1 | |
esac |
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
[Background] | |
Color=44,44,44 | |
Transparency=false | |
[BackgroundIntense] | |
Bold=true | |
Color=44,44,44 | |
Transparency=false | |
[Color0] |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\Default%20Settings] | |
"Colour0"="220,220,205" | |
"Colour1"="220,220,205" | |
"Colour2"="44,44,44" | |
"Colour3"="44,44,44" | |
"Colour4"="44,44,44" | |
"Colour5"="220,220,205" | |
"Colour6"="112,144,128" |
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
if [ "$DISPLAY" ] | |
then | |
xmodmap - <<-EOF | |
! semicolon held movement commands: | |
! j = left | |
! k = down | |
! l = right | |
! i = up | |
! u = home |
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
class Threader | |
def initialize(max_threads = 50) | |
@max_threads = max_threads | |
@wait_queue = Queue.new | |
@tasks = [] | |
@running_tasks = Set.new | |
@done_tasks = Set.new | |
end | |
# Add a task. |
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
#if [ -f ~/.bash_common ]; then | |
# . ~/.bash_common | |
#fi | |
export CLICOLOR=1 | |
export PS1="\[\e[7;32m\]\u\[\e[0m\] \[\e[7;36m\]\w\[\e[27;32m\]\$ \[\e[0m\]" | |
export EDITOR=vim | |
alias ll="ls -lh" |
NewerOlder