-
Download the XenServer 6.2.0 ISO image
-
Format a USB stick using FAT32.
-
Use unetbootin to install the ISO to the USB stick. Use the “DiskImage” option instead of the “Distribution” one, and point it right to the ISO file.
-
Now we need to fix up some boot stuff (All paths are relative to the root of the USB drive)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configuration options for your blog - customise to taste | |
# This file contains no secret information, so can be stored in source control (unlike database.yml) | |
title: <Blog Title> | |
url: <Blog URL> | |
author: | |
name: <Your Name> # For copyright notice and ATOM feeds | |
email: <Your Email> # Exception emails will go here, and it is used in ATOM feeds | |
open_id: # These are used to login to the admin area | |
- <Your open_id url> # Mine is http://dekom.myopenid.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rest_client' | |
require 'json' | |
API_KEY = 'your api key here' | |
api_base = 'https://' + API_KEY + ':@app.close.io/api/v1/' | |
# get info about yourself | |
RestClient.get api_base+'me/' | |
# post a lead |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl -s 'https://sks-keyservers.net/pks/lookup?op=get&search=0xee6d536cf7dc86e2d7d56f59a178ac6c6238f52e' | apt-key add --import | |
apt-get update && apt-get upgrade -y && apt-get install -y apt-transport-https | |
apt-get install -y linux-image-extra-virtual | |
echo "deb https://packages.docker.com/1.12/apt/repo ubuntu-trusty main" | tee /etc/apt/sources.list.d/docker.list | |
apt-get update && sudo apt-get install -y docker-engine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl -s 'https://sks-keyservers.net/pks/lookup?op=get&search=0xee6d536cf7dc86e2d7d56f59a178ac6c6238f52e' | apt-key add --import | |
apt-get update -y && apt-get install apt-transport-https -y | |
echo "deb https://packages.docker.com/1.10/apt/repo ubuntu-trusty main" | tee /etc/apt/sources.list.d/docker.list | |
apt-get update -y && sudo apt-get install docker-engine -y | |
service docker start | |
usermod -a -G docker ubuntu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"indent" : { | |
"value": " ", | |
"ArrayExpression": 1, | |
"AssignmentExpression": 1, | |
"BinaryExpression": 1, | |
"ConditionalExpression": 1, | |
"CallExpression": 1, | |
"CatchClause": 1, | |
"ConditionalExpression": 1, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var moment = require('moment-range'); | |
var request = require('request'); | |
var _ = require('lodash'); | |
var url = require('url'); | |
var start = new Date(2014, 9, 8); | |
var end = new Date(); | |
var range = moment().range(start, end); | |
// Gets boxscore links from scores page |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cosmos 9.3 (22,172) | |
Super Mario World 9.3 (1,919) | |
Whitlock 9.1 (8) | |
Pride and Prejudice 9.0 (53,965) | |
For the Life of the World 8.9 (9) | |
Niko and the Sword of Light 8.9 (42) | |
Undercover 8.9 (24,235) | |
Twin Peaks 8.9 (112,001) | |
Top Gear 8.8 (81,037) | |
Descending |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{name: 'Afghanistan', code: 'AF'}, | |
{name: 'Åland Islands', code: 'AX'}, | |
{name: 'Albania', code: 'AL'}, | |
{name: 'Algeria', code: 'DZ'}, | |
{name: 'American Samoa', code: 'AS'}, | |
{name: 'AndorrA', code: 'AD'}, | |
{name: 'Angola', code: 'AO'}, | |
{name: 'Anguilla', code: 'AI'}, | |
{name: 'Antarctica', code: 'AQ'}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# inspired by a comment in http://redd.it/mmr8m | |
import sys | |
letters = {' ': 'space', | |
'a': 'alfa', 'b': 'bravo', 'c': 'charlie', 'd': 'delta', |