Skip to content

Instantly share code, notes, and snippets.

View bestander's full-sized avatar

Konstantin Raev bestander

  • St Augustine, Florida
View GitHub Profile
@bestander
bestander / keyboard.cfg
Last active August 5, 2017 07:50 — forked from Monroe88/keyboard.cfg
RetroArch keyboard mapping template
## RetroArch keybind config template
## Can be copypasted into an existing config, appended with --apppendconfig, used as a core or game override, or used with the include directive in an existing config
# Keyboard input. Will recognize letters (a to z) and the following special keys (where kp_
# is for keypad keys):
#
# left, right, up, down, enter, kp_enter, tab, insert, del, end, home,
# rshift, shift, ctrl, alt, space, escape, add, subtract, kp_plus, kp_minus,
# f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12,
# num0, num1, num2, num3, num4, num5, num6, num7, num8, num9, pageup, pagedown,
@bestander
bestander / gist:a8a07724138a7e89392de1a795a82ef9
Created March 9, 2017 17:50
When I need to make sure that people are on the same build tool for a project
"scripts": {
"preinstall": "if [[ '$npm_config_user_agent' != *'yarn'* ]]; then echo 'Use Yarn!'; exit 0; fi"
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
var a = 0;