This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
## | |
## CHANGE THESE FOR YOUR NEEDS | |
## | |
APPLE_USER=your@username.here | |
APPLE_PASS=apple-app-specific-password | |
APPNAME="$1" | |
ZIPNAME="$APPNAME.zip" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class GameScene: SKScene { | |
var board = [[CellNode]]() | |
let boardSizeX = 46 | |
let boardSizeY = 25 | |
override func didMove(to view: SKView) { | |
for x in 0...boardSizeX { | |
var nodes = [CellNode]() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// OutlineViewDiffableDataSource.swift | |
// OutlineDiffer | |
// | |
// Created by Steve Sparks on 2/7/20. | |
// | |
import Cocoa | |
class OutlineViewDiffableDataSource: NSObject { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You watch TV and all you see | |
is pain and misery | |
You look for hope and find despair | |
Like poison on the air | |
Can't look away | |
It gets so hard to imagine better days | |
But it seems to me... | |
That a little bit of love, a little bit of tenderness | |
Can bring peace, peace, peace and happiness. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// OrbitalTests.swift | |
// ModelTests | |
// | |
// Created by Steve Sparks on 9/29/18. | |
// Copyright © 2018 SOG. All rights reserved. | |
// | |
import XCTest | |
@testable import Spherey |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Restoration class map is { | |
} | |
Top Level | |
--------- | |
interfaceVersion..................................20 | |
kFirstRespondersKey...............................( | |
"RootViewController/:[0]:/PrimaryStackViewController/:[1]:/FRNavigationController-A7EF5A50-F72A-4323-868F-3D149819B8C7/:[0]:/ArticlePageViewController/:[0]:/ArticleViewController/:[0]:/FlintArticleContentViewController" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ ! -f "$1" ]; then | |
echo "Usage: $0 <input-file>" | |
exit 1 | |
fi | |
BASE=`echo $1 | cut -d . -f 1`; | |
TAIL=`echo $1 | cut -d . -f 2-`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Export Icons | |
# | |
# If you have a square image "bob.png" and you need to rapidly generate the right | |
# icon sizes, and you have ImageMagick installed, this script will do it for you. | |
# The quality suffers at lower sizes, so this is not some sort of production icon | |
# maker. I use it to icon my quick test apps. | |
# | |
# No guarantees, warranties, etc. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// RotationResistantView.h | |
// | |
// Created by Steve Sparks on 1/24/15. | |
// | |
#import <UIKit/UIKit.h> | |
typedef NS_ENUM(NSInteger, RRLayoutAttribute) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original song: http://www.youtube.com/watch?v=nlcIKh6sBtc | |
Instrumental: http://www.youtube.com/watch?v=NPq-HIyTfVE | |
but I love this version: http://www.youtube.com/watch?v=VBmCJEehYtU | |
i've never seen a constant in the flesh | |
Cut my teeth on mem-mapped files, through a proxy | |
and i'm not proud of my address |