Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View lijinma's full-sized avatar

金马 lijinma

View GitHub Profile
var obj1 =
[
{
userid: 'james',
status: 'open',
open_count: 2
},
{
@lijinma
lijinma / firewall.sh
Created December 10, 2013 04:16 — forked from x1a0/firewall.sh
#! /bin/bash
# Set the default policies to allow everything while we set up new rules.
# Prevents cutting yourself off when running from remote SSH.
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
# Flush any existing rules, leaving just the defaults
iptables -F
data:text/html, <style type="text/css">#e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div id="e"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("e");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</script>
@lijinma
lijinma / gist:4529198
Created January 14, 2013 10:38
The fix of issue when configuration cairo
Issue:
checking for pixman... no
configure: error: pixman >= 0.10.0 is required
(http://cairographics.org/releases/)
Fix:
Execute this command before you configure Cairo: