Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View ryan1234's full-sized avatar

Ryan Meyer ryan1234

  • Amazon
  • Orange County, CA
View GitHub Profile
mkdir -p /var/lib/dnx/idp3
cd /var/lib/dnx/idp3
git clone https://github.com/IdentityServer/IdentityServer3.Samples.git
cd ./IdentityServer3.Samples/source/AspNet5Host/src/IdentityServerAspNet5
dnu restore
apt-get -qqy install autoconf automake build-essential libtool
export LIBUV_VERSION=1.4.2
curl -sSL https://github.com/libuv/libuv/archive/v${LIBUV_VERSION}.tar.gz | tar zxfv - -C /usr/local/src && cd /usr/local/src/libuv-$LIBUV_VERSION && sh autogen.sh && ./configure && make && make install && cd ~ && rm -rf /usr/local/src/libuv-$LIBUV_VERSION && ldconfig
export DNX_VERSION=1.0.0-beta7
export DNX_USER_HOME=/opt/dnx
mkdir -p /opt/dnx
curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | DNX_USER_HOME=$DNX_USER_HOME DNX_BRANCH=v$DNX_VERSION sh
bash -c "source $DNX_USER_HOME/dnvm/dnvm.sh && dnvm install $DNX_VERSION -a default && dnvm alias default | xargs -i ln -s $DNX_USER_HOME/runtimes/{} $DNX_USER_HOME/runtimes/default"
export PATH=$PATH:$DNX_USER_HOME/runtimes/default/bin
# Installing Mono 4.0.4
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
sudo apt-get install -y mono-devel ca-certificates-mono fsharp nuget curl unzip git
### Keybase proof
I hereby claim:
* I am ryan1234 on github.
* I am ryan1234 (https://keybase.io/ryan1234) on keybase.
* I have a public key whose fingerprint is 4BA2 7770 F682 B60B DB3D 49B1 E9D5 F940 1D78 BD1E
To claim this, I am signing this object:
/* TODO - This seriously needs to be refactored with the knockout mapping plugin in the future */
(function ()
{
if (!window.SB.VideoStream)
{
window.SB.VideoStream = {};
}
var vm = function ()