Skip to content

Instantly share code, notes, and snippets.

Avatar

Stefan Walkner haemi

  • arkulpa
View GitHub Profile
@haemi
haemi / gisttools.js
Created Mar 2, 2017
resizing/cropping images
View gisttools.js
mogrify -resize 373x663 *.JPG
mogrify -crop 373x553+0+100 *.JPG
@haemi
haemi / profile_compilation_times.sh
Last active Jan 9, 2017
Profiling Swift compilation times
View profile_compilation_times.sh
#!/bin/bash
xcodebuild -workspace App.xcworkspace -scheme App clean build OTHER_SWIFT_FLAGS="-Xfrontend -debug-time-function-bodies" | grep .[0-9]ms | grep -v ^0.[0-9]ms | sort -nr > culprits.txt
View update_brew.sh
#!/bin/bash
brew update && brew upgrade `brew outdated`
You can’t perform that action at this time.