Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Damien Guard damieng

🏠
Working from home
View GitHub Profile
View Compaq-G80-1800.kbd.json
[
{
"backcolor": "#000000",
"name": "Compaq G80-1800",
"author": "Damien Guard",
"background": {
"name": "ABS WFK",
"style": "background-image: url('/bg/plastic/abs-wfk.jpg');"
},
"switchMount": "cherry",
@damieng
damieng / Lightsaver-G80-1800-style.kbd.json
Last active Dec 16, 2016
Lightsaver G80-1800 style
View Lightsaver-G80-1800-style.kbd.json
[
{
"name": "Lightsaver G80-1800 style",
"author": "Damien Guard",
"background": {
"name": "Steel brushed dark",
"style": "background-image: url('/bg/metal/iron_texture1745.jpg');"
},
"switchMount": "cherry",
"switchBrand": "cherry",
@damieng
damieng / fix-wos-screenshots.user.js
Last active Mar 24, 2020
Make the World of Spectrum screenshots work again (a Greasemonkey script)
View fix-wos-screenshots.user.js
// ==UserScript==
// @name Fix WoS screenshots
// @namespace http://damieng.com
// @version 0.1
// @description Make the World of Spectrum screenshots work again
// @author Damien Guard
// @include https://www.worldofspectrum.org/*
// ==/UserScript==
var images = document.getElementsByTagName('img');
@marcind
marcind / gist:9512656
Last active Nov 11, 2020
Disable "Always start when debugging" for all projects in a solution
View gist:9512656
# Execute this in Nuget powershell console
get-project -all | %{ $_.Properties | ?{ $_.Name -eq "WebApplication.StartWebServerOnDebug"} | %{ $_.Value = $False } }
#
@bradwilson
bradwilson / get-hash.ps1
Created Jan 31, 2013
Hashing function for PowerShell
View get-hash.ps1
param(
[string]$pattern = "*.*",
[ValidateSet("md5", "sha1", "sha256", "sha384", "sha512")]$algorithm = "sha1",
[switch]$recurse
)
[Reflection.Assembly]::LoadWithPartialName("System.Security") | out-null
if ($algorithm -eq "sha1") {
$hashimpl = new-Object System.Security.Cryptography.SHA1Managed
View gist:4215933
[user]
name = Brad Wilson
email = dotnetguy@gmail.com
[alias]
a = add -A
abort = rebase --abort
amend = commit --amend -C HEAD
bl = blame -w -M -C
br = branch
cat = cat-file -t