Skip to content

Instantly share code, notes, and snippets.

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

Michael Henke aphex3k

🇺🇦
Слава Україні!
  • Dexcom
  • San Diego, CA
  • 21:03 (UTC -08:00)
View GitHub Profile
@aphex3k
aphex3k / gist-restore.current
Last active April 4, 2016 21:32
Backup installed cask list to restore brew packages...
atom
bonjour-browser
charles
chromium
cocoapods
google-drive
growlnotify
hazel
joinme
macdown
@aphex3k
aphex3k / casklist-gist
Created April 4, 2016 21:33
Backup current installed cask list to gist
#!/bin/sh
gistId=8fe981c9d3696fe97955ebea7cc3e0f2
gistOld=/tmp/gist-restore.old
gistCurrent=/tmp/gist-restore.current
if [ -f "${gistOld}" ]
then
rm "${gistOld}"
fi
@aphex3k
aphex3k / .vimrc
Last active April 13, 2016 16:10
syntax on
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
@aphex3k
aphex3k / ramdisk.sh
Last active April 15, 2016 20:58
Create a ramdisk for my main user and store temporary data in there
#!/bin/bash
username=michaelhenke
trap 'echo "error at line $LINENO" >> /Users/${username}/loginerror.txt' ERR
function shutdown()
{
hdiutil detach /private/tmp -force
hdiutil detach /var/run -force
hdiutil detach /Users/${username}/Library/Caches -force
hdiutil detach /Users/${username}/Library/Developer/Xcode/DerivedData -force
exit 0
augeas
autoconf
automake
carthage
cask-repair
clamav
cmake
dialog
eigen
fdk-aac
@aphex3k
aphex3k / ffmpeg crop scale blur
Created May 8, 2016 05:21
ffmpeg crop scape and blur full HD @ 60fps
ffmpeg -i IMG_2265.TRIM.m4v -r 60 -an -aspect "16:9" -map 0:1 -vf "crop=1080:607:0:1000,scale=w=1920:h=1080,boxblur=lr=13" crop.m4v
@aphex3k
aphex3k / dictionary.txt
Created September 27, 2016 17:21
A list of about 500.000 words from english dictionaries
This file has been truncated, but you can view the full file.
'd
'em
'll
'm
'mid
'midst
'mongst
'prentice
're
@aphex3k
aphex3k / keyboard.xml
Last active November 5, 2016 04:41
Boxee Box remote keyboard layout for kodi/xbmc
<keymap>
<global>
<keyboard>
<escape>Back</escape>
</keyboard>
</global>
<FullscreenVideo>
<keyboard>
<up>VolumeUp</up>
<down>VolumeDown</down>
@aphex3k
aphex3k / hashcat-benchmark.txt
Last active October 25, 2016 05:18
Hashcat WPA/WPA2 benchmark results
$ hashcat -b -m 2500
- Device #1: GeForce GTX 1080, 2028/8113 MB allocatable, 20MCU
- Device #2: GeForce GTX 750 Ti, 499/1999 MB allocatable, 5MCU
- Device #3: AMD Radeon R9 M370X Compute Engine, 512/2048 MB allocatable, 10MCU
- Device #4: Iris Pro, 384/1536 MB allocatable, 40MCU
Hashtype: WPA/WPA2
Speed.Dev.#1.: 384.9 kH/s (97.50ms)
@aphex3k
aphex3k / nscurl --verbose --ats-diagnostics
Created November 17, 2016 18:00
Requirements for Connecting Using ATS
# https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html#//apple_ref/doc/uid/TP40009251-SW57
/usr/bin/nscurl --verbose --ats-diagnostics "https://gist.github.com"