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
#!/usr/bin/env bash | |
##################################################### | |
# Install stow | |
##################################################### | |
p=stow | |
targz=$(curl "http://ftp.gnu.org/gnu/$p/?C=M;O=A" 2>/dev/null| | |
grep ".tar.gz<"|grep "$p"|grep -v "\-doc\-"|tail -n1| | |
awk '{split($0, tmp, "</a>")}{n=split(tmp[1], tmp2, ">")}{print tmp2[n]}') | |
cd ~/tmp |
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
#!/usr/bin/env bash | |
# Settings {{{ | |
TMPDIR=~/tmp | |
INSTALLDIR=$HOME/usr/local | |
STOWDIR=$HOME/usr/local/stow | |
IS_CLEANUP=1 | |
XSTOW_VERSION=1.0.2 |
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
diff --git a/src/ansi.c b/src/ansi.c | |
index d88e153..fc42a0a 100644 | |
--- a/src/ansi.c | |
+++ b/src/ansi.c | |
@@ -1493,8 +1493,24 @@ int c; | |
{ | |
if (curr->w_stringp >= curr->w_string + MAXSTR - 1) | |
curr->w_state = LIT; | |
+# ifdef UTF8 | |
+ else if (c < 0x80) |
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
imap <C-s> <Plug>(neosnippet_expand_or_jump) | |
smap <C-s> <Plug>(neosnippet_expand_or_jump) |
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
small |
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
#!/usr/bin/env python | |
#Copyright (c) 2013 rcmdnk | |
import os | |
import sys | |
import httplib2 | |
from oauth2client.file import Storage | |
from oauth2client.tools import 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
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 |
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
@mixin collapse-sidebar { | |
float: none; | |
width: auto; | |
clear: left; | |
margin: 0; | |
padding: 0 $pad-medium 1px; | |
background-color: lighten($sidebar-bg, 2); | |
border-top: 1px solid lighten($sidebar-border, 4); | |
section { | |
&.odd, &.even { float: left; width: 48%; } |
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
jQuery(function($){ | |
$(document).on('copy', function(e) { | |
var selected = ""; | |
if (typeof window.getSelection != "undefined") { | |
var sel = window.getSelection(); | |
if (sel.rangeCount) { | |
var container = document.createElement("div"); | |
for (var i = 0, len = sel.rangeCount; i < len; ++i) { | |
container.appendChild(sel.getRangeAt(i).cloneContents()); | |
} |
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
# Execution part {{{ | |
_s_is_exec=1 | |
_sf_check_args_first () { # {{{ | |
while [ $# -gt 0 ];do | |
case $1 in | |
"-h"|"-N"|"-m"|"-p"|"-F"|"-v" ) _s_is_exec=2;shift;; | |
"-n" ) _s_is_exec=0;shift;; | |
"-c" ) _SENTAKU_CHILD=1;shift;; | |
* )break;; | |
esac |