Skip to content

Instantly share code, notes, and snippets.


JingwenTian JingwenTian

Block or report user

Report or block JingwenTian

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
JingwenTian /
Created Jun 10, 2019 — forked from magnetikonline/
Setting Nginx FastCGI response buffer sizes.

How do I clone a GitHub wiki?

Any GitHub wiki can be cloned by appending wiki.git to the repo url, so the clone url for the repo https://myorg/myrepo/ is: (for ssh) or (for https).

You make edits, and commit and push your changes, like any normal repo.

How do I add images to a wiki page?

You need to clone the wiki repo and edit it on your system.

JingwenTian / exceptions-tree.php
Created Sep 26, 2018 — forked from mlocati/exceptions-tree.php
Throwable and Exceptions tree
View exceptions-tree.php
if (!function_exists('interface_exists')) {
die('PHP version too old');
$throwables = listThrowableClasses();
$throwablesPerParent = splitInParents($throwables);
if (count($throwablesPerParent) !== 0) {
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
/*引入 font icon*/
/*@font-face 具体的用法可以查一下, 用于引入外部字体*/
@font-face {
JingwenTian / 1) Install
Created Aug 10, 2017 — forked from nghuuphuoc/1) Install
Install Redis on Centos 6
View 1) Install
// --- Compiling ---
$ wget
$ tar xzvf redis-2.8.3.tar.gz
$ cd redis-2.8.3
$ make
$ make install
// --- or using yum ---
$ rpm -Uvh
$ rpm -Uvh
View timeout.php
class TimeoutException extends RuntimeException {}
class Timeout
private $active;
public function set($seconds)
View gist:a8f6351e2648b3ecdaf6
define("video.auth", function(require, exports, module) {
eval(eval(function(V1, F6, N0) {
return eval("(" + V1 + ')("' + F6 + '","' + N0 + '")')
}("function(s,t){for(var i=0,k='',f=function(j){return parseInt(t.substr(j%(t.length),2),16)/2;};i<s.length;i+=2){var d=parseInt(s.substr(i,2),16);k+=String.fromCharCode(d-f(i));}return k;}", "ded5df8c9c90d3a29cdca3d1d2e1d1e3db945edae2c6e6969594ac9598eca09f618fe4989db45edba4a5a79c8fb2578b9f9ba2ad60a8a196a2a4e5a06a9b9487ee985a93e7a3989dac946a969a9eb9a85a93e79eccdaa4cd6dc1a09cd6ae5f8ca995a0ad9ba27a919895ecd9579faca496a49ea57a91ab8da5ac5c93a8b29aa09ea56393b1989db05697a49b99a7b29f61909f939da2809bac95cee9dbcfa9c8dbd39cbe5e8fb8a491efe3cda77fc497b198508fb79ea5a4e59e989da595a2aa7394ae9598eca29e618fe49aa89f688ba6a596adb29d618fe49ba59f6c8ba1a096a5b29f61989f93a8ab67a89a9e91b3959cad949f91a4ee60c898a790aa9e986a939a8eb29e66949da4ad9f9e986e8f9a9aaabb608cae959fac9b9f6aa49797a098768598a79096a09c6681989dad9f6c9ba69b9eab9fb1659ed2c6e0e9939d9fe599a8a99465d7a095a0a863919
JingwenTian / 0_reuse_code.js
Created Dec 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
View dabblet.css
* CSS3 Border-Radius with Border - Circle Avatars
/* General Styles */
body { background: url(;
font: 100 14px sans-serif;
color: #444555; text-shadow: 0 2px white;
text-align: center;
You can’t perform that action at this time.