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"?> | |
<root> | |
<item> | |
<name>Custom Eject</name> | |
<!-- Install NoEjectDelay for KeyRemap4MacBook --> | |
<!-- add to private.xml in KeyRemap4MacBook --> | |
<item> | |
<name>Eject to F19</name> |
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"?> | |
<root> | |
<item> | |
<name>PC Application Key as Virtual Hyper Key</name> | |
<!-- configure PCKeyboardHack to map Escape to PC Application Key (KeyCode 110) --> | |
<!-- add to private.xml in KeyRemap4MacBook --> | |
<item> | |
<name>Remap F19 to Hyper</name> |
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
! This sets Caps to Escape | |
! Then sets Escape to Hyper | |
! save this file to: /etc/X11/xinit/Xmodmaprc | |
! then call in: /etc/X11/xinit/xinitrc | |
! with: xmodmap /etc/X11/xinit/Xmodmaprc | |
! ASUS UL50V | |
clear Lock |
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
-- create new service in automator | |
-- set input to "no input" instead of "text" | |
-- add new task: run applescript | |
on run {input, parameters} | |
tell application "Finder" | |
activate | |
set new_window to make new Finder window | |
end tell | |
end run |
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
<!-- just testing here, don't ask --> | |
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Simultaneous Shift+Up as New Virtual Modifier Key</name> | |
<!-- configure KeyRemap4MacBook to map a simultaneous Shift+Up to PC Application Key --> | |
<!-- add this to private.xml in KeyRemap4MacBook --> |
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
on run {input, parameters} | |
--version >= 7.99.5 | |
--use "launch application" step instead | |
--tell application "KeyRemap4MacBook" to activate | |
tell application "System Events" | |
--version >= 7.99.5 | |
tell application process "KeyRemap4MacBook" |
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
# Addressable::Template#match | |
# Addressable::Template#variables | |
# {$1} where $1=reqvarname | |
# {$1=$2} where $1=varname & $2=defvalue | |
# {-list|$1|$2,$3} where $1=delim & $2=varname | |
# {-join|$1|$2=$3,$4=$5} where $1=delim & $2=varname & $3=value, etc | |
# {-prefix} | |
# {-suffix} |
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
#=============================== | |
# Search Google | |
#=============================== | |
# using perl for brevity, for pure bash function: | |
# http://stackoverflow.com/questions/296536/urlencode-from-a-bash-script | |
uriescape() { echo $_ | perl -MURI::Escape -lne 'print uri_escape($_)'; } | |
# site-wide codewall search via google | |
ggljoin() { echo "$*" | sed s/\ /+/g } |
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
Yo Dawg! | |
http://bit.ly/11Peo1D |
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
source :rubygems | |
# these really need to be saved in your default gemset | |
group :development, :test do | |
gem "zeus", "~> 0.13.2" | |
gem "guard-titan", "~> 0.0.1", github: "dcunited001/guard-titan" | |
end |
OlderNewer