Skip to content

Instantly share code, notes, and snippets.

@DonMills
DonMills / startserv.sh
Created August 12, 2019 00:01
FreeNAS Terraria Server
#!/bin/sh
export TERM="screen"
/usr/local/bin/screen -S terraria -d -m /usr/local/bin/mono /mnt/TerrariaServer.exe -world /mnt/First.wld

Keybase proof

I hereby claim:

  • I am donmills on github.
  • I am donmills (https://keybase.io/donmills) on keybase.
  • I have a public key ASA0iW6PHZGdOwoqUJ2IMId2Ok5FpbykZfaIcCoQpTrFsgo

To claim this, I am signing this object:

@DonMills
DonMills / gist:b8762de1d7715d93d368f5e18a46beac
Last active June 22, 2017 01:48
Pull a list of release names from Github with Groovy
import groovy.json.JsonSlurper
def feedUrl = "https://api.github.com/repos/{user}/{repo}/releases"
def data = new URL(feedUrl).getText()
def list = new JsonSlurper().parseText(data)
list.each{ println it.name }