git filter-branch --env-filter 'if [ "$GIT_AUTHOR_EMAIL" = "koaps" ]; then
[email protected];
GIT_AUTHOR_NAME="Koaps";
GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL;
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Specify minimum Vagrant version and Vagrant API version | |
Vagrant.require_version '>= 1.9.1' | |
VAGRANTFILE_API_VERSION = '2' | |
# Require 'yaml' module | |
require 'yaml' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALL_ACTIONS := build up down clean | |
ALL_TARGETS := proxy | |
DO_A := $(filter $(ALL_ACTIONS),$(MAKECMDGOALS)) | |
DO_T := $(filter $(ALL_TARGETS),$(MAKECMDGOALS)) | |
.DEFAULT_GOAL := all | |
actions := $(strip $(if $(DO_A), $(DO_A), up)) | |
targets := $(strip $(if $(DO_T), $(DO_T), $(ALL_TARGETS))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Run as user `ubuntu` from the Ubuntu Desktop installer's live environment. | |
sudo apt-add-repository universe | |
sudo apt update | |
passwd ubuntu | |
sudo apt install --yes openssh-server screen vim | |
ip addr show scope global | grep inet |
The Raspberry Pi foundation have now released a beta version of an official 64-bit Kernel which can be installed using the rpi-update script. The rpi-update script can be found at https://github.com/Hexxeh/rpi-update/blob/master/rpi-update or through the Raspbian repositories
The objective of these instructions is to build a stock 64bit Linux Kernel for use on the Raspberry Pi 4B on a Debian x64 machine (Windows Subsystem for Linux in my case), and deploy on the Raspberry Pi.
Notes:
- Transfer to Pi is using my NAS in this example, replace with shared drive/memory stick etc. as required.
- (N: drive on Windows and /mnt/NAS on Linux in this example).
- For a specific Kernel version replace the 4.19 with the wanted version in the git clone command.
- Greater than 3GB RAM only currently available on Kernel 4.19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Remove the history from | |
rm -rf .git | |
-- recreate the repos from the current content only | |
git init | |
git add . | |
git commit -m "Initial commit" | |
-- push to the github remote repos ensuring you overwrite history | |
git remote add origin [email protected]:<YOUR ACCOUNT>/<YOUR REPOS>.git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream warehouse_inventory { | |
zone inventory_service 64k; | |
server 10.0.0.1:80; | |
server 10.0.0.2:80; | |
server 10.0.0.3:80; | |
} | |
upstream warehouse_pricing { | |
zone pricing_service 64k; | |
server 10.0.0.7:80; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install pyenv (OSX) - https://github.com/pyenv/pyenv | |
brew install pyenv | |
# Install Python build requirements | |
brew install openssl readline sqlite3 xz zlib tcl-tk | |
# Install python 3.12.1 | |
PYTHON_CONFIGURE_OPTS="--disable-ipv6 --enable-optimizations --enable-shared" pyenv install 3.12.1 | |
# Set global version |