Skip to content

Instantly share code, notes, and snippets.

🕶
Encrypting Bits

Richard Stelling rjstelling

🕶
Encrypting Bits
Block or report user

Report or block rjstelling

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
@rjstelling
rjstelling / xmas-cracker-jokes.markdown
Last active Aug 29, 2015
Christmas Cracker Jokes — This work is licensed under a Creative Commons Attribution 4.0 International License. http://creativecommons.org/licenses/by/4.0/
View xmas-cracker-jokes.markdown

How many Gamers does is take to change a light bulb?

Actually, its about ethics in games journalism


View Create iOS Icons.jsx
// Photoshop Script to Create iPhone Icons from iTunesArtwork
//
// Prerequisite:
// First, create at least a 1024x1024 px PNG file according to:
// http://developer.apple.com/library/ios/#documentation/iphone/conceptual/iphoneosprogrammingguide/BuildTimeConfiguration/BuildTimeConfiguration.html
//
// Install - Save Create Icons.jsx to:
// Win: C:\Program Files\Adobe\Adobe Utilities\ExtendScript Toolkit CS5\SDK
// Mac: /Applications/Utilities/Adobe Utilities/ExtendScript Toolkit CS5/SDK
// * Restart Photoshop
View keybase.md

Keybase proof

I hereby claim:

  • I am rjstelling on github.
  • I am rjstelling (https://keybase.io/rjstelling) on keybase.
  • I have a public key whose fingerprint is C753 58A5 B202 D1C8 1613 84A9 F1D3 5EA3 1C57 A79D

To claim this, I am signing this object:

View TRVViewController.m
//
// TRVViewController.m
// AttString
//
// Created by Richard Stelling on 02/05/2013.
// Copyright (c) 2013 Richard Stelling. All rights reserved.
//
#import "TRVViewController.h"
@rjstelling
rjstelling / SuccinctObjCMacros.h
Last active Dec 15, 2015
Macros to make Objective-C more C-like. Feel free to fix bugs or add new macros.
View SuccinctObjCMacros.h
// Make a [UI]ViewController by just passing the name, the .xib needs to have the same name as the Class howerver (Xcode default)
#define MakeViewController(class_and_nib_name) [[class_and_nib_name alloc] initWithNibName:[NSString stringWithUTF8String:#class_and_nib_name] bundle:nil]
@rjstelling
rjstelling / cs_xproj_validate.sh
Last active Oct 9, 2019
SEE: https://github.com/rjstelling/Xcode-Project-Validate. A very simple shell script to read .xcodeproj files and check if there are issues with the CODE_SIGN_IDENTITY. Having multiple entries can cause build errors (especially when Archiving or command line building). Link to StackOverflow question answering some questions about when and why t…
View cs_xproj_validate.sh
# /bin/bash
#Usage: $ ./cs_xproj_validate.sh path/to/xcode/project/file/theproject.xcodeproj
#More info: http://stackoverflow.com/q/13962341/89035
PROJECT_FILE="$1/project.pbxproj"
PREVIOUS_LINE=-1
for LINE in `cat "$PROJECT_FILE" | grep -n CODE_SIGN_IDENTITY | grep -o -E '^([0-9]*)'`
View NSString+Verbose.h
//
// NSString+Verbose.h
//
// An NSString category for overly verbose methods that have little or no practical application.
//
@interface NSString (Verbose)
- (BOOL)isNotEqualToString:(NSString *)aString;
@rjstelling
rjstelling / iOS Support Matrix Text (english)
Created Dec 3, 2012
This is the text that needs translating so we can release localised versions of the iOS Support Matrix. Feel free to fork and translate: http://www.empiricalmagic.com/post/34832825209/ios-support-matrix-v2-0-winter-2012
View iOS Support Matrix Text (english)
iOS Support Matrix
Winter 2012 Edition - v2.0
iPhone June 2007
iPod touch Sept 2007, Feb 2008 (32GB only)
iPhone 3G July 2008
iPod touch (2nd Generation) Sept 2008 Sept 2009 - (8GB only)
iPhone 3GS June 2009
iPod touch (3rd Generation) Sept 2009
iPad April 2010
iPhone 4 June 2010
@rjstelling
rjstelling / iOS 6 Features
Created Sep 19, 2012
iOS 6 Features listed by country (alphabetically), not by feature as is the case on Apple's website, http://www.apple.com/ios/feature-availability/
View iOS 6 Features
Afghanistan
Maps: Standard
Maps: Satellite
Albania
Maps: Standard
Maps: Satellite
Maps: Directions
Maps: Turn-by-Turn Navigation
You can’t perform that action at this time.