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
// 複数のリストを区切り文字で連結 | |
// | |
// http://twitter.com/#!/Phize/status/68721136401260544 | |
// http://twitter.com/#!/Phize/status/68721331155386368 | |
// http://twitter.com/#!/Phize/status/68723540031057922 | |
// | |
// <code> | |
// $value-1: 1px 2px 3px #fff; | |
// $value-2: 4px 5px 6px #000; | |
// property: join-lists(($value-1) ($value-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
# Renderman Shading Language | |
# http://twitter.com/Phize/status/122033158265901056 | |
float pblend(float c1; float c2; string mode) { | |
float result = 0.0; | |
float d = 0.0; | |
if (mode == "normal") { | |
result = c2; | |
} |
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
augroup qflist-copen | |
autocmd! | |
autocmd vimrc_autocmd QuickfixCmdPost make,grep,grepadd,vimgrep,vimgrepadd,cscope | |
\ if len(getqflist()) != 0 | copen | endif | |
augroup END | |
augroup loclist-lopen | |
autocmd! | |
autocmd vimrc_autocmd QuickfixCmdPost lmake,lgrep,lgrepadd,lvimgrep,lvimgrepadd,lcscope | |
\ if len(getloclist(0)) != 0 | lopen | endif | |
augroup END |
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
" Vim compiler file | |
" Compiler: HTML Tidy | |
" Maintainer: Doug Kearns <[email protected]> | |
" URL: http://gus.gscit.monash.edu.au/~djkea2/vim/compiler/tidy.vim | |
" Last Change: 2004 Nov 27 | |
" NOTE: set 'tidy_compiler_040800' if you are using the 4th August 2000 release | |
" of HTML Tidy. | |
if exists("current_compiler") |
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
" Vim compiler file | |
" Compiler: PHP | |
" Maintainer: Doug Kearns <[email protected]> | |
" URL: http://gus.gscit.monash.edu.au/~djkea2/vim/compiler/php.vim | |
" Last Change: 2004 Nov 27 | |
if exists("current_compiler") | |
finish | |
endif | |
let current_compiler = "php" |
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('current_compiler') | |
finish | |
endif | |
let current_compiler = 'javascript' | |
if exists(":CompilerSet") != 2 " older Vim always used :setlocal | |
command -nargs=* CompilerSet setlocal <args> | |
endif | |
let s:cpo_save = &cpo |
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('current_compiler') | |
finish | |
endif | |
let current_compiler = 'jshint' | |
if exists(":CompilerSet") != 2 " older Vim always used :setlocal | |
command -nargs=* CompilerSet setlocal <args> | |
endif | |
let s:cpo_save = &cpo |
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('current_compiler') | |
finish | |
endif | |
let current_compiler = 'rhinoed_jslint' | |
if exists(":CompilerSet") != 2 " older Vim always used :setlocal | |
command -nargs=* CompilerSet setlocal <args> | |
endif | |
let s:cpo_save = &cpo |
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('current_compiler') | |
finish | |
endif | |
let current_compiler = 'csslint' | |
if exists(":CompilerSet") != 2 " older Vim always used :setlocal | |
command -nargs=* CompilerSet setlocal <args> | |
endif | |
let s:cpo_save = &cpo |
OlderNewer