Skip to content

Instantly share code, notes, and snippets.

@khbecker
khbecker / update-itch.sh
Last active January 12, 2016 18:07 — forked from FrozenCow/update.sh
Update PKGBUILD for itch with new pkgver based on Github releases
#!/bin/sh
# update-itch.sh
#
# Required packages: jq and pkgbuild-introspection
source ./PKGBUILD
OLDVERSION="$pkgver"
echo "Old Version: ${OLDVERSION}"
NEWVERSION=$(curl https://api.github.com/repos/itchio/itch/releases 2> /dev/null | jq -r '.[0].tag_name | match("\\d(\\.\\d+)+").string')
@khbecker
khbecker / glibc-check.sh
Created March 24, 2016 14:12 — forked from fasterthanlime/glibc-check.sh
Prints the various glibc versions required by an executable
#!/bin/bash
# This scripts lets you check which minimum GLIBC version an executable requires.
# Simply run './glibc-check.sh path/to/your/binary'
#
# You can set `MAX_VER` however low you want, although I (fasterthanlime)
# feel like `2.13` is a good target (For reference, Ubuntu 12.04 has GLIBC 2.15)
MAX_VER=2.13
SCRIPTPATH=$( cd $(dirname $0) ; pwd -P )

Keybase proof

I hereby claim:

  • I am khbecker on github.
  • I am km3k (https://keybase.io/km3k) on keybase.
  • I have a public key whose fingerprint is 9221 0594 F31F 0668 8730 7F4B ADE4 E35F C1A9 3E01

To claim this, I am signing this object: