Skip to content

Instantly share code, notes, and snippets.

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
: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
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
<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";
@tow
tow / a
Created July 22, 2008 13:00
blah blah
and rhubarb
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,
puts 'hello world'
int main()
{
printf("Hpooo");
}
<strong>Hello world</strong>