Skip to content

Instantly share code, notes, and snippets.

View lucas-dclrcq's full-sized avatar
💭
I may be slow to respond.

Lucas Declercq lucas-dclrcq

💭
I may be slow to respond.
View GitHub Profile
@pascalvree
pascalvree / interesting-books.md
Last active September 1, 2020 07:16
Shortlist of IT-Related Books that influenced me
At this time Audible doesn't yet allow for sharing the titles in your personal library, which is why I put up some titles here. Feel free to add titles in the comments that influenced you :)

Shortlist of IT-Related Books that influenced me

Thought provoking stories

  • Turn the Ship Around!: A True Story of Turning Followers into Leaders
  • The Unicorn Project: A Novel About Developers, Digital Disruption, and Thriving in the Age of Data
  • The Phoenix Project: A Novel about IT, DevOps, and Helping Your Business Win 5th Anniversary Edition
@ales-tsurko
ales-tsurko / install-alacritty-ubuntu.sh
Last active October 13, 2021 20:27 — forked from Aaronmacaron/install-alacritty-ubuntu.sh
Install Alacritty on Ubuntu
#!/bin/bash
# This installs alacritty terminal on ubuntu (https://github.com/jwilm/alacritty)
# You have to have rust/cargo installed for this to work
# Install required tools
sudo apt-get install -y cmake libfreetype6-dev libfontconfig1-dev xclip
# Download, compile and install Alacritty
git clone https://github.com/jwilm/alacritty
@squidpickles
squidpickles / README.md
Last active January 31, 2024 12:48
Multi-platform (amd64 and arm) Kubernetes cluster

Multiplatform (amd64 and arm) Kubernetes cluster setup

The official guide for setting up Kubernetes using kubeadm works well for clusters of one architecture. But, the main problem that crops up is the kube-proxy image defaults to the architecture of the master node (where kubeadm was run in the first place).

This causes issues when arm nodes join the cluster, as they will try to execute the amd64 version of kube-proxy, and will fail.

It turns out that the pod running kube-proxy is configured using a DaemonSet. With a small edit to the configuration, it's possible to create multiple DaemonSets—one for each architecture.

Steps

Follow the instructions at https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/ for setting up the master node. I've been using Weave Net as the network plugin; it see

@shawngustaw
shawngustaw / gist:0d6161249538bb618624
Last active October 15, 2017 16:24
How to Sideload Google Apps on CopperheadOS
Disclaimer: I am not associated with Copperhead and this is not supported by them WHATSOEVER, nor is this guaranteed to work.
This has worked for me though.
1. Download gapps from http://opengapps.org/
The Nexus 5 has uses ARM (not 64-bit) and cOS is currently running Android Marshmallow (6.0).
2. Download the latest version of TWRP (as of now v3.0)
https://dl.twrp.me/hammerhead/twrp-3.0.0-0-hammerhead.img.html
@sloria
sloria / bobp-python.md
Last active April 17, 2024 09:35
A "Best of the Best Practices" (BOBP) guide to developing in Python.

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General

Values

  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens
@willurd
willurd / web-servers.md
Last active April 18, 2024 14:15
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@magnetikonline
magnetikonline / README.md
Last active March 14, 2024 22:48
IE 7/8/9/10/11 Virtual machines from Microsoft - Linux w/VirtualBox installation notes.