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 | |
function! s:FGforBG(bg) | |
" takes a 6hex color code and returns a matching color that is visible | |
let pure = substitute(a:bg,'^#','','') |
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
fun! s:SelectColorS() | |
50vnew | |
setlocal bufhidden=wipe buftype=nofile nonu fdc=0 | |
file ColorSchemeSelector | |
let files = split(glob(expand('~/.vim/colors/').'*')) | |
for file in files | |
let name = matchstr( file , '\w\+\(\.vim\)\@=' ) | |
if strlen(name) > 0 | |
put=name | |
endif |
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
<?php | |
/** | |
* | |
* AppEmailComponent (for Japanese) | |
* | |
* Copyright 2010, nojimage (http://php-tips.com/) | |
* | |
* Licensed under The MIT License | |
* Redistributions of files must retain the above copyright notice. | |
* |
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
# | |
# Titanium mobile Rakefile for iPhone build | |
# | |
DEV_PROVISIONING_UUID = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" | |
DEV_SIGN = "Developer name" | |
DEV_APP_NAME = "DevApp" | |
DEV_APP_ID = 'com.example.dev' | |
TITANIUM_SDK_VERSION = '1.3.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
if has('gui_macvim') && has('kaoriya') | |
let s:ruby_libdir = system("ruby -rrbconfig -e 'print Config::CONFIG[\"libdir\"]'") | |
let s:ruby_libruby = s:ruby_libdir . '/libruby.dylib' | |
if filereadable(s:ruby_libruby) | |
let $RUBY_DLL = s:ruby_libruby | |
endif | |
endif |
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.smarthistory.js | |
* | |
* Copyright (c) 2010 Kazuhito Hokamura | |
* Licensed under the MIT License: | |
* http://www.opensource.org/licenses/mit-license.php | |
* | |
* @author Kazuhito Hokamura (http://webtech-walker.com/) | |
* @version 0.0.1 | |
* |
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
# zaw.zsh source for the elements of the directory stack. | |
# https://github.com/nakamuray/zaw | |
# Thank you very much, nakamuray! | |
zmodload zsh/parameter | |
function zaw-src-dirstack() { | |
: ${(A)candidates::=$dirstack} | |
actions=("zaw-callback-execute" "zaw-callback-replace-buffer" "zaw-callback-append-to-buffer") | |
act_descriptions=("execute" "replace edit buffer" "append to edit buffer") |
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
" こういうHTMLがあったときに | |
" <div id="hoge" class="fuga"> | |
" ... | |
" </div> | |
" | |
" 実行するとこうなる | |
" <div id="hoge" class="fuga"> | |
" ... | |
" </div><!-- /div#hoge.fuga --> |
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
; | |
; Solarized [1] for TeraTerm [2] | |
; | |
; [1] <http://ethanschoonover.com/solarized> | |
; [2] <http://ttssh2.sourceforge.jp/> | |
; | |
; * Add this to your TERATERM.ini | |
; * ANSIColor setting is the same between Solarized Light and Dark, | |
; but you need to choose VTColor and VTReverseColor settings | |
; depending on your flavour (Light or Dark). |
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/sh -- | |
set -e | |
echo "" | |
echo "START POST-MERGE HOOK" | |
echo "" | |
HOOK_DIR=`dirname $0` #git_hooks directory | |
PROC_DIR="$HOOK_DIR/../.." #vimproc directory |
OlderNewer