Skip to content

Instantly share code, notes, and snippets.

@tomdaley92
tomdaley92 / README.md
Last active March 29, 2025 09:08
The Renter's Home Lab

The Renter's Home Lab

Motivation

      Shortly after starting my career in IT, my team started to embrace the DevOps mentality and it's been pretty hard to look back. As a developer in today's world, I feel lucky and empowered to have access to tools like Ansible & Terraform, so a big part of this is fueled by a desire to strengthen my DevOps skills. Personally, I have found that wearing many hats is key to becoming a more well-rounded programmer as well. And that means learning about all the pieces involved, not just the application layers. So the days of working in a black box are over for me!

      Over time, I also became much more educated on the issues of data privacy and how we blindly trust Tech Giants to not misuse our information. It worries me that often times we are not even aware there is any manipulation happening. I think that fear, combined w

@OkoyaUsman
OkoyaUsman / Office_kms
Created July 4, 2019 05:36 — forked from CHEF-KOCH/KMS_office.cmd
KMS server Windows
cd\Program Files\Microsoft Office\Office16
cd\Program Files (x86)\Microsoft Office\Office16
cscript OSPP.VBS /sethst:kms.digiboy.ir
cscript OSPP.VBS /actcscript OSPP.VBS /dstatus
slmgr.vbs /ckms
@justF-2077
justF-2077 / update_vscode.sh
Last active October 16, 2021 23:49
Automatically updates Visual Studio Code by downloading the latest version and replacing the currently installed version with it.
notify-send "Updating Visual Studio Code..."
# killing VS Code will give you a crash message and will reopen it
# it's also unsafe because you might lose unsaved data
# pkill code
# automatically gets the latest version of VS Code
wget "https://update.code.visualstudio.com/latest/linux-x64/stable"
# remove currently installed version of VS Code and replace it with the new downloaded one
@dannyroberts
dannyroberts / preserving-history.md
Last active May 16, 2025 10:26
Moving files with git read-tree to preserve history

Did you know...

...that git lets you move and rename whole directories while preserving the git history of those files?

If you run

git read-tree --prefix=$NEW_PATH -u master:$OLD_PATH
rm -rf $OLD_PATH
# ...you probably want to change some imports...
git commit -m $MESSAGE
@threedaymonk
threedaymonk / keynote.xslt
Created April 20, 2011 16:05
Spring data from Apple's Keynote hoosegow.
<?xml version="1.0" encoding="UTF-8"?>
<!--
Convert an Apple Keynote file to HTML
=====================================
Keynote files are zip archives containing an XML index and various resources.
Usage: