I hereby claim:
- I am goofwear on github.
- I am goofwear (https://keybase.io/goofwear) on keybase.
- I have a public key ASBpM-K1MZr2KdCTGkv8DKv5MvtfJKi2BVvkC5ubRgTTVAo
To claim this, I am signing this object:
#!/bin/bash | |
# Copyright 2017 Kevin Mark | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# https://www.apache.org/licenses/LICENSE-2.0 | |
# |
cscript /nologo wget.js http://example.com |
I hereby claim:
To claim this, I am signing this object:
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.
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
#!/bin/bash | |
# Based on https://www.xda-developers.com/how-to-restore-mobile-data-quick-settings-tile-toggle-on-samsung-galaxy-devices/ | |
# This will work with minor adjustments to your installation of the Android SDK or wherever you put adb. | |
# Should work on Linux and Mac, but only tested on Linux | |
PATH=../android-sdk-linux/platform-tools:$PATH | |
outfile=list.$(date +%F) | |
adb devices | |
echo "Do you see your device? [y|N]" |
0.0.0.0 ads.doubleclick.net | |
0.0.0.0 s.ytimg.com | |
0.0.0.0 ad.youtube.com | |
0.0.0.0 ads.youtube.com | |
0.0.0.0 www.gstatic.com | |
0.0.0.0 gstatic.com | |
0.0.0.0 clients1.google.com | |
0.0.0.0 dts.innovid.com | |
0.0.0.0 googleads.g.doubleclick.net | |
0.0.0.0 googleads4.g.doubleclick.net |
#!/usr/bin/env python3 | |
import argparse | |
import sys | |
try: | |
from defusedxml import ElementTree | |
except (ImportError, AttributeError): | |
from xml.etree import ElementTree | |
import requests |
#!/usr/bin/env python3 | |
import argparse | |
import io | |
import os | |
import string | |
import sys | |
import tempfile | |
import zipfile | |
import bs4 # pip install bs4 |
#!/usr/bin/env python3 | |
import gzip | |
import os | |
import shutil | |
import subprocess | |
import tarfile | |
import zipfile | |
from defusedxml import ElementTree | |
import yaml |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <string.h> | |
#include <stdbool.h> | |
typedef uint32_t u32; | |
typedef uint8_t u8; | |