Skip to content

Instantly share code, notes, and snippets.

View jwsy's full-sized avatar
🇺🇸

Jason Yee jwsy

🇺🇸
View GitHub Profile
@jwsy
jwsy / Minikube start.log
Last active February 3, 2020 03:40
Minikube start
PS C:\Users\jyee> minikube start --cpus 4 --memory 4096
* minikube v1.6.2 on Microsoft Windows 10 Pro 10.0.18362 Build 18362
* Selecting 'hyperv' driver from existing profile (alternates: [virtualbox])
* Creating hyperv VM (CPUs=4, Memory=4096MB, Disk=20000MB) ...
* Preparing Kubernetes v1.17.0 on Docker '19.03.5' ...
* Downloading kubeadm v1.17.0
* Downloading kubelet v1.17.0
* Pulling images ...
* Launching Kubernetes ...
* Waiting for cluster to come online ...
@jwsy
jwsy / chocolatey.log
Created February 2, 2020 21:33
Chocolatey log
PS C:\Users\jyee> Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
Getting latest version of the Chocolatey package for download.
Getting Chocolatey from https://chocolatey.org/api/v2/package/chocolatey/0.10.15.
Downloading 7-Zip commandline tool prior to extraction.
Extracting C:\Users\jyee\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip to C:\Users\jyee\AppData\Local\Temp\chocolatey\chocInstall...
Installing chocolatey on this machine
Creating ChocolateyInstall as an environment variable (targeting 'Machine')
Setting ChocolateyInstall to 'C:\ProgramData\chocolatey'
WARNING: It's very likely you will need to close and reopen your shell
before you can use choco.
@jwsy
jwsy / setup_pandas_notebook.sh
Last active December 21, 2015 05:48
Install IPython, numpy, scipy, pandas, statsmodels, and scikit-learn on OSX 10.8 so I can run the code in LearnDataScience by @nborwankar (http://opendst.org/) Inspired by @westurner
#!/bin/sh
# Adapted from https://gist.github.com/westurner/3196564
# Package versions as of 9/14/2013, assumes that you've installed a virtualenv
setup_brew () {
if [ ! -f "/usr/local/bin/brew" ]; then
/usr/bin/ruby -e "$(/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"
fi