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
KBD USDamAlt "US Custom Alt-Symbols" | |
COPYRIGHT "None" | |
COMPANY "None" | |
LOCALENAME "en-US" | |
LOCALEID "00000409" |
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
{ | |
"keyboard_name": "mehkee96", | |
"url": "", | |
"maintainer": "qmk", | |
"layouts": { | |
"LAYOUT": { | |
"layout": [ | |
{ "label": "Esc", "x": 0, "y": 0 }, | |
{ "label": "F1", "x": 1, "y": 0 }, | |
{ "label": "F2", "x": 2, "y": 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
/* global fetch */ | |
export const handler = async (event, context) => { | |
// Validate parameters | |
const { firstName, lastName, email, message, token } = JSON.parse(event.body) | |
if (!firstName || !lastName || !email || !message || !token) { | |
return { statusCode: 400, body: JSON.stringify({ statusMessage: "Missing required fields" })} | |
} | |
// Validate captcha |
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
#pragma author DamienG | |
#pragma description Amstrad CPC/PCW, Sinclair ZX Spectrum +3 disk image | |
#pragma endian little | |
fn fdcSizeToByteCount(u8 sectorSize) { | |
return 2 << (sectorSize + 6); | |
}; | |
fn getSectorDataSize(u8 sector) { | |
return parent.sectorInfo[sector].sectorDataSize; |
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 { stringify } from "yaml" | |
export default { | |
async fetch(request: Request, env: Env, ctx: ExecutionContext): Promise<Response> { | |
// Make sure this is a POST to /post-comment | |
if (request.method !== "POST" || new URL(request.url).pathname !== "/post-comment") { | |
return new Response("Not found", { status: 404 }) | |
} | |
// We only accept form-encoded bodies |
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 | |
for i in "$@" | |
do | |
echo | |
echo Publishing ${i} | |
name="${i%.*}" | |
zip="${name}.zip" | |
rm -rf "${zip}" | |
# Folder cleanup |
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 | |
mkdir -p PC | |
psf="PC/${name}.psf" | |
vfb="PC/${name}.vfb" |
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 { stringify } from "yaml"; | |
export default { | |
async fetch( | |
request: Request, | |
env: Env, | |
ctx: ExecutionContext | |
): Promise<Response> { | |
// Make sure this is a POST to /post-comment | |
if ( |
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.Globalization; | |
using System.Text.RegularExpressions; | |
namespace MongoDB.EntityFrameworkCore; | |
/// <summary> | |
/// A variety of helper methods for creating names. | |
/// </summary> | |
public static partial class NamingHelperMethods | |
{ |
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'; | |
// 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. |
NewerOlder