Skip to content

Instantly share code, notes, and snippets.

View jcampbell05's full-sized avatar

James Campbell jcampbell05

View GitHub Profile
@jcampbell05
jcampbell05 / AngleTypes.swift
Created June 23, 2016 15:32
This was the only way I could create units in Swift and mimic a generic number system as well.
//
// AngleTypes.swift
// Sup
//
// Created by James Campbell on 22/12/2015.
// Copyright © 2015 Sup. All rights reserved.
//
// This File defines representations of Degrees and Radians as Type Safe Alogrithm Types
import Foundation
@sarahjeong APIs are like Human Lanaguage.
They are the tools that help us describe an idea and the instructions to realise that idea. Copyrighting APIs would be like banning certain people from using words to describe or action certain things. So if EAT Ltd copyrighted the word "Eat" from being used for all humans who implemented it as a way of communicating ideas about eating to other Humans, then whenever we wanted to discuss eating or even take part in that activity then we would need a new word.
If this continued then soon everyone would end up having to invent whole new collection of words to the point where could you even argue its the same language? Computers are powerful when they inteoperate with APIs just like the way Humans are powerful when they can interoperate with words.
# The Train-Inferno Development Cycle
The continual release focused development cycle.
# Sprints
In the Inferno development cycle the team sets the length of a sprint, this defines how often each train departs. The train is a new version of a product.
For each sprint, the team must decide the tasks they wish to tackle and must process the task category, stage and a fare.
@jcampbell05
jcampbell05 / podfile
Created December 26, 2015 14:33
Sup pod file
platform :ios, '8.0'
use_frameworks!
#UI
pod 'ActionSheetPicker-3.0', '~> 1.5.0'
pod 'BFPaperTableViewCell'
pod 'BFPaperButton'
pod 'KVNProgress'
pod 'SWTableViewCell', '~> 0.3.7'
@jcampbell05
jcampbell05 / WMELite Audio Crash
Created December 9, 2013 17:48
Log From WME Lite For Audio Crash
This file has been truncated, but you can view the full file.
E/ClockAlarmWidget( 5504): [AlarmWidgetIdManager] getListItem() : itemIndex=0, widgetID:1
E/ClockAlarmWidget( 5504): [AlarmWidgetIdManager] getListItem() : ItemIndex exceed ListItemCount. itemIndex=1
E/ClockAlarmWidget( 5504): [AlarmWidgetIdManager] getListItem() : itemIndex=1, widgetID:1
D/ClockAlarmDataProvider( 5504): getAlarm() - too many same ID alarm data. nCount: 0
E/Watchdog( 2265): !@Sync 178
W/HTTPMetricsTransport( 5293): transmit - Aborting metrics transmission because there is no usable connection.;
W/Metrics:BatchTransmitte( 5293): QueuePusher.sendBatches - Batch transmission failed due to no usable connection, re-enqueuing batch;
I/Metrics:BatchTransmitte( 5293): QueuePusher.sendBatches - Partial number of batches sent; 0
I/Metrics:BatchTransmitte( 5293): QueuePusher.sendBatches - Drained batch queue.; Number of batches sent: 0
D/CircleLockScreen( 2265): onRefreshBatteryInfo() showPatteryInfo: true pluggedIn: true batteryLevel: 27