Skip to content

Instantly share code, notes, and snippets.

View eagl3s1ght's full-sized avatar

Anton Olsson eagl3s1ght

View GitHub Profile
@yohanesgultom
yohanesgultom / ! PHP Scripts
Last active May 30, 2021 10:38
Random PHP scripts
Random PHP scripts
@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

@tegansnyder
tegansnyder / export-all-product-attributes.php
Last active November 22, 2018 15:31
Really rough around the edge way (not complete) way to grab all product attributes to a csv with direct SQL in Magento. Don't trust this worth your life :)
<?php
/**
* export-all-product-attributes.php
* @author Tegan Snyder <[email protected]>
*/
// init Magento
require_once('app/Mage.php');
umask(0);
Mage::app('default');
@schmengler
schmengler / OnepageController.php
Created January 18, 2012 12:09
Magento Checkout Integration Test
<?php
/**
* Integration test for OnePageCheckout
*
* @author Fabian Schmengler <[email protected]>
* @copyright SGH informationstechnologie UGmbH 2012
* @package SGH\Common
* @subpackage Test
*
*/