Skip to content

Instantly share code, notes, and snippets.

View foozmeat's full-sized avatar

James Moore foozmeat

View GitHub Profile
@foozmeat
foozmeat / openssl-build.sh
Last active December 12, 2023 19:41
A shell script to build openssl for iOS and Mac. It currently builds: Mac -> i386 & x86_64 // iOS -> armv7, arm64 // iOS Simulator -> i386 & x86_64.
#!/bin/bash
# This script builds the iOS and Mac openSSL libraries
# Download openssl http://www.openssl.org/source/ and place the tarball next to this script
# Credits:
# https://github.com/st3fan/ios-openssl
# https://github.com/x2on/OpenSSL-for-iPhone/blob/master/build-libssl.sh
@foozmeat
foozmeat / timed_capture.sh
Last active June 3, 2021 20:16
A bash script to take screenshot every 60 seconds and then add a timestamp to it. Useful for creating time-lapse videos.
#!/bin/sh
# Help from http://dptnt.com/2009/08/add-date-time-stamp-to-jpeg-photos-using-free-software-mac-linux-nix-edition/
# install the LCD font - http://www.dafont.com/digital-7.font
# install imagemagick via homebrew
# Install Time Lapse Assembler to make the movie - http://www.dayofthenewdan.com/projects/time-lapse-assembler-1/
set -e
font="$HOME/Library/Fonts/digital-7 (mono).ttf"
outputfolder="$HOME/Downloads/caps"