Skip to content

Instantly share code, notes, and snippets.

View lukescammell's full-sized avatar

Luke Scammell lukescammell

View GitHub Profile
[
{
"backcolor": "#7cccd6",
"name": "MiniVan 40%",
"author": "Luke Scammell",
"switchMount": "cherry",
"switchBrand": "gateron",
"switchType": "KS-3-White",
"plate": true
},
@garywoodfine
garywoodfine / pbcopyfy
Last active March 13, 2025 00:52
Simple Script to configure pbcopy like functionality on ubuntu
#!/bin/sh
# Copyright (C) 2009-2017 Three Nine Consulting
# Always good practice to update packages. However ask user if they would like to do so
# For explanation on how this works and why check out https://garywoodfine.com/use-pbcopy-on-ubuntu/
read -p "Do you want to update your package repositories before proceeding ? " -n 1 -r
echo #adding new line
if [[ $REPLY =~ ^[Yy]$ ]]
then
sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y
fi
@lukescammell
lukescammell / user-profile.cmd
Last active October 10, 2022 19:29
This enables portable SSH keys in cmder, enabling you to have full SSH access using cmder portably on a USB (for example). Please note that when you ssh-keygen, it will still default to %USERPROFILE%, so you will either have to change the path on generation, or manually move the keys to your %CMDER_ROOT%\config\.ssh directory.
:: use this file to run your own startup commands
:: use in front of the command to prevent printing the command
:: call "%GIT_INSTALL_ROOT%/cmd/start-ssh-agent.cmd"
:: set "PATH=%CMDER_ROOT%\vendor\whatever;%PATH%"
:: LS 2017-09-12_17.35.11
:: ======================
:: Copied from %CMDER_ROOT%\vendor\init.bat
@lukescammell
lukescammell / RedScarf-III-84-_RS84_.kbd.json
Last active July 29, 2024 14:48
RedScarf III 84 (RS84)
[
{
"name": "RedScarf III 84 (RS84)",
"author": "Luke Scammell ([email protected])",
"switchMount": "cherry",
"switchBrand": "gateron",
"switchType": "KS-3-White",
"plate": true
},
[
@fevangelou
fevangelou / install_nano_on_macos_without_homebrew.sh
Last active February 18, 2025 16:51
Install Nano Editor (with syntax highlighting) on MacOS without using Homebrew [updated Jan 2024]
#!/bin/bash
# Install Nano Editor (with syntax highlighting) on MacOS without using Homebrew
# You can get the latest version number from https://www.nano-editor.org
# Instructions:
# - First off, download this Bash script from the browser & make it executable:
# $ chmod +x install_nano_on_macos_without_homebrew.sh
# - If you have "wget" installed (you most likely do), just run the script with:
# $ ./install_nano_on_macos_without_homebrew.sh
[
{
"backcolor": "#ffffff",
"name": "Nuphy Air 60 v2",
"author": "scammell.co.uk/nuphy-air60v2",
"radii": "20px",
"switchMount": "cherry",
"plate": true
},
[
@lukescammell
lukescammell / Drop-_-OLKB-Planck-v7.kbd.json
Last active August 17, 2024 14:07
Drop + OLKB Planck v7
[
{
"backcolor": "#950013",
"name": "Drop + OLKB Planck v7",
"author": "scammell.co.uk/drop+olkb-planck-v7",
"switchMount": "cherry",
"plate": true
},
[
{