This file contains hidden or 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
/// RPC Hashtable Structure | |
/// (byte)0 -> (int) ViewId (combined from actorNr and actor-unique-id) | |
/// (byte)1 -> (short) prefix (level) | |
/// (byte)2 -> (int) server timestamp | |
/// (byte)3 -> (string) methodname | |
/// (byte)4 -> (object[]) parameters | |
/// (byte)5 -> (byte) method shortcut (alternative to name) | |
/// | |
/// This is sent as event (code: 200) which will contain a sender (origin of this RPC). |
This file contains hidden or 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 UnityEngine; | |
using System; | |
using System.Collections.Generic; | |
/// <summary> | |
/// A console that displays the contents of Unity's debug log. | |
/// </summary> | |
/// <remarks> | |
/// Developed by Matthew Miner (www.matthewminer.com) | |
/// Permission is given to use this script however you please with absolutely no restrictions. |
This file contains hidden or 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
# available in /etc/nginx/nginx.conf | |
user www-data; | |
worker_processes 4; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 768; | |
} |
This file contains hidden or 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
//Almost same with my PyEvent | |
// | |
// main.m | |
// CTest | |
// | |
// Created by TSEnel on 13-5-4. | |
// Copyright (c) 2013年 TSEnel. All rights reserved. | |
// | |
#include <iostream> | |
#include <string> |
This file contains hidden or 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
#--- | |
# iPIN - iPhone PNG Images Normalizer v1.0 | |
# Copyright (C) 2007 | |
# | |
# Author: | |
# Axel E. Brzostowski | |
# http://www.axelbrz.com.ar/ | |
# [email protected] | |
# | |
# References: |
This file contains hidden or 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
#!/usr/bin/env python | |
#coding=utf-8 | |
#This uitls can copy srt file to destination folder. | |
#you should install python runtime first. python.2.6 is prefered. | |
# @Atuthor cnsoft 2012-10-05 midnight | |
import os | |
import os.path | |
import shutil |
This file contains hidden or 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://wiki.jenkins-ci.org/display/JENKINS/Xcode+Plugin | |
https://github.com/SICSoftwareGmbH/sicci_for_xcode/issues/5 | |
https://wiki.jenkins-ci.org/display/JENKINS/Plugins#Plugins-iOSdevelopment | |
https://github.com/jenkinsci/testflight-plugin |
This file contains hidden or 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
http://xingqibawiki.sinaapp.com/index.php/Python-category#test | |
#test | |
import web | |
import api | |
urls = ( | |
'/', 'index' | |
) | |
class index: |
This file contains hidden or 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import urllib2 | |
gh_url = 'https://api.github.com' | |
req = urllib2.Request(gh_url) | |
password_manager = urllib2.HTTPPasswordMgrWithDefaultRealm() |
This file contains hidden or 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
1.CentOS 6.3 | |
#yum install make gcc | |
#cd /opt | |
$wget http://redis.googlecode.com/files/redis-2.x.xx.tar.gz | |
$tar zxf redis-2.x.xx.tar.gz | |
$cd redis-2.x.xx | |
$make | |
$make install | |
////// |