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
[ | |
"Ada Lovelace", | |
"Marie Curie", | |
"Janaki Ammal", | |
"Chien-Shiung Wu", | |
"Katherine Johnson", | |
"Rosalind Franklin", | |
"Vera Rubin", | |
"Gladys West", | |
"Flossie Wong-Staal", |
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
{ | |
..., | |
"vim.handleKeys": { | |
"<C-k>": false, | |
"<C-w>": false, | |
"<C-r>": false, | |
"<C-b>": false, | |
"<C-v>": false | |
}, | |
..., |
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
/// Problem: there is a lot of duplication in function implementations. | |
/// The two types should have the same interface but use a different underlying type. | |
/// | |
/// How can I reduce the amount of duplication and avoid having to update the code in two places? | |
/// In other languages, I would define a base class which accepts a generic type for the `SoundSource`s | |
/// but I don't know how to solve this sort of problem in Rust. | |
struct Sound { | |
// Shared properties | |
is_playing: bool, |
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 Programming Fonts Controls | |
// @namespace https://mcluck90.github.io/ | |
// @version 1.0 | |
// @description Allow you to control the Programming Fonts Test Drive with your keyboard | |
// @author You | |
// @match http://app.programmingfonts.org/ | |
// @grant none | |
// ==/UserScript== |
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 | |
# Runs JSHint on your JS files before a commit | |
# Place in .git/hooks/pre-commit and chmod +x .git/hooks/pre-commit | |
if git rev-parse --verify HEAD >/dev/null 2>&1; then | |
against=HEAD | |
else | |
# Initial commit: diff against an empty tree object | |
against=4b825dc642cb6eb9a060e54bf8d69288fbee4904 | |
fi |