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
JASC-PAL | |
0100 | |
256 | |
0 0 0 | |
0 0 85 | |
85 0 0 | |
85 0 85 | |
0 85 0 | |
0 85 85 | |
85 85 0 |
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
using System; | |
using System.Collections.Generic; | |
using System.Globalization; | |
using System.IO; | |
using System.Linq; | |
using System.Text.RegularExpressions; | |
namespace ConsoleApp8 | |
{ | |
class Program |
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
Princeton proprietary 25 pin connector pinout | |
1 - GROUND TTL 2 - RED 2 OR GND TTL | |
RED ANALOG GRN ANALOG | |
3 - RED TTL 4 - GRN TTL | |
BLUE ANALOG COMP-HORIZ-SYNC | |
5 - BLUE TTL 6 - GRN 2 OR INTENSITY TTL | |
PCG MODE ANALOG GND ANALOG | |
7 - BLUE 2 TTL 8 - HORIZ-SYNC TTL | |
GND ANALOG GND ANALOG |
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
VIDI | |
ROMBO PRODUCTIONS | |
VIDI-ZX | |
VIDEO DIGITISER FOR ZX-SPECTRUM |
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
{ | |
"name":"Ultrawide 6 section", | |
"rules":[ | |
{ | |
"dock":{ | |
"monitor":0, | |
"values":[ | |
0, | |
0, | |
33, |
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); |
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
<!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
# 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
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 |