Skip to content

Instantly share code, notes, and snippets.

View neonichu's full-sized avatar
🤬
GitHub, cancel your contract with ICE!

Boris Bügling neonichu

🤬
GitHub, cancel your contract with ICE!
View GitHub Profile
@neonichu
neonichu / checkdev.sh
Created June 6, 2011 19:40 — forked from stuartcarnie/checkdev.sh
Ping developer.apple.com and growl when it's up
#!/bin/sh
read -p "Apple Id: " appleid; echo
stty -echo
read -p "Password: " passw; echo
stty echo
while [ /bin/true ]; do
curl -s -u$APPLEID:$PASSW developer.apple.com/devcenter/ios/index.action | grep "soon" >/dev/null
if [ $? -eq 1 ]; then
echo "Done"
@neonichu
neonichu / .gitignore
Created June 9, 2011 19:42 — forked from rpetrich/index.php
Twitter self-hosted image service/url shortener
favicon.gif
favicon.ico
s
@neonichu
neonichu / powerpress.php
Created August 4, 2011 21:28
PowerPress quick fixes for http://breakfast.vu0.org
<?php
/*
Plugin Name: Blubrry PowerPress
Plugin URI: http://www.blubrry.com/powerpress/
Description: <a href="http://www.blubrry.com/powerpress/" target="_blank">Blubrry PowerPress</a> adds podcasting support to your blog. Features include: media player, 3rd party statistics, iTunes integration, Blubrry Services (Media Statistics and Hosting) integration and a lot more.
Version: 2.0.3
Author: Blubrry
Author URI: http://www.blubrry.com/
Change Log:
Please see readme.txt for detailed change log.
@neonichu
neonichu / debugMobileSafari.sh
Created November 17, 2011 15:42
Debug a MobileSafari instance running in the iOS 5 simulator
#!/bin/sh
##
## Debug a MobileSafari instance running in the iOS 5 simulator
##
PID=`ps axc|awk '{if ($5=="MobileSafari") print $1}'`
if [ "$PID" == "" ]
then
@neonichu
neonichu / git-sqlitediff
Created January 19, 2012 09:54
Git diff for SQLite databases
#!/bin/sh
##
# Git diff for SQLite databases
##
if [ -z "$DIFF" ]
then
DIFF=diff
fi
@neonichu
neonichu / greader.rb
Created January 21, 2012 19:15
Backup your Google Reader data
#!/usr/bin/env ruby
require 'rubygems'
require 'mechanize'
agent = Mechanize.new
page = agent.get('https://accounts.google.com/ServiceLoginAuth')
form = page.forms.first
form.Email = '<<<Your Google Reader username>>>'
@neonichu
neonichu / strip-lib.sh
Created January 23, 2012 12:35
Strip debug symbol from universal static libraries (tested for iOS only)
#!/bin/sh
#
## Strip debug symbol from universal static libraries
#
if [ -z "$1" ]
then
echo "$0 library"
exit 1
@neonichu
neonichu / gplus-post.rb
Created January 30, 2012 01:24
Automatically post to your Google+ account from the commandline.
#!/usr/bin/env ruby
##### Automatically post to your Google+ account from the commandline.
##### (C) 2012 Boris Buegling <boris@icculus.org>
require 'rubygems'
require 'mechanize'
## Use Windows Mobile user agent to get Basic Mobile HTML
agent = Mechanize.new
@neonichu
neonichu / minus.rb
Created February 1, 2012 21:43
Post your most recent tweets to Google+
#!/usr/bin/env ruby
## Configuration ##
###################
gplus_user = '<<<Google+ username>>>'
gplus_pass = '<<<Google+ password>>>'
tweet_count = 25 # Number of tweets to consider
twitter_user = '<<<Twitter username>>>'
###################
@neonichu
neonichu / universalize.sh
Created February 5, 2012 16:09
Create some quick and dirty universal static libraries from a Xcode 4 build directory
#!/bin/sh
##
## Create universal static libraries from a build directory
##
ls -ld Build >/dev/null 2>&1
if [ $? -ne 0 ]
then
echo "No 'Build' directory found."