Skip to content

Instantly share code, notes, and snippets.

View zintrepid's full-sized avatar

Zach Marquez zintrepid

  • Houston, TX, USA
View GitHub Profile

Keybase proof

I hereby claim:

  • I am zintrepid on github.
  • I am zachmarquez (https://keybase.io/zachmarquez) on keybase.
  • I am zachmediafire (https://keybase.io/zachmediafire) on keybase
  • I have a public key whose fingerprint is CE63 071D B520 AAF1 4603 2B68 7B28 2DAD 81C7 9D07
  • I have a public key whose fingerprint is 6D75 4B60 2BF4 434F ACEF  DD7C 077D 5FF7 D261 4F32
@zintrepid
zintrepid / upgrade-test.sh
Last active March 12, 2018 05:29
Simple systemd upgrade proof-of-concept
#!/bin/bash
#
# This script can be daemonized by systemd and shows how to do an in-place upgrade
# with service type=fork and pid files. If you watch systemctl status, you will see
# that the PID and command line of the service update after 20 seconds to reflect
# the script executed with 'type=upgraded-child'. After 5 minutes, the service will
# stop itself.
#
# upgrade-test.service:
#
@zintrepid
zintrepid / run.sh
Last active November 22, 2016 20:51 — forked from rogerallen/run.sh
Automatically select correct client version based on MINECRAFT_VERSION variable.
#!/bin/sh
#
# script to run minecraft on ARM linux. for reference:
#
# http://rogerallen.github.io/jetson/2014/07/31/minecraft-on-jetson-tk1/
# https://devtalk.nvidia.com/default/topic/764821/embedded-systems/minecraft-on-the-jetson-tk1/
# https://gist.github.com/rogerallen/91526c9c8be1a82881e0
#
# !!! YOU MUST PERSONALIZE ALL OF THIS INFO !!!