Skip to content

Instantly share code, notes, and snippets.

body.theme-mastodon-light form.compose-form div.autosuggest-textarea {
background-color: white;
}
body.theme-mastodon-light form.compose-form div.compose-form__autosuggest-wrapper {
background-color: white !important;
border: 1px solid var(--color-mud);
border-radius: 5px;
}
#include <Encoder.h>
#include <Bounce.h>
#include <Keyboard.h>
const int pinClk = 6;
const int pinDt = 7;
const int prevButton = 8;
const int nextButton = 9;
const int pinButton = 10;
#include <Servo.h>
#include <ESP8266WiFi.h>
#include <PubSubClient.h>
const int servo_pin = D6;
const char* ssid = "<your WiFi SSID>";
const char* password = "<your WiFi password>";
const char* mqtt_server = "<your MQTT server name or IP>";
const char* mqtt_client_name = "hue_bar_base_1";
const char* mqtt_topic_pub = "lightbar/1/stat";
@aaronbieber
aaronbieber / not-a-tramp-file-name.trace.el
Created September 3, 2018 10:49
Lisp error while attempting helm-find-files
Debugger entered--Lisp error: (error "In ‘Find Files’ source: ‘helm-find-files-get-candidates’ \n (user-error \"Not a Tramp file name: \\\"/copernicus:\\\"\")")
signal(error ("In ‘Find Files’ source: ‘helm-find-files-get-candidates’ \n (user-error \"Not a Tramp file name: \\\"/copernicus:\\\"\")"))
error("In `%s' source: `%s' %s %s" "Find Files" helm-find-files-get-candidates "\n" "(user-error \"Not a Tramp file name: \\\"/copernicus:\\\"\")")
#f(compiled-function (source candidate-fn candidate-proc &optional e) #<bytecode 0x410a42e9>)(((name . "Find Files") (resume lambda nil (helm-ff-setup-update-hook) (setq helm-ff-default-directory "/" helm-ff-last-expanded nil)) (header-name lambda (name) (concat name (substitute-command-keys helm-find-files-doc-header))) (init lambda nil (setq helm-ff-auto-update-flag helm-ff-auto-update-initial-value) (setq helm-ff--auto-update-state helm-ff-auto-update-flag) (helm-set-local-variable 'bookmark-make-record-function (function helm-ff-make-bookmark-record)) (require
const express = require('express')
const app = express()
const config = require('./config');
const request = require('request');
app.get('/', (req, res) => {
//this will check if the code parameter is in the url, if not the
//most likely case is that this is the user's inital visit to oauth
//and we need to redirect them (Step 1) if there is a code, it most
//likely means they were redirected here from zoom oauth screen
2018-08-05 10:12:43,341 /home/pi/oprint/bin/python -m pip install https://github.com/foosel/OctoPrint/archive/1.3.9.zip
2018-08-05 10:12:46,792 > Collecting https://github.com/foosel/OctoPrint/archive/1.3.9.zip
2018-08-05 10:12:48,795 > Downloading https://github.com/foosel/OctoPrint/archive/1.3.9.zip (5.0MB)
2018-08-05 10:12:55,736 > Requirement already satisfied (use --upgrade to upgrade): flask<0.11,>=0.10.1 in /home/pi/oprint/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg (from OctoPrint==1.3.9)
2018-08-05 10:12:55,737 > Requirement already satisfied (use --upgrade to upgrade): Jinja2<2.9,>=2.8.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.3.9)
2018-08-05 10:12:55,738 > Requirement already satisfied (use --upgrade to upgrade): werkzeug<0.9,>=0.8.3 in /home/pi/oprint/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg (from OctoPrint==1.3.9)
2018-08-05 10:12:55,738 > Requirement already satisfied (use --upgrade to upgrade): tornado==4.5.3 in /home/pi/oprint/lib/python2.7/site-p
2018-08-04 15:17:16,821 - octoprint.server - INFO - --- Log roll over detected ---------------------------------------------------
2018-08-04 15:17:16,821 - octoprint.server - INFO - OctoPrint 1.3.8
2018-08-04 15:17:16,824 - octoprint.plugin.core - INFO - 15 plugin(s) registered with the system:
| Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/announcements
| Autoselect Plugin (0.2.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_autoselect
| Core Wizard (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/corewizard
| !CuraEngine (<= 15.04) (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/cura
| Custom Control Editor (0.2.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_customControl
| Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/discovery
| Logging (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/logging
@aaronbieber
aaronbieber / cvimrc
Last active August 29, 2015 14:10
cvimrc
map H previousTab
map L nextTab
let blacklists = ["https://inbox.google.com/*", "http://www.reddit.com/*", "https://mail.google.com/*", "https://inbox.google.com/*", "http://apps.pixlr.com/*", "https://docs.google.com/*", "https://archive.org/*"]

Keybase proof

I hereby claim:

  • I am aaronbieber on github.
  • I am aaronbieber (https://keybase.io/aaronbieber) on keybase.
  • I have a public key whose fingerprint is A76D F8F7 738A CB04 376D 33B3 86ED B6C5 BCF7 C053

To claim this, I am signing this object:

@aaronbieber
aaronbieber / funky-search.el
Last active February 11, 2016 10:59
Emacs jump to PHP function.
;; This is an attempt to mimic what the "CtrlP Funky" plug-in
;; for Vim does, allowing a "fuzzy search" of functions within
;; the current buffer.
;;
;; Because this uses completing-read (in my config., this is
;; handled by helm, which is awesome), it isn't actually
;; "fuzzy," but it gets the job done.
;;
;; Note: This is my first real attempt at writing elisp so it
;; might not be "proper."