NOW MAINTAINED IN MY DOTFILES GITHUB REPO: http://git.io/zuH1MQ
######################################################################################## | |
# function for generating a git.io short url | |
######################################################################################## | |
function git-shorturl { | |
curl -i http://git.io -F "url=$1" 2>/dev/null | grep -i "location:" | |
} |
This will provide a much faster and favorable experience VS RDC over network (or worse, the internet). It also gives you free reign to do whatever else you might want to do on windows (which for me isn't much, but a nice-to-have none-the-less).
The following list of commands will get you a free (microsoft sponsored) Windows XP VM environment with IE6 installed. The password is "Password1". When you first login, you will be asked to activate the OS. Do this immediately over the internet. You will get 90 days of activation. Once this runs out, activate the snapshot called "The initial VM state" to go back in time.
% mkdir -p ~/.vm/hdds/windows/winxp-ie6/
% cd !$
% wget http://download.microsoft.com/download/B/7/2/B72085AE-0F04-4C6F-9182-BF1EE90F5273/Windows_XP_IE6.exe
% unrar e Windows_XP_IE6.exe
# Cookbook Name:: mongodb | |
# Recipe:: default | |
case node['platform'] | |
when "ubuntu" | |
execute "apt-get update" do | |
action :nothing | |
end | |
execute "add gpg key" do |
...
class Azcopy < Formula | |
desc "AzCopy is a command-line utility that you can use to copy blobs or files to or from a storage account." | |
homepage "https://azure.microsoft.com/en-us/blog/tag/azcopy/" | |
sha256 "4ca3f7ab59f8506224a1c70c20ca3edf47d47b95c21c47d32581bc902e022eb7" | |
url "https://aka.ms/downloadazcopy-v10-mace" | |
def install | |
bin.install "azcopy" | |
end | |
end |
Packer
-
Packer is used to build image from a base image, perform provisions and store (commit) the final image.
-
We use provisioners and Packer templates to do the actual work to create the final image.
-
We use Ansible for provisioning.
<?php | |
/** | |
* SplClassLoader implementation that implements the technical interoperability | |
* standards for PHP 5.3 namespaces and class names. | |
* | |
* http://groups.google.com/group/php-standards/web/final-proposal | |
* | |
* // Example which loads classes for the Doctrine Common package in the | |
* // Doctrine\Common namespace. |