Skip to content

Instantly share code, notes, and snippets.

Konstantin Raev bestander

View GitHub Profile
@bestander
bestander / keyboard.cfg
Last active Aug 5, 2017 — forked from Monroe88/keyboard.cfg
RetroArch keyboard mapping template
View keyboard.cfg
## 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 Mar 9, 2017
When I need to make sure that people are on the same build tool for a project
View gist:a8a07724138a7e89392de1a795a82ef9
"scripts": {
"preinstall": "if [[ '$npm_config_user_agent' != *'yarn'* ]]; then echo 'Use Yarn!'; exit 0; fi"
}
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
var a = 0;
You can’t perform that action at this time.