Skip to content

Instantly share code, notes, and snippets.

View stevestreza's full-sized avatar

Steve Streza stevestreza

View GitHub Profile
Pod::Spec.new do |s|
s.name = 'ChatCore'
s.version = '1.0'
s.platform = :ios
s.ios.deployment_target = '5.0'
s.prefix_header_file = 'Basic.pch'
s.source = { :svn => 'http://source.colloquy.info/svn/trunk' }
s.source_files = 'Chat Core/*.{h,m}', 'Additions/*.{h,m}'
  • Double Fine Adventure. Estimated final delivery: October 2012. No beta or final delivery yet.
  • Kinetic Void. Estimated final delivery: December 2012. Beta delivered: March 2013. No final delivery yet.
  • Planetary Annihilation. Estimated final delivery: July 2013. Beta delivered: September 2013. No final delivery yet.
  • Wasteland 2. Estimated final delivery: October 2013. No beta or final delivery yet.
@stevestreza
stevestreza / CHTCenteredCellLayout.m
Created October 27, 2012 17:55
A UICollectionViewFlowLayout that supports flexible-width cells, fixed-width margins between cells, and centering the cells.
//
// CHTCenteredCellLayout.m
//
// Created by Steve Streza on 10/25/12.
// Use however you like.
//
#import "CHTCenteredCellLayout.h"
@implementation CHTCenteredCellLayout
.navtabs{
display: none;
}
#topcol2{
display: none;
}
#topcol1{
width: 80%;
//
// NSObject+BlockObservation.h
// Version 1.0
//
// Andy Matuschak
// andy@andymatuschak.org
// Public domain because I love you. Let me know how you use it.
//
#import <Foundation/Foundation.h>
@stevestreza
stevestreza / Moodnight.dvtcolortheme
Created April 30, 2012 20:18
Hack on Xcode 4's Midnight theme to taste. You'll probably hate it.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>DVTConsoleDebuggerInputTextColor</key>
<string>1 1 1 1</string>
<key>DVTConsoleDebuggerInputTextFont</key>
<string>Menlo-Bold - 11.0</string>
<key>DVTConsoleDebuggerOutputTextColor</key>
<string>1 1 1 1</string>
.navtabs{
display: none;
}
#topcol2{
display: none;
}
#topcol1{
width: 80%;
@stevestreza
stevestreza / foo.m
Created March 23, 2012 01:37
How to add a Twitter username to an ABRecordRef
-(void)addContact{
ABRecordRef person;
ABMultiValueRef social = ABMultiValueCreateMutable(kABMultiDictionaryPropertyType);
ABMultiValueAddValueAndLabel(social, [NSDictionary dictionaryWithObjectsAndKeys:
(NSString *)kABPersonSocialProfileServiceTwitter, kABPersonSocialProfileServiceKey,
@"justinbieber", kABPersonSocialProfileUsernameKey,
nil], kABPersonSocialProfileServiceTwitter, NULL);
ABRecordSetValue(person, kABPersonSocialProfileProperty, social, NULL);
CFRelease(social);
My name is Steve Streza, and I work as an engineer for a software company
in San Francisco. Thanks for the opportunity to be on this call.
Copyright infringement is a real problem, and one the software industry
is very familiar with. The first forms of copyright infringement on the
internet were of software, not music or movies. We are well aware of the
problems there, and also of solutions that have been tried to protect
against it. We have seen what works, and more importantly what doesn't
work, and how people circumvent what we try. The consensus amongst myself
and many of my peers is that stopping copyright infringement is

Tweaks

  • Activator: shows the iOS 5 tweet sheet when swiping up from the bottom left corner
  • BlurriedNCBackground: blurs the background of Notification Center
  • Browser Changer: changes the default browser from Safari to Dolphin (or whatever else you want)
  • SMS GV Extension: adds support for texting via Google Voice in the stock Messages app (and Siri and stuff)
  • UISettings: adds settings toggles in Notification Center for Wi-Fi, Airplane Mode, Bluetooth, etc.

Apps