Skip to content

Instantly share code, notes, and snippets.

Steven Troughton-Smith steventroughtonsmith

Block or report user

Report or block steventroughtonsmith

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 modlist
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
View modlist1.2
[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
View Example.c
#include <stdio.h>
int main()
{
printf("Example\n");
}
View DAHeader.c
/*
* Copyright Apple Computer, Inc. 1986, 1987
* All Rights Reserved
*/
extern int OpenDA();
extern int CloseDA();
extern int ActionDA();
extern int InitDA();
@steventroughtonsmith
steventroughtonsmith / Makefile
Created Jan 16, 2015
MPW Rez OS error -1421; "make -i"
View Makefile
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)
View DAEntry.a
***************************************************************************
****
**** DESK ACCESSORY and DEVICE DRIVER Entry Code/Data
****
***************************************************************************
STRING PASCAL
INCLUDE 'Events.a'
INCLUDE 'Devices.a'
@steventroughtonsmith
steventroughtonsmith / Makefile
Created Jan 19, 2015
Pascal:Mac Linker Error
View Makefile
#
# 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 Sep 19, 2015
Load the Apple Watch Companion Settings Bundles into an app
View NanoCompanion.m
//
// 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 Aug 8, 2012
Using Twitter from ComputerCraft
View json
-----------------------------------------------------------------------------
-- 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 Aug 10, 2012
ComputerCraft Twitter Search
View json
-----------------------------------------------------------------------------
-- 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:
You can’t perform that action at this time.