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
@echo on | |
mkdir target\scratch | |
REM need control to return, so use cmd /c | |
cmd /c ^ | |
emcc ^ | |
-s WASM=1 ^ | |
-s TOTAL_MEMORY=33554432 ^ | |
-s ALLOW_MEMORY_GROWTH=1 ^ |
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
[ | |
{ | |
"backcolor": "#000000", | |
"name": "Compaq G80-1800", | |
"author": "Damien Guard", | |
"background": { | |
"name": "ABS WFK", | |
"style": "background-image: url('/bg/plastic/abs-wfk.jpg');" | |
}, | |
"switchMount": "cherry", |
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
[ | |
{ | |
"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", |
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
// ==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'); |
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
# Execute this in Nuget powershell console | |
get-project -all | %{ $_.Properties | ?{ $_.Name -eq "WebApplication.StartWebServerOnDebug"} | %{ $_.Value = $False } } | |
# |
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
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 |
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
[user] | |
name = Brad Wilson | |
email = [email protected] | |
[alias] | |
a = add -A | |
abort = rebase --abort | |
amend = commit --amend -C HEAD | |
bl = blame -w -M -C | |
br = branch | |
cat = cat-file -t |