Skip to content

Instantly share code, notes, and snippets.

View judytuna's full-sized avatar
💜
volunteer at Techtonica! https://techtonica.org/volunteer/

Judy Tuan judytuna

💜
volunteer at Techtonica! https://techtonica.org/volunteer/
View GitHub Profile
@BalzGuenat
BalzGuenat / terraria_tutorial.md
Last active February 5, 2024 03:24
Installing and running a Terraria server with tShock on a Raspberry Pi

Installing and running a Terraria server with tShock on a Raspberry Pi

This was originally posted here on reddit. If you decide to try this, please post a comment either confirming that it works or stating any issues that came up. Thanks to reddit user /u/mat_storm1 for pointing out some typos and thanks to reddit user /u/supercore23 for pointing out potential issues with spaces in the world path.

What is this?

This guide explains how to install and run a Terraria server on your Raspberry Pi. I assume you have already installed Raspbian and have a very basic understanding of the command line. Installation on other Unix-based systems should be very similar. The goal is to reach a setup that only requires you to plug in your Pi to start the server. Connecting to the server should be easily done by using a hostname, not an IP. We should also be able to ssh into the server and do server-admin stuff at any t

@joseluisq
joseluisq / terminal-git-branch-name.md
Last active May 17, 2024 04:22
Add Git Branch Name to Terminal Prompt (Linux/Mac)

Add Git Branch Name to Terminal Prompt (Linux/Mac)

image

Open ~/.bash_profile in your favorite editor and add the following content to the bottom.

# Git branch in prompt.

parse_git_branch() {
@ChandraNalaani
ChandraNalaani / republibot.rake
Created September 12, 2012 19:37
RepubliBot (ruby)
require 'twitter'
namespace :republibot do
desc "Tweet something ridiculous"
task :tweet do
Twitter.configure do |config|
config.consumer_key = '-----'
config.consumer_secret = '-----'
config.oauth_token = '-----'