Skip to content

Instantly share code, notes, and snippets.

View Tenkir's full-sized avatar
:shipit:
Ship It

Jonathan Blair Tenkir

:shipit:
Ship It
View GitHub Profile
@Tenkir
Tenkir / corne.keymap
Last active July 31, 2023 22:37
Corne Wireless Keymap
/ {
keymap {
compatible = "zmk,keymap";
default_layer {
// -----------------------------------------------------------------------------------------
// | ESC | Q | W | E | R | T | XX | Y | U | I | O | P | BKSP |
// | TAB | A | S | D | F | G | XX | H | J | K | L | ; | ' |
// | SHFT | Z | X | C | V | B | XX | N | M | , | . | / | ESC |
// | CTRL | LWR | SPC | XX | ENT | RSE | ALT |
@Tenkir
Tenkir / gist:ffe243b85ebb98e0910f
Last active August 29, 2015 14:26
Angular Oauth Popup Handling
this.socialLogin = function(provider) {
$window.$scope = $rootScope;
var url = urlBase + '/' + provider,
width = 1000,
height = 650,
top = (window.outerHeight - height) / 2,
left = (window.outerWidth - width) / 2,
interval = 1000;