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
import os | |
import time | |
from socket import * | |
from watchdog.events import FileSystemEventHandler | |
from watchdog.observers import Observer | |
CMD_PORT = 6010 | |
FILE_PORT = 6020 | |
BUFFER = 1024 | |
HOST = '0.0.0.0' # change if other device |
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
Problem Occurred | |
'Launching CocosLuaGame' has encountered a problem. | |
Error occured while notifying runtime to start logic |
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
Browser = require "zombie" | |
username = process.argv[2] | |
password = process.argv[3] | |
message = process.argv[4] | |
browser = new Browser (debug:true, runScripts:false) | |
browser.visit "https://mobile.twitter.com/session/new", -> | |
browser.fill "username", username | |
browser.fill "password", password |
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! neocomplcache#sources#enchantjs_complete#define() | |
return s:source | |
endfunction | |
let s:source = {'name' : 'enchantjs_complete', 'kind' : 'plugin'} | |
function! s:source.initialize() | |
let s:keywords = [] | |
for word in [ | |
\'Event', |
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 express = require('express'); | |
var sys = require('sys'); | |
var oauth = require('oauth'); | |
var app = express.createServer(); | |
var _twitterConsumerKey = "YOURTWITTERCONSUMERKEY"; | |
var _twitterConsumerSecret = "YOURTWITTERCONSUMERSECRET"; | |
function consumer() { |