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 / 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;
@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 |
---
name: knowledge-base
description: "Maintains and consults a personal Obsidian-style markdown knowledge base structured as a navigable graph (atomic notes, YAML frontmatter, wikilinks, hierarchical tags, Maps of Content), so agents can traverse it as graphRAG and pick up where prior sessions left off without the user repeating themselves. Use this skill aggressively whenever the user mentions a project, company, person, ongoing investigation, or recurring topic by name, whenever the user says \"log this\", \"remember this\", \"wrap up\", \"load context\", \"check the wiki\", \"check the knowledge base\", or similar, and whenever the user provides a durable fact (a decision, a preference, a stable piece of context, a partnership, a recurring constraint) that future agents would benefit from knowing. Also use it proactively at the start of any substantive conversation about work, strategy, analytics, or planning to load relevant prior context, and mid-conversation whenever you realize you're missing context