Discover gists
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 v:lang =~ "utf8$" || v:lang =~ "UTF-8$" | |
set fileencodings=utf-8,latin1 | |
endif | |
set nocompatible " Use Vim defaults (much better!) | |
set bs=2 " allow backspacing over everything in insert mode | |
"set ai " always set autoindenting on | |
"set backup " keep a backup file | |
set viminfo='20,\"50 " read/write a .viminfo file, don't store more | |
" than 50 lines of registers |
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
:set nocompatible | |
:set autoindent | |
:set sw=2 | |
set encoding=utf8 | |
set fileencoding=utf8 | |
set filetype=on | |
au BufRead,BufNewFile *.htm, *.html, *.rhtm, *.rhtml, *.erb so /Users/dramsay/.vim/syntax/html.vim | |
au BufNewFile,BufRead *.yaml,*.yml so ~/.vim/syntax/yaml.vim | |
:syntax on |
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
require 'rubygems' | |
require 'irb/completion' | |
require 'map_by_method' | |
require 'what_methods' | |
require 'pp' | |
IRB.conf[:AUTO_INDENT]=true | |
#require 'wirble' | |
# start wirble (with color) | |
#Wirble.init |
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
<script> | |
var amzn_wdgt= {templateId:"8002",marketPlace:"US",serviceVersion:"20070822"}; | |
amzn_wdgt.cols=1; | |
amzn_wdgt.width="160"; | |
amzn_wdgt.rows=4; | |
amzn_wdgt.theme_version="0"; | |
amzn_wdgt.text_color="#CC6600"; | |
amzn_wdgt.category=null; | |
amzn_wdgt.show_image=true; | |
amzn_wdgt.price_color="#999999"; |
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
blah blah | |
and rhubarb |
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
RCKey* | |
retrieveDataKey (DevMediaInfo *pDevMediaInfo, char *psPKCS12FileName, char *psPassword, byte aDataKeyIndex[]) | |
{ | |
int a = 0, i = 0; | |
printf("devType: %d,serial:%s, NodeName:%s, mediaIdentifier:%s, pkcs12file:%s, pwd: %s", | |
pDevMediaInfo->devType, | |
pDevMediaInfo->serialNumber, | |
pDevMediaInfo->wordwideNodename, | |
pDevMediaInfo->mediaIdentifier, | |
psPKCS12FileName, |
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
test |
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
puts 'hello world' |
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
int main() | |
{ | |
printf("Hpooo"); | |
} |
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
<strong>Hello world</strong> |