Skip to content

Instantly share code, notes, and snippets.

View MacLemon's full-sized avatar

Pepi Zawodsky MacLemon

View GitHub Profile
ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-CHACHA20-POLY1305:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA256:DHE-RSA-CAMELLIA256-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-CAMELLIA128-SHA256:ECDHE-RSA-AES256-SHA:DHE-RSA-AES256-SHA:DHE-RSA-CAMELLIA256-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES128-SHA:DHE-RSA-CAMELLIA128-SHA
@MacLemon
MacLemon / get ALL the CCCamp15 MP4-H.264 HD Torrent files
Created August 22, 2015 21:45
Fetches all .torrent files for the #CCCamp15 recordings in MP4/H.264 HD format for downloading and seeding.
for ITEM in $(curl -s "http://cdn.media.ccc.de/events/camp2015/h264-hd/" | grep mp4 | sed -e 's/^.*a href=\"/http:\/\/cdn.media\.ccc\.de\/events\/camp2015\/h264-hd\//g' -e 's/\.mp4.*/\.mp4\.torrent/g'); do curl -LO "$ITEM" ; done
@MacLemon
MacLemon / keybase.md
Created April 9, 2014 12:57
Keybase.md

Keybase proof

I hereby claim:

  • I am maclemon on github.
  • I am maclemon (https://keybase.io/maclemon) on keybase.
  • I have a public key whose fingerprint is BC81 E1ED A963 EBF4 6D6A E7EA 9869 59F0 4139 98E2

To claim this, I am signing this object:

javascript:(function()%7Bvar%20inputs=document.getElementsByTagName('input');for(var%20i=0;i%3Cinputs.length;i++)%7Bif(inputs%5Bi%5D.getAttribute('type').toLowerCase()==='password')%7Binputs%5Bi%5D.setAttribute('onpaste','');%7D%7D%7D)();
@MacLemon
MacLemon / versioning.sh
Created December 9, 2012 23:22
Autoincreasing Build numbers, get version numbers from git tag, put it into Info.plist
#!/bin/bash
# by Andreas Monitzer (@anlumo1) and Pepi Zawodsky (@MacLemon)
#
# This script published under WTF license
# http://en.wikipedia.org/wiki/WTFPL
# Improvements to this script are welcome though.
# Augments the Info.plist with a lot of nice stuff.
# It's suggested to call this script from a "run script" build phase, not copy the script's contents there.
@MacLemon
MacLemon / Github Obj-C Repo Search Template
Created August 20, 2012 18:43
Search Template for @LaunchBar for Github Repositories in Objective-C
https://github.com/search?q=*&repo=&langOverride=&start_value=1&type=Repositories&language=Objective-C
@MacLemon
MacLemon / de.uliwitness.example.plist
Created August 9, 2012 00:18
On change auto uploader
<?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>Label</key>
<string>de.uliwitness.example</string>
<key>ProgramArguments</key>
<array>
<string>/bin/ulissupersophisticatedfileuploader</string>
</array>
@MacLemon
MacLemon / How to run a seconds SSHd on Mac OS X.txt
Created March 9, 2011 22:04
Instructions for an alternative port SSH server on Mac OS X (without Bonjour annoucements).
Alternative/Secondary/Backup SSH Service:
Add this line to /etc/services
ssh-alt 10022/tcp # ssh-alternative
You may change the port to any unused port you like but maybe try to avoid 2222 and 22222 as they are a little too obvious. This line actually specifies which port your alternative sshd will be listening on.
Save the launchd item following as as /Library/LaunchDaemons/ssh-alt.plist
Load with
@MacLemon
MacLemon / extended backup bouncer log for mlbackup 1.5
Created February 24, 2011 23:11
Results of the backup bouncer test extended by Mike Bombich for the upcoming mlbackup 1.5 release.
------------------ mlbackup ------------------
This copier produced log output in:
/Volumes/Dst/82-mlbackup/log
Verifying: basic-permissions ... ok
Verifying: timestamps ... ok
Verifying: symlinks ... ok
Verifying: symlink-ownership ... ok
Verifying: hardlinks ... ok
Verifying: resource-forks ...
Sub-test: on files ... ok