Skip to content

Instantly share code, notes, and snippets.

View lzto's full-sized avatar
🏝️

Tong Zhang lzto

🏝️
View GitHub Profile
" Vim5 and later versions support syntax highlighting. Uncommenting the next
" line enables syntax highlighting by default.
syntax on
"no compatible
set nocompatible
" If using a dark background within the editing area and syntax highlighting
" turn on this option as well
set background=dark
@lzto
lzto / ida_patcher.c
Created December 26, 2016 19:35 — forked from Zeex/ida_patcher.c
/*
Source for ida_patcher
Copyright (c) 2006 Chris Eagle cseagle at gmail.com
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option)
any later version.
This program is distributed in the hope that it will be useful, but WITHOUT
@lzto
lzto / getsimple
Created April 7, 2016 19:27 — forked from steinkel/getsimple
getsimple cms nginx config file
server {
listen 80; ## listen for ipv4; this line is default and implied
root /var/virtual/www
index index.php;
server_name example.com;
charset utf-8;
access_log off;
location / {