This file contains 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
PAW Database : JEKYLL.sna | |
Extracted by UNPAWS32 v2.1 | |
General data | |
------------ | |
Locations 25 | |
Objects 15 |
This file contains 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
PAW Database : CrystalQuest.z80 | |
Extracted by UNPAWS32 v2.1 | |
General data | |
------------ | |
Locations 49 | |
Objects 60 |
This file contains 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
; Code by Mark Harris, published in Your Sinclair Issue 59 http://live.worldofspectrum.org/infoseek/magazines/your-sinclair/59#20 | |
; Disassembly and comments by Damien Guard. | |
ORG 28000 | |
; Setup pages to allow 48K ROM to be copied to RAM page 4. | |
DI | |
LD A,0x14 ; 48K ROM at 0x0000, RAM page 4 at 0xc000 | |
LD BC,0x7ffd ; 128K paging port | |
OUT (C),A ; Switch the pages |
This file contains 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/bash | |
fl5reg="HKCU\Software\FontLab\Studio 5\Directories" | |
for i in "$@" | |
do | |
name="${i%.*}" | |
echo Processing $name | |
pw preview "$i" . >> /dev/null | |
psf="${name}.psf" | |
vfb="${name}.vfb" | |
zx2psf "$i" "${psf}" --mode=move1 --graphics=none |
This file contains 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
<?xml version="1.0" encoding="UTF-16"?> | |
<Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"> | |
<RegistrationInfo> | |
<Date>2019-12-17T10:49:39.5675591</Date> | |
<URI>\Wake on WiFi</URI> | |
</RegistrationInfo> | |
<Triggers> | |
<EventTrigger> | |
<Enabled>true</Enabled> | |
<Subscription><QueryList><Query Id="0" Path="System"><Select Path="System">*[System[Provider[@Name='Microsoft-Windows-Power-Troubleshooter' or @Name='power'] and (EventID=1)]]</Select></Query></QueryList></Subscription> |
This file contains 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
import * as fs from 'fs'; | |
// Public: Download a file and store it on a file system using streaming with appropriate progress callback. | |
// | |
// * `sourceUrl` Url to download from. | |
// * `targetFile` File path to save to. | |
// * `progressCallback` Callback function that will be given a {ByteProgressCallback} object containing | |
// both bytesDone and percent. | |
// * `length` Optional file length in bytes for cases where the server will not supply the | |
// Content-Length header but the value is known in advance. Without either the |
This file contains 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
# Run this from Powershell as Administrator with (New-Object System.Net.WebClient).DownloadString("https://gist.github.com/damieng/881852e7112be7d97957/raw") | powershell -command - | |
Write-Output "Making Windows more developer oriented (Revision 26)..." | |
Set-ExecutionPolicy Unrestricted | |
if ([System.Environment]::OSVersion.Version.Major -ge 10) { | |
Write-Output " * Detected Windows 10" | |
Write-Output " * Removing Windows 10 bloatware" | |
$apps = @( | |
"Microsoft.3DBuilder" |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
</head> | |
<body> | |
<canvas id="myCanvas"></canvas> | |
<br> |
This file contains 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 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
// @flow | |
import fs from 'fs'; | |
export default async function download(sourceUrl: string, targetFile: string, progressCallback: ?ByteProgressCallback, length: ?number): Promise<void> { | |
const request = new Request(sourceUrl, { | |
headers: new Headers({'Content-Type': 'application/octet-stream'}) | |
}); | |
const response = await fetch(request); |