git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
#!/bin/bash | |
# Create a github gist repository for sharing scripts/configs on blog | |
# Base directory, repository parent directory | |
base_dir=""$HOME"/" | |
repo_par=""$HOME"/.github-gist/" | |
# File list (File list order must match repository order) | |
files=('/home/todd/.scripts/others/ghsync-script' | |
'/home/todd/.scripts/vault/unity-effects' |
<?php | |
/** | |
* Please be aware. This gist requires at least PHP 5.4 to run correctly. | |
* Otherwise consider downgrading the $opts array code to the classic "array" syntax. | |
*/ | |
function getMp3StreamTitle($streamingUrl, $interval, $offset = 0, $headers = true) | |
{ | |
$needle = 'StreamTitle='; | |
$ua = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36'; |
#!/bin/bash | |
# This script creates a new project (or site) under /var/sites and creates | |
# new virtual host for that site. With the options a site can also | |
# install the latest version of Laravel directly. | |
# This script was originally based on the following script by @Nek from | |
# Coderwall: https://coderwall.com/p/cqoplg | |
# Display the usage information of the command. | |
create-project-usage() { |
{ | |
"back": { | |
"toxicwasteback": { | |
"iconPath": "items/armors/backitems/toxicwaste/toxicwastebackicon.png", | |
"itemPath": "items/armors/backitems/toxicwaste/toxicwaste.back" | |
}, | |
"ironarmoravianback": { | |
"iconPath": "items/armors/avian/ironarmoravian/icons.png:back", | |
"itemPath": "items/armors/avian/ironarmoravian/ironarmoravian.back" | |
}, |
--- Stubs for entity.* callbacks defined in C++. | |
-- | |
-- DO NOT INCLUDE this file in your scripts, it is for documentation purposes only. | |
-- | |
-- Entity callbacks query and mutate the specific entity that is running the | |
-- lua script. They can be called from a _different_ entity using | |
-- world.callScriptedEntity(targetEntityId, "entity.*"), replacing "*" with the | |
-- name of a function defined below. | |
-- | |
-- Specific types of entities (e.g. NPCs, Objects) define different sets of |
A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.
Running a local server for testing purposes:
This guide assumes you are using Ubuntu and have some basic linux command-line know-how.
Download the server https://www.factorio.com/download-headless/stable:
shutdown /s /t 7200 | |
# shutdown /a - Aborts shutdown |