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
// ==UserScript== | |
// @name tumblr iphone | |
// @namespace http://relaxedcolumn.blog8.fc2.com/ | |
// @description enable to auto load next page and open reblog window in new tab | |
// @include http://www.tumblr.com/iphone* | |
// ==/UserScript== | |
// | |
// Bookmarklet for iPhone | |
// javascript:({update:500,remain:1000,url:'http://gist.github.com/137617.txt',_:function(d,e){e=d.createElement('script');e.src=this.url+"#"+this.update+","+this.remain;e.charset='utf-8';d.body.appendChild(e)}})._(document) |
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
URxvt.termName: rxvt-256color | |
URxvt.foreground: White | |
URxvt.background: Gray10 | |
URxvt.geometry: 120x38 | |
URxvt.scrollBar: false | |
URxvt.saveLines: 1000 | |
URxvt.font:\ | |
xft:Menlo:style=Normal:size=10:antialias=true,\ | |
xft:Osaka:style=Regular-Mono |
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
" Language: Colored CSS Color Preview | |
" Maintainer: Niklas Hofer <[email protected]> | |
" URL: svn://lanpartei.de/vimrc/after/syntax/css.vim | |
" Last Change: 2008 Feb 12 | |
" Licence: No Warranties. Do whatever you want with this. But please tell me! | |
" Version: 0.6 | |
" Modified Date: 2010 Jan 19 | |
" Original Version: 0.7 | |
" Current Version: 0.7.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/vim/autoload/ref/refe.vim b/vim/autoload/ref/refe.vim | |
index 1daaada..fba0b2f 100755 | |
--- a/vim/autoload/ref/refe.vim | |
+++ b/vim/autoload/ref/refe.vim | |
@@ -50,7 +50,9 @@ endfunction | |
function! ref#refe#complete(query) " {{{2 | |
- return split(system(g:ref_refe_cmd . ' -l -s ' . a:query), "\n") | |
+ let refe_version = matchstr(system(g:ref_refe_cmd . ' --version'), '[0-9.]\+') |
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
URxvt.termName: rxvt-256color | |
URxvt.foreground: White | |
URxvt.background: Gray10 | |
URxvt.geometry: 130x45 | |
URxvt.scrollBar: false | |
URxvt.saveLines: 1000 | |
URxvt.font:\ | |
xft:Inconsolata:style=Medium:size=13:antialias=true,\ | |
xft:Osaka:style=Regular-Mono |
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
#include <stdio.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
void setline(char *s, int n) | |
{ | |
int l = random() % n; | |
int j; | |
for(j = 0; j < l; ++j) { | |
s[j] = 'A' + (random() % 60); |
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
function! MoveCursorWithTmux(vim_dir, tmux_dir) | |
let old_winnr = winnr() | |
execute "normal! \<C-w>" . a:vim_dir | |
" フォーカスがうつってなかったら | |
if old_winnr == winnr() | |
silent call system('tmux select-pane -' . a:tmux_dir) | |
endif | |
endfunction |
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/autoload/unite/kinds/jump_list.vim b/autoload/unite/kinds/jump_list.vim | |
index 15d6603..6c7b494 100644 | |
--- a/autoload/unite/kinds/jump_list.vim | |
+++ b/autoload/unite/kinds/jump_list.vim | |
@@ -61,8 +61,8 @@ let s:kind.action_table.preview = { | |
function! s:kind.action_table.preview.func(candidate)"{{{ | |
execute 'pedit' | |
\ (has_key(a:candidate, 'line') && a:candidate.line != '' ? '+'.a:candidate.line : '') | |
- \ (has_key(a:candidate, 'pattern') && a:candidate.pattern != '' ? '+/'.substitute(escape(a:candidate.pattern, '\. ', 'g'), '[\[\]~/^$]', '\\\\\0', 'g') : '') | |
- \ '`=a:candidate.word`' |
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 exists("g:loaded_nerdtree_unite_filerec") | |
finish | |
endif | |
let g:loaded_nerdtree_unite_filerec = 1 | |
if !exists(':Unite') | |
echoerr 'This plugin requires unite.vim' | |
finish | |
endif |