Skip to content

Instantly share code, notes, and snippets.

View hello
#this is a hello world for python
print('hello world.')
View powershell.profile-back
# import module
Import-Module PSReadLine
# oh-my-posh
# Import-Module posh-git
# Import-Module oh-my-posh
# Set-Prompt
# Set-Theme Agnoster
# Set-Theme tehrob
gccpacman /
Created Sep 2, 2018 — forked from zhiguangwang/
Installing and running shadowsocks on Ubuntu Server

Installing and running shadowsocks on Ubuntu Server

16.10 yakkety and above

  1. Install the the shadowsocks-libev package from apt repository.

     sudo apt update
     sudo apt install shadowsocks-libev
  2. Save ss.json as /etc/shadowsocks-libev/config.json.

View gist:17c13ecacce7d5a6241ba59553a82223
### Keybase proof
I hereby claim:
* I am gccpacman on github.
* I am gccpacman ( on keybase.
* I have a public key ASBUAwG29g2_NdTuWSvP11uUg1Luc0IrYRNH7_bdWKWlZgo
To claim this, I am signing this object:
gccpacman /
Created May 12, 2016 — forked from defunkt/
A list of Gist clients.

Gist Clients

Want to create a Gist from your editor, the command line, or the Services menu? Here's how.

Editor Support

import os
import hash
# content hah
print(‘hello gist tool’)
gccpacman /
Created Apr 29, 2016 — forked from chen206/
# !/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import json
from urlparse import urlparse, parse_qs
import requests
gccpacman /
Created Apr 28, 2016
test mongo db connect
import pymongo
import datetime
client = pymongo.MongoClient("mongodb://localhost/test")
db = client.test_database
post = {
"author": "Mike",
"text": "My first blog post!",
gccpacman / file
Last active May 4, 2016
View file
{"0.43516015155176513":"-----BEGIN PGP PUBLIC KEY BLOCK-----\r\nCharset: UTF-8\r\n\r\nxv8AAABSBAAAAAATCCqGSM49AwEHAgMEcpTUP4SlNFgzs/F2E3wvRUUWYIldngQ/\r\ngaph6dr/52jCagYanEKVLeYurTMV5nFBls6SXl5cEgeQ4RHxiFZIQc3/AAAACDxn\r\naXRodWI+wv8AAACNBBATCAA//wAAAAWCVw8mWv8AAAACiwn/AAAACZC8ThRTFmgd\r\nO/8AAAAFlQgJCgv/AAAAA5YBAv8AAAACmwP/AAAAAp4BAAC2ewD/YqzIoSjzioRa\r\nKCJyYS5dygVs0ApogRp3YaGc8AGyAzIBAONjEpStdftge3wCyUgAXH9oG5+t44L7\r\nyiFBs5WBbLn9zv8AAABWBAAAAAASCCqGSM49AwEHAgMEQE9Lu3kk8wpyi1zVL5Ug\r\nQQCN261Fb5dqxQRjWt5oEN+dgpgjiqpPp5+P+/2FfaJK9gvH9tF6Y7udZHZjrLbF\r\n1wMBCAfC/wAAAG0EGBMIAB//AAAABYJXDyZa/wAAAAmQvE4UUxZoHTv/AAAAApsM\r\nAABpSgD/Xt0ZCSTDoOj0GTMBB99Hr6Uz0pvmg51meyFLa/EHAp0BAKQArj2C4PwO\r\nvmxrOqbH9hLU6DIUIRu/XfQamnEZjs4N\r\n=uoZF\r\n-----END PGP PUBLIC KEY BLOCK-----\r\n","0.1714806222637062":"-----BEGIN PGP PUBLIC KEY BLOCK-----\r\nCharset: UTF-8\r\n\r\nxv8AAABSBAAAAAATCCqGSM49AwEHAgMEcpTUP4SlNFgzs/F2E3wvRUUWYIldngQ/\r\ngaph6dr/52jCagYanEKVLeYurTMV5nFBls6SXl5cEgeQ4RHxiFZIQc3/AAAACDxn\r\naXRodWI+wv8AAACNBBATC
gccpacman / 0_reuse_code.js
Last active Sep 3, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console