Skip to content

Instantly share code, notes, and snippets.

building apps

Ed Snider edsnider

building apps
View GitHub Profile
alexkaessner /
Last active Oct 2, 2019
customize iOS Simulator status bar (Xcode 11+)
$ xcrun simctl status_bar booted override --time "9:41" --batteryState charged --batteryLevel 100 --cellularMode active
pinguskahn /
Created Jul 31, 2018
Pulling Sqlite Db from non debuggable Android App
# make a backup
adb backup -noapk -f backup.ab
# strip out the bits
dd if=backup.ab bs=1 skip=24 of=backup.bak
# use (see other file in gist)
# untar
rdavisau / NSNotificationCenterExtensions.cs
Created Dec 25, 2016
Provides `IObservable` semantics for `NSNotificationCenter` subscriptions
View NSNotificationCenterExtensions.cs
public static class NSNotificationCenterExtensions
public static IObservable<NSNotification> ObserveNotification(this NSNotificationCenter notificationCenter, NSString notificationKey) =>
Observable.Create<NSNotification>(obs =>
var nsObserver = notificationCenter.AddObserver(notificationKey, obs.OnNext);
return Disposable.Create(() => notificationCenter.RemoveObserver(nsObserver));
alexsorokoletov /
Last active Oct 1, 2019
Clear bin/obj folders for Xamarin projects, as well as other temporary Xamarin files. Developer lifesaver
# based on
find . -iname "bin" -type d | xargs rm -rf
find . -iname "obj" -type d | xargs rm -rf
# clear VS4Mac temporary downloads
echo ~/Library/Caches/VisualStudio/7.0/TempDownload/
for f in ~/Library/Caches/VisualStudio/7.0/TempDownload/* ; do
sudo rm -rf $f
You can’t perform that action at this time.