$ sudo apt-get update
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
-- | |
-- lua-Spore : <http://fperrad.github.com/lua-Spore/> | |
-- | |
--[[ | |
See http://docs.amazonwebservices.com/AmazonS3/latest/dev/index.html?RESTAuthentication.html | |
]] | |
local pairs = pairs | |
local tostring = tostring |
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
#!/usr/bin/env lua | |
require 'Test.More' | |
if not pcall(require, 'crypto') then | |
skip_all 'no crypto' | |
end | |
plan(14) |
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
{ | |
"manifest_version": 2, | |
"name": "Chrome Socket API Server", | |
"description": "listen & accept for socket", | |
"version": "0.1", | |
"app": { | |
"background": { | |
"scripts": ["server.js"] | |
} | |
}, |
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
# See original post at http://stackoverflow.com/questions/822404/how-to-set-up-cmake-to-build-an-app-for-the-iphone | |
cmake_minimum_required(VERSION 2.8) | |
cmake_policy(SET CMP0015 NEW) | |
cmake_policy(SET CMP0016 NEW) | |
project(test) | |
set(NAME test) |
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
// Require libraries | |
var os = require("os"); | |
var fs = require("fs"); | |
var readline = require("readline"); | |
var cluster = require("cluster"); | |
var express = require("express"); | |
var site = express.createServer(); | |
// Var up, bro | |
var i, read; |
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
local xcCLANG = [ SHELL "xcrun -sdk iphoneos -f clang" ] ; | |
local CLANG = [ MATCH "([^ | |
]*)" : $(xcCLANG) ] ; | |
ECHO "CLANG = $(CLANG)" ; | |
local xcDEVDIR = [ SHELL "xcode-select --print-path" ] ; | |
local DEVDIR = [ MATCH "([^ | |
]*)" : $(xcDEVDIR) ] ; | |
ECHO "DEVDIR = $(DEVDIR)" ; |