Skip to content

Instantly share code, notes, and snippets.

View steventroughtonsmith's full-sized avatar

Steven Troughton-Smith steventroughtonsmith

View GitHub Profile
@steventroughtonsmith
steventroughtonsmith / modlist
Last active August 29, 2015 14:01
HCC2 1.0.8
mods:
AM2_1.1.2b.zip
AdditionalPipes2.6.0-BC4.2.1.jar
AdvancedMachines_1.6.4.zip
AdvancedPowerManagement-1.2.85-IC2-1.118.jar
AnimationAPI v1.1.2 mc1.6.4.zip
ArchimedesShips.zip
Atomic-Science-1.1.0.49-core.jar
BetterDungeons207.zip
[mcp] Activating mod mcp
[FML] Activating mod FML
[Forge] Activating mod Forge
[CodeChickenCore] Activating mod CodeChickenCore
[Micdoodlecore] Activating mod Micdoodlecore
[MobiusCore] Activating mod MobiusCore
[NotEnoughItems] Activating mod NotEnoughItems
[PowerCrystalsCore] Activating mod PowerCrystalsCore
[TConstruct-Preloader] Activating mod TConstruct-Preloader
[AppliedEnergistics-Core] Activating mod AppliedEnergistics-Core
@steventroughtonsmith
steventroughtonsmith / Example.c
Created January 15, 2015 19:53
MPW --ram Bug
#include <stdio.h>
int main()
{
printf("Example\n");
}
@steventroughtonsmith
steventroughtonsmith / Makefile
Created January 16, 2015 00:30
MPW Rez OS error -1421; "make -i"
RINCLUDES=/Applications/MPW-GM/Interfaces\&Libraries/Interfaces/RIncludes
SymOptions = -sym Full
SymOpt = $(SymOptions)
COptions = -w 17 -proto strict $(SymOpt) -D OLDROUTINELOCATIONS=0
MrCOptions = $(SymOpt) -D OLDROUTINELOCATIONS=0
all : Sample NativeRezSample
%.o: %.c
mpw SC $< -o $@ $(COptions)
@steventroughtonsmith
steventroughtonsmith / Makefile
Created January 19, 2015 01:42
Pascal:Mac Linker Error
#
# Requires https://github.com/ksherlock/mpw and an
# install of MPW in the emulator's root (~/mpw)
# Uses modern (Xcode) version of Rez
#
# Location of your mpw binary
MPW=~/bin/mpw
RINCLUDES=/Applications/MPW-GM/Interfaces\&Libraries/Interfaces/RIncludes
@steventroughtonsmith
steventroughtonsmith / NanoCompanion.m
Last active September 19, 2015 17:00
Load the Apple Watch Companion Settings Bundles into an app
//
// AppDelegate.m
// NanoCompanion
//
// Created by Steven Troughton-Smith on 13/01/2015.
// Copyright (c) 2015 High Caffeine Content. All rights reserved.
//
#import "AppDelegate.h"
@steventroughtonsmith
steventroughtonsmith / json
Created August 8, 2012 20:30
Using Twitter from ComputerCraft
-----------------------------------------------------------------------------
-- JSON4Lua: JSON encoding / decoding support for the Lua language.
-- json Module.
-- Author: Craig Mason-Jones
-- Homepage: http://json.luaforge.net/
-- Version: 0.9.40
-- This module is released under the MIT License (MIT).
-- Please see LICENCE.txt for details.
--
-- USAGE:
@steventroughtonsmith
steventroughtonsmith / json
Created August 10, 2012 13:24
ComputerCraft Twitter Search
-----------------------------------------------------------------------------
-- JSON4Lua: JSON encoding / decoding support for the Lua language.
-- json Module.
-- Author: Craig Mason-Jones
-- Homepage: http://json.luaforge.net/
-- Version: 0.9.40
-- This module is released under the MIT License (MIT).
-- Please see LICENCE.txt for details.
--
-- USAGE:
@steventroughtonsmith
steventroughtonsmith / stillalive-rpc8e.c
Created August 18, 2012 01:47
Still Alive written in C for the RPC8/e 65el02 CPU in Minecraft
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
#include <peekpoke.h>
#include <time.h>
#include <unistd.h>
#include <fcntl.h>
@steventroughtonsmith
steventroughtonsmith / charts.html
Last active November 1, 2015 16:17
AppleTV App Store Charts US Nov 1 2015
<head><style>table {margin: -10px} img {width: 160px; height:96px; margin: 5px; border-radius: 15px;}</style></head><body bgColor=lightgrey></body><h3> Paid Apps</h3><p><table width="600" bgcolor="lightgrey"><tbody><tr><td width="50">1)</td><td width="160"><p><img src="http://is1.mzstatic.com/image/thumb/Purple69/v4/29/14/9b/29149b9c-4942-6f61-de71-cb4110559126/source/320x192bb.jpg"></p></td><td>$9.99 <a href="https://itunes.apple.com/us/app/beat-sports/id1044337747?mt=8">Beat Sports</a><p>★★★★✩</p></td></tr></tbody></table></p><p><table width="600" bgcolor="#bdbdbd"><tbody><tr><td width="50">2)</td><td width="160"><p><img src="http://is2.mzstatic.com/image/thumb/Purple69/v4/c2/17/7d/c2177d04-ad91-5fc3-1d68-4b378a2ba46b/source/320x192bb.jpg"></p></td><td>$2.99 <a href="https://itunes.apple.com/us/app/simplex-for-plex/id1049324561?mt=8">SimpleX - for Plex</a><p>★★★✩✩</p></td></tr></tbody></table></p><p><table width="600" bgcolor="lightgrey"><tbody><tr><td width="50">3)</td><td width="160"><p><img src="http://