Skip to content

Instantly share code, notes, and snippets.

View hilyjiang's full-sized avatar

Hily Jiang hilyjiang

  • Fuzhou, Fujian, CN
View GitHub Profile
@hilyjiang
hilyjiang / sshd.go
Created September 29, 2016 09:00 — forked from jpillora/sshd.go
Go SSH server complete example - Read more here https://blog.gopheracademy.com/go-and-ssh/
// A small SSH daemon providing bash sessions
//
// Server:
// cd my/new/dir/
// #generate server keypair
// ssh-keygen -t rsa
// go get -v .
// go run sshd.go
//
// Client:
@hilyjiang
hilyjiang / gmail_remove_image_proxy.user.js
Last active August 29, 2015 14:25 — forked from oradwell/gmail_remove_image_proxy.user.js
Gmail Image Proxy Disable - Greasemonkey script
// ==UserScript==
// @name Gmail remove gstatic
// @namespace ockcyp/gmail-remove-gstatic
// @version 0.1
// @description Remove gstatic from external image URLs (useful when URLs contain internal domains)
// @author ockcyp
// @grant none
// ==/UserScript==
setTimeout(function() {
// Page is loaded and the div is not already created
<?php
/**
* CIDR.php
*
* Utility Functions for IPv4 ip addresses.
* Supports PHP 5.3+ (32 & 64 bit)
* @author Jonavon Wilcox <jowilcox@vt.edu>
* @revision Carlos Guimarães <cvsguimaraes@gmail.com>
* @version Wed Mar 12 13:00:00 EDT 2014
*/