Skip to content

Instantly share code, notes, and snippets.

View BerriJ's full-sized avatar
🌞

Jonathan Berrisch BerriJ

🌞
View GitHub Profile
@BerriJ
BerriJ / keymap.c
Created April 22, 2019 08:43 — forked from itspngu/keymap.c
keymap.c file for DZ60 PCB / Including code to facilitate sending nonstandard keys such as those used in some European languages from ANSI boards using "Alt Codes" which would usually be entered through the numpad.
#include "dz60.h"
#define MODS_SHIFT_MASK (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT))
enum custom_keycodes {
KX_UMLAUT_A = SAFE_RANGE,
KX_UMLAUT_O,
KX_UMLAUT_U,
KX_UMLAUT_S,
@BerriJ
BerriJ / app.R
Created August 28, 2019 08:13 — forked from PaulC91/app.R
return key trigger actionButton click in shiny example
library(shiny)
ui <- fluidPage(
tags$head(includeScript("returnClick.js")),
textInput("myText", "", placeholder = "Enter text then hit return", width = "100%"),
actionButton("myButton", "Go!"),
verbatimTextOutput("textOutput")