Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

vvtommy

🎯
Focusing
View GitHub Profile
View markdown_example.md

首先声名,这并不是一份完整的[Markdown][1]的语法介绍,需要看完整的介绍请点击[Markdown Syntax Documentation][2]。

本文的Markdown源代码可以至后台编辑文章进行查看,文章结尾也将以源代码的形式贴出

段落

一个段落是由一个或多个连续的行构成,段落间靠一个或以上视觉上的空行划分。一般的段落不应该用空格或制表符缩进

这是一个段落。它有两个句子。
@vvtommy
vvtommy / gist_usage_example.js
Created Dec 3, 2012
介绍Wordpress Gist插件所做的实例
View gist_usage_example.js
/**
* debug function
* dumps out objects
* @param {object} obj object that needs to bee printed to the log
* @return {string}
*/function dump(obj) {
var out = '';
for (var i in obj) {
out += i + ": " + obj[i] + "\n";
}
@vvtommy
vvtommy / openvpn_pam_initialie_tables.sql
Created Dec 2, 2012
pam_mysql进行OpenVPN认证的表结构
View openvpn_pam_initialie_tables.sql
-- 创建数据库
CREATE DATABASE openvpn;
-- 切换数据库
USE openvpn;
-- 创建用户,用户名openvpn,密码openvpn(可自行设定)
GRANT ALL ON openvpn.* TO 'openvpn'@'localhost' IDENTIFIED BY 'openvpn';
-- 创建用户数据表
@vvtommy
vvtommy / document_write_foo.js
Created Nov 30, 2012
测试IE下一个错误
View document_write_foo.js
document.write('foo');
@vvtommy
vvtommy / 3-1-2012_14_39_51.log
Created Mar 1, 2012
evernote error log on Chrome 19.0.1055.1 dev-m (Windows)
View 3-1-2012_14_39_51.log
03/01/2012 14:39:53.441 0800 [DEBUG] [ChromePopup] Initializing...
03/01/2012 14:39:53.448 0800 [DEBUG] [ChromePopup] Popup.initOptions
03/01/2012 14:39:53.456 0800 [EXCEPTION] [popupHtml]
extensions/schema_generated_bindings.js:60: Uncaught Error: Invalid value for argument 1. Expected 'string' but got 'object'.
@vvtommy
vvtommy / LICENSE.txt
Created Jan 21, 2012 — forked from p01/LICENSE.txt
Sudoku Solver in 140bytes
View LICENSE.txt
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Mathieu 'p01' Henri - http://www.p01.org/releases/
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE