Skip to content

Instantly share code, notes, and snippets.

Trevor Brown Stratus3D

Block or report user

Report or block Stratus3D

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View download-php.sh
#!/bin/bash
version="7.0.7"
fallback_mirror="http://us1.php.net/get/php-$version.tar.bz2/from/this/mirror"
mirrors=$(curl -s https://secure.php.net/get/php-$version.tar.bz2/from/a/mirror | grep -Eo 'http://.+/from/this/mirror')
country=$(curl -s ipinfo.io | sed -n 's/\s*"country": "\(.\+\)",/\1/p' | tr '[:upper:]' '[:lower:]')
@Stratus3D
Stratus3D / Makefile
Created Jan 21, 2015
Golang Makefile
View Makefile
.PHONY: build doc fmt lint run test vendor_clean vendor_get vendor_update vet
# Prepend our _vendor directory to the system GOPATH
# so that import path resolution will prioritize
# our third party snapshots.
GOPATH := ${PWD}/_vendor:${GOPATH}
export GOPATH
default: build
View proxy.lua
--
-- proxy.lua
-- Adds "propertyUpdate" events to any Corona display object.
--
local m = {}
function m.get_proxy_for( obj )
local t = {}
t.raw = obj
View rules.exs
defmodule Rules do
defmacro __using__(_) do
quote do
import unquote(__MODULE__)
@before_compile unquote(__MODULE__)
@rules []
end
end
# Store each rules in the @rules attribute so we can
You can’t perform that action at this time.