Skip to content

Instantly share code, notes, and snippets.

View jbl0ndie's full-sized avatar
🤓

Jonathon Hodges jbl0ndie

🤓
View GitHub Profile
@wirtzdan
wirtzdan / roam-kanban.css
Created September 13, 2020 14:41
Better Kanban Styling Roam Research
.kanban-board {
background-color: #f2f5f9;
max-height: 600px;
overflow-x: auto;
overflow-y: auto;
}
.kanban-column {
background-color: transparent;
}
@njoerd114
njoerd114 / README.MD
Last active March 4, 2024 11:20
Sankey Diagram with Google Spreadsheets

Sankey Diagrams within Google Spreadsheets

This Gist is there to help you creating a Sankey Diagram from your Google Spreadsheets.

Installation

  • Open a spreadsheet
  • Click "Tools" -> "Scripts"
@oxr463
oxr463 / yaml2dot.py
Last active April 7, 2022 12:47 — forked from rchrd2/yaml2dot.py
YAML to Graphviz
#!/usr/bin/python
# vim: fileencoding=utf-8
# SPDX-License-Identifier: MIT
u"""Translate YAML written text to graphviz dot language
Input YAML text like below:
---
@christopheranderton
christopheranderton / macosx-contextmenu-automator-touch.md
Last active February 3, 2024 17:45
Add a simple ”Touch” Service to your context menu (Right-Click Menu) in MacOS X (Tested in Mac OS X 10.10.5, but should work in older and newer versions as well) with Automator.app
  1. Open up Automator.app located in your Applications folder.
  2. Choose ”Service” in the dialog sheet when creating a new document.
  3. In the Services receives selected: menu at the top of the ”Canvas” on the right, change to ”Files & Folders”.
  4. In the sidebar to the left, search for Get Selected Finder Items
  5. Drag this Action to the ”canvas” on the right side.
  6. Again, go to the sidebar at the left and this time search for Run Shell Script
  7. Drag the Run Shell Script action to the ”canvas” on the right side.
  8. At the right in the Run Shell Script action, change the Pass input from to stdin to as arguments
  9. Copy paste this into the action text box, removing the Cat command in the text box:
@kylemcdonald
kylemcdonald / suggest-all.py
Last active July 25, 2019 09:33
Google Suggest results for a query followed by the every string.lowercase letter.
import argparse
import string
import requests
import time
parser = argparse.ArgumentParser(
description='Get all Google Suggest results for a query.')
parser.add_argument('query')
parser.add_argument('--sleep', type=float, default=0.1)
parser.add_argument('--verbose', action='store_true')
@rc1
rc1 / generatePieMesh.h
Last active August 29, 2015 14:12
OpenFrameworks Pie Chart Example for Jon
#pragma once
#include "ofMain.h"
ofMesh generatePieMesh( float value, float radius = 10.f, float segments = 32 ) {
// Create our mesh.
ofMesh mesh;
mesh.setMode( OF_PRIMITIVE_TRIANGLE_FAN );
// Add the center point