Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
-- Two dashes start a one-line comment. | |
--[[ | |
Adding two ['s and ]'s makes it a | |
multi-line comment. | |
--]] | |
---------------------------------------------------- | |
-- 1. Variables and flow control. | |
---------------------------------------------------- |
import static org.hamcrest.MatcherAssert.assertThat; | |
import static org.hamcrest.Matchers.equalTo; | |
import java.io.File; | |
import java.io.IOException; | |
import java.io.OutputStream; | |
import java.nio.charset.StandardCharsets; | |
import java.util.Arrays; |
# The blog post that started it all: https://neocities.org/blog/the-fcc-is-now-rate-limited | |
# | |
# Current known FCC address ranges: | |
# https://news.ycombinator.com/item?id=7716915 | |
# | |
# Confirm/locate FCC IP ranges with this: http://whois.arin.net/rest/net/NET-165-135-0-0-1/pft | |
# | |
# In your nginx.conf: | |
location / { |
#!/bin/sh | |
# | |
# script to run minecraft on ARM linux. for reference: | |
# | |
# http://rogerallen.github.io/jetson/2014/07/31/minecraft-on-jetson-tk1/ | |
# https://devtalk.nvidia.com/default/topic/764821/embedded-systems/minecraft-on-the-jetson-tk1/ | |
# https://gist.github.com/rogerallen/91526c9c8be1a82881e0 | |
# | |
# !!! YOU MUST PERSONALIZE ALL OF THIS INFO !!! |
// ==UserScript== | |
// @name Indie Royale Bundle Labeler | |
// @include http://www.indieroyale.com/collection | |
// @updateURL https://gist.githubusercontent.com/ohmanger/ca837343473033b1d9bb/raw | |
// @downloadURL https://gist.githubusercontent.com/ohmanger/ca837343473033b1d9bb/raw | |
// @grant none | |
// @version 1.3.1 | |
// ==/UserScript== | |
function irbl_add_global_styles() { |
// ==UserScript== | |
// @name Indie Royale Bundle Hider | |
// @description Hides bundles you don't own from your collection page | |
// @include http://www.indieroyale.com/collection | |
// @updateURL https://gist.githubusercontent.com/ohmanger/71334947a6f7470ef16e/raw | |
// @downloadURL https://gist.githubusercontent.com/ohmanger/71334947a6f7470ef16e/raw | |
// @grant none | |
// @version 1.1.1 | |
// ==/UserScript== |
// ==UserScript== | |
// @name Desura Game Labeler | |
// @include http://www.desura.com/collection | |
// @updateURL https://gist.githubusercontent.com/ohmanger/b057f444cd2d5205bdfc/raw | |
// @downloadURL https://gist.githubusercontent.com/ohmanger/b057f444cd2d5205bdfc/raw | |
// @require https://gist.githubusercontent.com/BrockA/2625891/raw | |
// @grant none | |
// @version 1.2.2 | |
// ==/UserScript== |
// ==UserScript== | |
// @name Humble Bundle key cache | |
// @include https://www.humblebundle.com/home* | |
// @updateURL https://gist.githubusercontent.com/mikemanger/b5bb71c9b9a1ac70b7ad/raw | |
// @downloadURL https://gist.githubusercontent.com/mikemanger/b5bb71c9b9a1ac70b7ad/raw | |
// @grant GM_setValue | |
// @grant GM_getValue | |
// @run-at document-end | |
// @version 1.1.4 | |
// ==/UserScript== |
Proxmox 4 is based on Debian Jessie. Reference for this install: https://docs.docker.com/engine/installation/linux/debian/#/install-using-the-repository
$ apt-get install curl
$ curl -fsSL https://apt.dockerproject.org/gpg | apt-key add -
$ echo "deb https://apt.dockerproject.org/repo/ debian-jessie main" > /etc/apt/sources.list.d/docker.list
$ apt-get update