Skip to content

Instantly share code, notes, and snippets.

@briarfox
briarfox / get-ShellistaExt.py
Created June 5, 2014 19:49
get-ShellistaExt.py
'''get-ShellistaExt'''
import urllib2,os,sys,zipfile
def main(line):
'''Gets a file from a link.'''
args = [line,]
if args == None:
return
'''
Simulates a console call to >python -m module|file [args]
Used for running standard library python modules such as:
SimpleHTTPServer, unittest and .py files.
[&] will run the module/file in the background
usage:
python -m module_name [args]
python python_file.py [args]
-- Class EnemyHorde
-- Speed Shooting Earth
-- A freesource game project using Codea and Google Maps
-- More games: xixgames.com
-- by @juaxix
-- 6/6/2012
ENEMY_SPAWN_EASY = 0
ENEMY_SPAWN_HARD = 1
@briarfox
briarfox / 1aTabOrder
Last active December 17, 2015 01:08
AutoGist Release v2.2.8 -AutoGist your Codea projects!
AutoGist Tab Order Version: 2.2.8
------------------------------
This file should not be included in the Codea project.
#Main
#Gist
#Installer
#json
#Base64
#UpdateChecker
#ChangeLog
@briarfox
briarfox / Main.lua
Last active December 17, 2015 05:59
AutoGist Installer
--AutoGist Single Install
--Installer created by @acp edited by @Briarfox
--- This will pull the AutoGist project into Codea for you
-- Instructions:
-- * Create a new project in Codea named AutoGist If you chose another name please change the variable Below
--This is case sensitive
ProjectName = "AutoGist" --Do not change this or else AutoGist will not work
-- * Paste this into the Main (not from the raw view, as iSafari will escape special characters)
-- * Run, run again,
@briarfox
briarfox / Clock.lua
Created May 14, 2013 18:05
StatusBar Release v1.00 -Simple bar that shows fps, time and memory
--Original Code from Jvm38
------CLOCK CLASS
Clock = class()
function Clock:init(x,y)
-- you can accept and set parameters here
--parameter.integer("fpsVisible",0,1,1)
-- you can accept and set parameters here
self.x = x
@briarfox
briarfox / Main.lua
Last active December 17, 2015 08:09
StatusBar AutoInstall
--StatusBar Single Install
--Installer created by @Briarfox
--- This will pull the StatusBar project into Codea for you
-- Instructions:
-- * Create a new project in Codea named test If you chose another name please change the variable Below
--This is case sensitive
ProjectName = "StatusBar"
-- * Paste this into the Main (not from the raw view, as iSafari will escape special characters)
-- * Make sure there is a single tab in the project
@briarfox
briarfox / 1aTabOrder
Created June 12, 2013 22:00
Matrix Release v1.0.0 -Matrix Demos
Matrix Tab Order
------------------------------
This file should not be included in the Codea project.
#Main
#mpilgrem
#Zoyt
#IPad41001
@briarfox
briarfox / Main.lua
Created June 12, 2013 22:00
Matrix AutoInstall
--Matrix Single Install
--Installer created by @Briarfox
--- This will pull the Matrix project into Codea for you
-- Instructions:
-- * Create a new project in Codea named Matrix If you chose another name please change the variable Below
--This is case sensitive
ProjectName = "Matrix"
-- * Paste this into the Main (not from the raw view, as iSafari will escape special characters)
-- * Make sure there is a single tab in the project
@briarfox
briarfox / Main.lua
Created June 17, 2013 20:43
Noob Lander AutoInstall
--Noob Lander Single Install
--Installer created by @Briarfox
--- This will pull the Noob Lander project into Codea for you
-- Instructions:
-- * Create a new project in Codea named Noob Lander If you chose another name please change the variable Below
--This is case sensitive
ProjectName = "Noob Lander"
-- * Paste this into the Main (not from the raw view, as iSafari will escape special characters)
-- * Make sure there is a single tab in the project