Skip to content

Instantly share code, notes, and snippets.

View mcwienczek's full-sized avatar

Michael Cwienczek mcwienczek

View GitHub Profile
@mcwienczek
mcwienczek / CoreOS cluster on GCE.md
Created May 21, 2017 09:12
Setup a CoreOS cluster with fleet and etcd on Google Compute Engine.

Setup a CoreOS cluster on GCE

Setup a CoreOS cluster with fleet and etcd on Google Compute Engine.

  • Install gcutil and authorize it
  • Make sure your Google Cloud project has billing information
  • bash coreos-cluster-for-gce.sh {your project name}

Check the source of the script to see what actually happens.

@mcwienczek
mcwienczek / tmuxd
Last active October 2, 2016 10:57
Tmux shell script for creating new session, the first one that worked for me
#!/bin/sh
tmux new-session -s default -d
tmux new-window
tmux new-window
tmux new-window
tmux new-window
tmux new-window
tmux new-window
tmux new-window irssi
tmux -2 attach-session -t default -d
[core]
autocrlf = true
[user]
email = michael.cwienczek@gmail.com
name = Michal Cwienczek
[alias]
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
cm = "!git add -A && git commit -m"
st = status -s
# http://boxstarter.org/package/url?
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Enable-RemoteDesktop
# It's nice to be able to browse NuGet files if necessary
cinstm NugetPackageExplorer
# If we're doing web development, we need a few browsers
cinstm GoogleChrome
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
Enable-RemoteDesktop
Update-ExecutionPolicy Unrestricted
Disable-UAC
choco install git -y
choco install git-credential-winstore -y
choco install notepadplusplus.install -y
choco install firefox -y
choco install 7zip.install -y