This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# md-toc.sh | |
############ | |
# Generates a Table of Contents getting a markdown file as input. | |
# | |
# Inspiration for this script: | |
# https://medium.com/@acrodriguez/one-liner-to-generate-a-markdown-toc-f5292112fd14 | |
# | |
# The list of invalid chars is probably incomplete, but is good enough for my | |
# current needs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Insert this at the end of /etc.defaults/ddns_provider.conf | |
[Namecheap] | |
modulepath=/usr/syno/bin/ddns/namecheap.php | |
queryurl=https://dynamicdns.park-your-domain.com/update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Starting debug for 'BibDeskQuery' | |
[2018-08-15 11:08:36][ERROR: input.scriptfilter] Code 1: 11:08:36 workflow.py:2249 DEBUG ---------- BibDeskQuery ---------- | |
11:08:36 workflow.py:2266 ERROR [Errno 2] No such file or directory: '/Users/ooo/Library/Caches/Metadata/edu.ucsd.cs.mmccrack.bibdesk/' | |
Traceback (most recent call last): | |
File "/Users/ooo/Dropbox/Share/Applications/Alfred.alfredpreferences/workflows/user.workflow.0938D69A-FE79-4449-8D32-1A51FDDFD0AE/workflow/workflow.py", line 2259, in run | |
func(self) | |
File "bibquery.py", line 532, in main | |
filter(queries, scope, wf) | |
File "bibquery.py", line 510, in filter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.3.0.rc.1) | |
// Compass (v0.13.alpha.10) | |
// ---- | |
/* | |
A slightly more automated approach to BEM modifier classes: | |
using '&' parent selector interpolation, modifiers extend their bases, | |
so that HTML markup requires only the modifier class not the base *and* modifier | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Jekyll Dev Only Tag | |
# | |
# Author : Colin Kennedy | |
# Usage : | |
# | |
# The markup/script/css included within the `devonly` tags | |
# is included in the rendered page when either: | |
# | |
# * `server` mode is used |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Evoluent VerticalMouse</name> | |
<appendix>All customizations only apply for the Evoluent VerticalMouse.</appendix> | |
<!-- | |
Hold Key Modifiers | |
- Button 1: none | |
- Button 6: ⌘⌥⇧⌃ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "AAA Demo – Tap, Hold & Secondary Function", | |
"rules": [ | |
{ "description": "Button4 ••• CLICK=> Show Desktop, HOLD=> Mission Control & SECONDARY FUNCTIONS •••••••••••••••••• (HOLD+BUTTON1=> Next Tab, HOLD+BUTTON2=> Previous Tab, HOLD+BUTTON3=> Close Window, HOLD+BUTTON5=> Panic Button)", | |
"manipulators": [ | |
{ | |
"from": { | |
"pointing_button": "button4", | |
"modifiers": { | |
"optional": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Paths | |
fb_bin="/usr/local/bin/filebot" | |
fb_log="$HOME/.logs/filebot.log" | |
fb_exclude="$HOME/.logs/filebot_processed.txt" | |
fb_library="/PATH-TO-VIDEOS" | |
fb_source="/PATH-TO-DESTINATION" | |
plex_ip="IP-HERE" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Demonstrates how to use double keys | |
// hold q = 1, tap q = q | |
// hold Q = !, tap Q = Q | |
// | |
// hold shift = shift, tap shift = ~ | |
// hold ctrl = ctrl, tap ctrl = ! | |
#include "planck.h" | |
#include "timer.h" // Have to include timer for timer_read and timer_elapsed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Evoluent VerticalMouse</name> | |
<appendix>All customizations only apply for the Evoluent VerticalMouse.</appendix> | |
<appendix>Note: button 4 (the mouse scroll button) and button 5 are swapped in Karabiner. I still use the default Evoluent labeling.</appendix> | |
<devicevendordef> | |
<vendorname>EVOLUENT</vendorname> | |
<vendorid>0x1a7c</vendorid> | |
</devicevendordef> |
NewerOlder