Skip to content

Instantly share code, notes, and snippets.

View mrthomaskim's full-sized avatar
💭
🔢

Thomas Kim mrthomaskim

💭
🔢
View GitHub Profile
@mrthomaskim
mrthomaskim / Enable-wttr.in-for-PowerShell
Created February 24, 2016 15:32 — forked from chubin/Enable-wttr.in-for-PowerShell
How to enable wttr.in in a PowerShell console
# To enable ANSI sequences in a PowerShell console run the following commands.
# After that you can use wttr.in in you PowerShell just lake that:
# (curl http://wttr.in/ -UserAgent "curl" ).Content
#
# More on it:
# http://stknohg.hatenablog.jp/entry/2016/02/22/195644 (jp)
#
Add-Type -MemberDefinition @"
[DllImport("kernel32.dll", SetLastError=true)]

Keybase proof

I hereby claim:

  • I am mrthomaskim on github.
  • I am masboi (https://keybase.io/masboi) on keybase.
  • I have a public key whose fingerprint is D160 CEF9 4501 F03B 5F1D D67C 7D00 2AE0 EE1B C82D

To claim this, I am signing this object:

@mrthomaskim
mrthomaskim / install-Python-AmazonLinux-20171023.log
Created June 13, 2018 20:44
Amazon Linux AMI, pyenv, virtualenv, Python, ... Hello, World!
### prerequisites
sudo yum groupinstall "Development Tools"
git --version
gcc --version
bash --version
python --version # (system)
sudo yum install -y openssl-devel readline-devel zlib-devel
sudo yum update
### install `pyenv`