This file contains hidden or 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
param( | |
[Parameter(Mandatory=$true)] | |
[string] | |
$AdminPassword | |
) | |
Set-StrictMode -Version Latest | |
Set-ExecutionPolicy -executionpolicy remotesigned -force | |
$pstoolsUrl="https://download.sysinternals.com/files/PSTools.zip" | |
echo "Set Password" | |
net user Administrator $AdminPassword |
This file contains hidden or 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/env python | |
import requests | |
import json | |
from requests.auth import HTTPBasicAuth | |
import sys | |
import StringIO | |
import csv | |
from getpass import getpass | |
# Set this from the app in github.com |
This file contains hidden or 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 | |
# | |
# Modified from here: | |
# http://misc.flogisoft.com/bash/tip_colors_and_formatting | |
# | |
color16() | |
{ | |
#Foreground | |
for clfg in {30..37} {90..97} 39 ; do |
This file contains hidden or 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
== Prepare Debian Wheezy for LXC == | |
Install lxc and some utils. | |
apt-get install lxc bridge-utils libvirt-bin debootstrap | |
Add a cgroup filesystem that will be mounted at boot. Edit /etc/fstab and add: | |
cgroup /cgroup cgroup defaults 0 0 |
NewerOlder