Skip to content

Instantly share code, notes, and snippets.

View khayama-zz's full-sized avatar

Kyouhei Hayama khayama-zz

View GitHub Profile
@greyhoundforty
greyhoundforty / windows-dev-lab1.md
Last active July 28, 2020 13:40
Windows Dev Lab 1

Windows Dev Lunch

Pre-work

If you have about 15-20 minutes ahead of the lunch today go ahead and install WSL and Docker for Desktop

Install Windows Subsystem for Linux

The Windows Subsystem for Linux lets developers run a GNU/Linux environment -- including most command-line tools, utilities, and applications -- directly on Windows, unmodified, without the overhead of a traditional virtual machine or dualboot setup.

Note: You will be prompted to restart the machine after WSL feature is first installed. Choose not to restart until we have also installed Docker desktop.

@greyhoundforty
greyhoundforty / windows-cloud-init.yml
Last active July 12, 2020 09:31
IBM Cloud Windows VPC script to set Private DNS Resolvers
#ps1_sysnative
Set-DnsClientServerAddress -InterfaceIndex 3 -ServerAddresses 161.26.0.7, 161.26.0.8;
Clear-DnsClientCache;
@greyhoundforty
greyhoundforty / .gitlab-ci.yml
Created January 14, 2020 16:42
GitLab CI/CD example for IBM Cloud Terraform
image:
name: ibmterraform/terraform-provider-ibm-docker
entrypoint:
- '/usr/bin/env'
- 'PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
before_script:
- terraform init
stages:
{
".123" : "application/vnd.lotus-1-2-3",
".3dml" : "text/vnd.in3d.3dml",
".3g2" : "video/3gpp2",
".3gp" : "video/3gpp",
".a" : "application/octet-stream",
".aab" : "application/x-authorware-bin",
".aac" : "audio/x-aac",
".aam" : "application/x-authorware-map",
".aas" : "application/x-authorware-seg",