Skip to content

Instantly share code, notes, and snippets.

View rockitude's full-sized avatar

Mike Lipson rockitude

View GitHub Profile
@rockitude
rockitude / urlHandler-lcp
Created July 2, 2014 21:06
URL Handler - Launch Center Pro Action
[list:Type or Paste?|Type URL=googlechrome-x-callback://x-callback-url/open/?url=[prompt]|Paste URL=googlechrome-x-callback://x-callback-url/open/?url=[clipboard]]
@rockitude
rockitude / fantastical-lcp
Created July 2, 2014 21:05
Fantastical Launch Center Pro Action
[list:Fantastical|
Reminder=fantastical2://x-callback-url/parse?reminder=1&sentence=[prompt:New Reminder]|
Event=fantastical2://x-callback-url/parse?reminder=0&sentence=[prompt:New Event]|
New Event at Location=
[list:Location|
Home=fantastical2://x-callback-url/parse?location={{**Address Here**}}|
Parents' House=fantastical2://x-callback-url/parse?location={{**Address Here**}}|
@rockitude
rockitude / EnemyHealth.js
Created June 10, 2014 21:40
Dealing Ranged Damage with Raycasting in Unity 3D
var health = 100;
@rockitude
rockitude / random-building.js
Last active August 29, 2015 14:01
Build a random building from an array of possibilities
var cottage = function(){
console.log("Building a cottage.");
};
var mansion = function(){
console.log("Building a mansion.");
};
var buildings = [cottage, mansion];
@rockitude
rockitude / gist:6957788
Created October 13, 2013 03:24
Corona TableView: My Code
-----------------------------------------------------------------------------------------
--
-- main.lua
--
-----------------------------------------------------------------------------------------
local widget = require "widget"
display.setStatusBar(display.HiddenStatusBar)
local availableSections = {"Intro", "Verse", "Chorus", "Verse", "Chorus", "Interlude", "Breakdown", "Verse", "Chorus", "Outro"}
@rockitude
rockitude / TableView Example
Created October 13, 2013 03:22
Corona SDK: TableView Widget Example Code
--
-- Project: Ch11.3 Widgets -TableView
-- Description:
--
-- Version: 1.0
-- Managed with http://CoronaProjectManager.com
--
-- Copyright 2013 Brian Burton. All Rights Reserved.
--
-- Create 100 rows, and two categories to the tableView: