Skip to content

Instantly share code, notes, and snippets.

View skylenet's full-sized avatar
🙃
😄

Rafael Matias skylenet

🙃
😄
View GitHub Profile
@skylenet
skylenet / xps_15_9570__dualboot_with_encryption__notes.md
Created August 6, 2019 18:31 — forked from mdziekon/xps_15_9570__dualboot_with_encryption__notes.md
XPS 15 9570 - DualBoot with Encryption (Windows 10 with BitLocker + Ubuntu 18.04 with LVM on LUKS)
  • Based on https://askubuntu.com/a/293029/286776
  • Installation date: 15-09-2018
  • Additional notes based on my own experience
  • The process describes a completely fresh installation with a complete repartitioning, however it should work fine when Windows is already installed (eg. brand new machine with Windows preinstalled).
  • The process was conducted on Dell's XPS 15 9570 (2018) with specs:
    • CPU: i7-8750H
    • Screen: 4K with Touch
    • RAM: 16 GB (original) / 32 GB (manually upgraded)
  • Drive: 512 GB (SK Hynix PC401)

Keybase proof

I hereby claim:

  • I am skylenet on github.
  • I am skylenet (https://keybase.io/skylenet) on keybase.
  • I have a public key whose fingerprint is 69F6 6EEA 7AE3 6CCB 77DD B8CA 1BC3 9532 FB4A 2DBD

To claim this, I am signing this object:

@skylenet
skylenet / run-swarm.sh
Created January 17, 2019 16:50
Deploy multiple private swarm clusters within the same k8s namespace
#!/bin/bash -xe
NAMESPACE=${VARIABLE:-rafael}
HELM_INSTALL="helm install --tiller-namespace=$NAMESPACE --namespace=$NAMESPACE"
HELM_UPDATE="helm upgrade --tiller-namespace=$NAMESPACE"
HELM_DELETE="helm delete --tiller-namespace=$NAMESPACE"
if [ $# -lt 1 ]; then
echo "Usage: NAMESPACE=your-namespace $0 [install|upgrade|delete] ..."
exit 1