Skip to content

Instantly share code, notes, and snippets.

View royletron's full-sized avatar
🛴
scootin'

Darren royletron

🛴
scootin'
View GitHub Profile
@royletron
royletron / api.yaml
Last active November 26, 2015 20:13
Basic API Yaml
swagger: '2.0'
info:
title: Words API
description: Get EasyRead word data!
version: 1.0.0
host: game-test-api.herokuapp.com
schemes:
- https
basePath: /api/v1
produces:
{
"swagger": "2.0",
"info": {
"title": "MyMaths API",
"description": "Get and submit homework/worksheet marks",
"version": "1.0.0"
},
"host": "localhost:4567",
"schemes": [
"https"
@royletron
royletron / Main.lua
Created February 3, 2015 11:54
Flibble AutoInstall
--# Main
--Flibble Single Install
--Installer created by @Briarfox
--- This will pull the Flibble project into Codea for you
-- Instructions:
-- * Create a new project in Codea named Flibble If you chose another name please change the variable Below
--This is case sensitive
ProjectName = "Flibble"
-- * Paste this into the Main (not from the raw view, as iSafari will escape special characters)
@royletron
royletron / 1aTabOrder
Last active April 2, 2018 02:07
Flibble Release v0.2.1 -A 2D game engine based on Flixel with glowing eyes.
Flibble Tab Order Version: 0.2.1
------------------------------
This file should not be included in the Codea project.
#FlbAnim
#FlbButton
#FlbCamera
#FlbController
#FlbRect
#FlbSliderController
#FlbSplitController
@royletron
royletron / 1aTabOrder
Last active August 29, 2015 14:13
Flibble Test Build: v0.0.1 Build: 55
Flibble Tab Order Version: 0.0.1
------------------------------
This file should not be included in the Codea project.
#FlbAnim
#FlbButton
#FlbCamera
#FlbController
#FlbRect
#FlbSliderController
#FlbSplitController
@royletron
royletron / Main.lua
Created January 10, 2015 22:48
Baloon AutoInstall
--# Main
--Baloon Single Install
--Installer created by @Briarfox
--- This will pull the Baloon project into Codea for you
-- Instructions:
-- * Create a new project in Codea named Baloon If you chose another name please change the variable Below
--This is case sensitive
ProjectName = "Baloon"
-- * Paste this into the Main (not from the raw view, as iSafari will escape special characters)
@royletron
royletron / Main.lua
Last active August 29, 2015 14:12
WaterBob
-- Water Bob
-- Use this function to perform your initial setup
local water
local box
function setup()
print("alright let's do this!")
debugDraw = PhysicsDebugDraw()
@royletron
royletron / index.html
Created August 21, 2014 13:50
jsPDF test
<html>
<head>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.11.1-rc2/jquery.min.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jspdf/0.9.0rc1/jspdf.min.js"></script>
</head>
<body>
<a id="button">Hello</a>
</body>
<script>
@royletron
royletron / Instructions.MD
Last active August 29, 2015 14:05
AS3 Interviewee Test

Interview Exercise

The file content.xml represents a piece of content that your application should accept and render. The accepted nodes and their given attributes are as follows

This is the root node used to represent a single activity and will only appear once in the XML file.

<script>
// Include the UserVoice JavaScript SDK (only needed once on a page)
UserVoice=window.UserVoice||[];(function(){var uv=document.createElement('script');uv.type='text/javascript';uv.async=true;uv.src='//widget.uservoice.com/7CG8E4U5kiudcVZQO1KgOg.js';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(uv,s)})();
//
// UserVoice Javascript SDK developer documentation:
// https://www.uservoice.com/o/javascript-sdk
//
// Set colors