Skip to content

Instantly share code, notes, and snippets.

View aphex3k's full-sized avatar
🇺🇦
Слава Україні!

Michael Henke aphex3k

🇺🇦
Слава Україні!
  • Dexcom
  • San Diego, CA
  • 22:12 (UTC -08:00)
View GitHub Profile
@aphex3k
aphex3k / avahi-sftp.service
Created December 2, 2015 17:27
avahi deamon advertising SFTP service on default port 22
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">%h SFTP</name>
<service>
<type>_sftp-ssh._tcp</type>
<port>22</port>
</service>
</service-group>
@aphex3k
aphex3k / avahi-ssh.service
Created December 2, 2015 17:25
avahi deamon advertising SSH service on default port 22
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">%h SSH</name>
<service>
<type>_ssh._tcp</type>
<port>22</port>
</service>
</service-group>
@aphex3k
aphex3k / unsign
Created June 30, 2015 17:06
Remove the _CodeSignature folder from an existing .ipa iOS App archive
#!/bin/sh
#set -x
if [ "$*" == "" ] ; then
echo "USAGE: unsign App.ipa [App2.ipa] [App3.ipa] [...]"
exit 1
fi
for var in "$@"
do
if [ ! -f ${var} ]
@aphex3k
aphex3k / smcs.patch
Created June 19, 2015 00:38
Compiling Xamarin.iOS & Xamarin.Android on OSX 10.11-beta1
# Install mono using homebrew
# ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# brew install mono
6c6
< exec mcs -nostdlib -r:$PROFILE/mscorlib.dll -lib:$PROFILE "$@"
---
> exec /usr/local/bin/mcs -nostdlib -r:$PROFILE/mscorlib.dll -lib:$PROFILE "$@"

Keybase proof

I hereby claim:

  • I am aphex3k on github.
  • I am michaelhenke (https://keybase.io/michaelhenke) on keybase.
  • I have a public key whose fingerprint is 18B1 FDF8 27F7 2B33 8FB7 A9F4 3606 C719 2840 65AC

To claim this, I am signing this object:

<?php
/*
Twitter JSON to Atom proxy for Twitter API 1.1
Original version by yimingliu ( https://gist.github.com/yimingliu/4735445 )
Display user_timeline instead of home_timeline
*/
date_default_timezone_set('America/Los_Angeles');
ini_set('display_errors', 0);