This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# /etc/rc.d/init.d/supervisord | |
# | |
# Supervisor is a client/server system that | |
# allows its users to monitor and control a | |
# number of processes on UNIX-like operating | |
# systems. | |
# | |
# chkconfig: - 64 36 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!!! 5 | |
html(lang='en') | |
head | |
meta(charset='utf-8') | |
meta(http-equiv='X-UA-Compatible', content='IE=edge') | |
meta(name='viewport', content='width=device-width, initial-scale=1') | |
meta(name='description', content='') | |
meta(name='author', content='') | |
link(rel='shortcut icon', href='../../assets/ico/favicon.ico') | |
title Blog Template for Bootstrap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require('http'); | |
var httpProxy = require('http-proxy'); | |
var proxy = httpProxy.createProxyServer({}); | |
var cclog = require('cclog'); | |
var fs = require('fs'); | |
var zlib = require('zlib'); | |
var i = 1; | |
http.createServer(function(req, res) { | |
// req.setEncoding('utf-8'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 头文件begin */ | |
#include "main_activity_UninstalledObserverActivity.h" | |
/* 头文件end */ | |
#ifdef __cplusplus | |
extern "C" { | |
#endif | |
/* 内全局变量begin */ | |
static char c_TAG[] = "UninstalledObserverActivity.init"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//// https://github.com/FasterXML/jackson-databind/blob/master/src/main/java/com/fasterxml/jackson/databind/util/ISO8601Utils.java | |
package com.fasterxml.jackson.databind.util; | |
import java.util.*; | |
import java.text.ParsePosition; | |
import java.text.ParseException; | |
/** | |
* Utilities methods for manipulating dates in iso8601 format. This is much much faster and GC friendly than |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;(function() { | |
/* | |
* Author: Gui Lin | |
* guileen AT gmail DOT com | |
*/ | |
function $ (selector, el) { | |
return (el||document).querySelector(selector); | |
} | |
function $$ (selector, el) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 全局变量 | |
*/ | |
var AG_debug = false; | |
var AG_time = 0; | |
var AG_startTime = 0; | |
var AG_running = false; | |
var AG_stages = []; | |
var AG_bufCanvas = null; | |
var AG_bufCtx = null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bufio" | |
"net" | |
) | |
type Client struct { | |
incoming chan string | |
outgoing chan string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bufio" | |
"fmt" | |
"io" | |
"net" | |
) | |
type Client struct { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Text; | |
/// <summary> | |
/// A class for encrypting and decrypting a string into base64 format which makes it safe for transfer | |
/// between applications. | |
/// | |
/// Reference: | |
/// Based upon the javascript implementation of xxtea by: Chris Veness | |
/// www.movable-type.co.uk/tea-block.html |
OlderNewer