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
set $mode_location (h) home, (w) work | |
set $location home | |
mode "$mode_location" { | |
bindsym h exec set $location home | |
bindsym w exec set $location work | |
# back to normal: Enter or Escape | |
bindsym Escape mode "default" | |
#bindsym $mod+Shift+s mode "default" | |
} |
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://www.websiteasteroids.com/ | |
(function() { | |
function Asteroids() { | |
if (!window.ASTEROIDS) | |
window.ASTEROIDS = { | |
enemiesKilled: 0 | |
}; | |
function Vector(x, y) { | |
if (typeof x == 'Object') { |
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
--- Actions --- | |
$Copy <M-C> | |
$Cut <M-X> <S-Del> | |
$Delete <Del> <BS> <M-BS> | |
$LRU | |
$Paste <M-V> | |
$Redo <M-S-Z> <A-S-BS> | |
$SearchWeb <A-S-G> | |
$SelectAll <M-A> | |
$Undo <M-Z> |
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
package main | |
import ( | |
"fmt" | |
"log" | |
"net" | |
"net/rpc" | |
"reflect" | |
"github.com/davecgh/go-spew/spew" |
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
[product_form_select_result] | |
Source=content/datatype/result/info/ezoption.tpl | |
MatchFile=content/datatype/result/info/product_form_option.tpl | |
Subdir=templates |
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
#git colors | |
txtgrn='\033[0;32m' # Green | |
txtred='\033[0;31m' # Red | |
txtcyn='\033[0;36m' # Cyan | |
txtblu='\033[0;34m' # Blue | |
bold=$(tput bold) | |
normal=$(tput sgr0) | |
check_git() { | |
local base_dir sub_dir branch |