Skip to content

Instantly share code, notes, and snippets.

View insanj's full-sized avatar
🎉
insanj.com

Julian Weiss insanj

🎉
insanj.com
View GitHub Profile
@insanj
insanj / NWURLConnection.mm
Last active December 17, 2015 19:59
NWURLConnection without ARC. Original: https://gist.github.com/leonardvandriel/3794804
// NWURLConnection - an NSURLConnectionDelegate based on blocks with cancel.
// Similar to the `sendAsynchronousRequest:` method of NSURLConnection, but
// with `cancel` method. Does not require ARC on iOS 6 or Mac OS X 10.8.
// License: BSD
// Author: Leonard van Driel, 2012
// Converted to non-ARC by Julian "insanj" Weiss, 2013
@interface NWURLConnection : NSObject <NSURLConnectionDelegate>{
NSURLConnection *connection;
NSHTTPURLResponse *response;
@insanj
insanj / debs.md
Last active August 29, 2015 13:56
How To Install Debs From GitHub
  1. Find and install iFile from Cydia (free, although you get pop-ups urging you to buy it)

  2. Find a valid .deb (Debian) package (for my projects, go to the Releases tab and hit the big green button)

  3. Tap to open the .deb file (might launch into separate app, or have an Open In... prompt)

  4. Tap "Open With...", and select iFile (normally in the upper right-hand corner)

  5. Once in iFile, tap Installer from the selection sheet that pops up

@insanj
insanj / wwjc2014.md
Last active August 29, 2015 13:57
Why Should You Go To WWJC?

JailbreakCon is more than just a weekend in San Francisco. It's an experience, a moment to finally reach out and learn from people they you'd never encounter otherwise. Last year, in New York City, it was astonishing to have conversations with Jay Freeman, Ryan Petrich, and my own friends from Hashbang, both about jailbreaking, and about ordinary things. With Ryan and Max (Relay developer) I fixed so many tiny bugs in my upcoming projects, but most of the time it was far more interesting to talk about theories, jokes, and my Obsidian Menu Bar. It was an utterly humanizing event, and spurred me to keep creating more, and pursue my programming interests. I'd say that's a huge reason why I do what I do today, and don't have any plans to stop soon. JailbreakCon is a warm, peaceful, helpful place, in the great big torrent that is our jailbreak community. And,

@insanj
insanj / projects.txt
Last active August 29, 2015 13:57
Running List of Public iOS Project Creations / Contributions
Actapaper
ActiveAlarm
Alien Blue Velox
Aphelion
AppShadows
App Store for Velox
atom-logos
AwayToTop
Badger
BadgeRemover
@insanj
insanj / oss.md
Last active August 29, 2015 14:01
On Open Sourcing Tweaks

It’s pretty interesting the way commercial tweaks work. Even if I open source and offer a product for free online, almost the same exact amount of jailbreakers will purchase it, with or without realizing it’s up elsewhere. In the end, the only people who recognize it are those who really want to avoid purchasing it (wouldn’t get it anyway), or other developers who could use the source as an invaluable tool for further development. Either way, there are no losers, so I try to keep all my work future-proof and accessible on Github. Helps in case I drop development later, so people can still update it and understand how it worked.

@insanj
insanj / todo.md
Last active August 29, 2015 14:01
projects todos

Living document of work still needed to be done on my current projects. See revisions over time for examples of collaboration and previous project todos. Once a project has no more items, it's removed from the list.

BlurBar

  • Automatic hide/show toggle
  • iOS 7.1+ support and fixed implementation

Circlet

  • iPad and rare-case spacing fixes (overlap with carrier, too-close left side, etc)
@insanj
insanj / circlet11.md
Last active August 29, 2015 14:01
Circlet 1.1 Changelog
  • New Time Circlet: configure and display your clock as two circles (one for hour, one for minute)
  • New Carrier Circlet: show your Carrier as a single encircled character, hide it completely, or use custom text
  • New Low Battery Option: the battery circlet now changes color if it recognizes <20% (configurable)
  • New Textual Style: new style that includes a representative number or character in the center of the circlet
  • Show Bolt Option: new battery circlet toggle to display the old bolt while charging
  • Data Circlet Fill: now the Data circlet changes fill depending on connection (o, GPRS, 3g/4g, LTE, etc)
  • Re-thought Refresh Status Bar Action: now toggling circlets will auto-refresh relevant sections, and every individual section has its own button
  • Revamped Fill Style: includes a small outline around filling area to increase readability
  • Tinkered Size Options: Small, Medium, and Large now represent different radii (which display better)
  • Show Outline Toggle: now you can selectively show or hide the ou
@insanj
insanj / circlet12.md
Created May 23, 2014 18:41
Circlet 1.2 Changelog
  • Finer size control
  • 99% fill style fix
  • Color picker update fix
  • Preferences optimizations

Delayed:

  • iOS 6 Support
  • iPad Support
@insanj
insanj / tweetbot.txt
Created May 24, 2014 19:31
Tweet Using Cycript
cy# var me = choose(PTHTweetbotAccount)[3]
#"<Account:19558701 'insanj'>"
cy# var draft = [[PTHTweetbotPostDraft alloc] initWithAccount:me]
#""
cy# [draft setText:@"about to jailbreak a new iPad... wish me luck, maybe third time's the charm."]
cy# [PTHTweetbotStatus postDraft:draft progress:nil result:nil]
@insanj
insanj / orangered11.md
Last active August 29, 2015 14:02
Orangered 1.1 Changelog
  • Fixed conflict with OpenNotifier iOS 7 build
  • Added manual rate limit guard to prevent accidental rate limit bouncing
  • Fixed sound quieting when no sound is selected
  • Prevents duplicate notifications (won't notify you of a message if it's already in the Notification Center)
  • Various small bug fixes and optimizations