Skip to content

Instantly share code, notes, and snippets.

View boneskull's full-sized avatar
💀

Christopher Hiller boneskull

💀
View GitHub Profile
@boneskull
boneskull / deluge-web.service
Created January 16, 2017 15:56
deluge-web systemd service
[Unit]
Description=Deluge Bittorrent Web Daemon
After=network-online.target
[Service]
User=boneskull
Group=dialout
Type=simple
ExecStart=/usr/bin/deluge-web -l /var/log/deluge/web.log -L info
Restart=on-failure
@boneskull
boneskull / deluged.service
Created January 16, 2017 15:56
deluged systemd service
[Unit]
Description=Deluge Bittorrent Client Daemon
After=network-online.target openvpn@my-vpn.service
[Service]
User=boneskull
Group=dialout
Type=simple
ExecStart=/usr/bin/deluged -d -l /var/log/deluge/daemon.log -L info
TimeoutStopSec=300
@boneskull
boneskull / manifest.json
Last active January 4, 2017 06:33
temporary manifest file for oakcli in platform-espressif8266
{
"tool-oakcli": [
{
"url": "https://github.com/digistump/OakCLI/releases/download/1.0.2/oakcli-1.0.2-linux32.tar.gz",
"version": "1.0.2",
"sha1": "2986360a0bb79462402d6b4817347e95538a4484",
"system": [
"linux_i686"
]
},
@boneskull
boneskull / README.md
Last active November 8, 2023 20:31
user launch agent to update & upgrade Homebrew daily

org.boneskull.homebrew-upgrade

This launch agent will automatically update & upgrade Homebrew every day. Upon success, it will send a notification.

UPDATED Nov 7 2023

Installation

  1. Install Homebrew.
  2. Install terminal-notifier. Execute brew install terminal-notifier.
@boneskull
boneskull / threadDump.txt
Created October 3, 2016 21:41
com.vladsch.idea.multimarkdown bug
"AWT-EventQueue-0 2016.3#WS-163.4830.19 WebStorm, eap:true, os:Mac OS X 10.12, java-version:JetBrains s.r.o 1.8.0_112-release-b340" prio=0 tid=0x0 nid=0x0 runnable
java.lang.Thread.State: RUNNABLE
at com.vladsch.idea.multimarkdown.highlighter.MultiMarkdownHighlighterColors.migrateAttributes(MultiMarkdownHighlighterColors.java:216)
at com.vladsch.idea.multimarkdown.MultiMarkdownPlugin.initComponent(MultiMarkdownPlugin.kt:133)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:495)
at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:124)
at com.intellij.openapi.application.impl.ApplicationImpl.a(ApplicationImpl.java:440)
at com.intellij.openapi.application.impl.ApplicationImpl$$Lambda$46/1911882331.run(Unknown Source)
at com.intellij.openapi.progress.impl.CoreProgressManager$3.run(CoreProgressManager.java:179)
@boneskull
boneskull / Darcula fixed.icls
Created July 2, 2016 04:04
more visible darcula terminal colors
<scheme name="Darcula fixed" version="142" parent_scheme="Darcula">
<metaInfo>
<property name="created">2016-07-01T20:13:05</property>
<property name="ide">WebStorm</property>
<property name="ideVersion">2016.2.0.0</property>
<property name="modified">2016-07-01T20:54:14</property>
<property name="originalScheme">Darcula</property>
</metaInfo>
<option name="LINE_SPACING" value="1.0" />
<option name="EDITOR_FONT_SIZE" value="12" />
@boneskull
boneskull / index.js
Created July 2, 2016 02:36
Tessel 2 code to transmit TMP36 and BMP180 data to Losant using johnny-five
'use strict';
const Device = require('losant-sdk-js').Device;
const id = '<device id>';
const key = '<app key>';
const secret = '<app secret>';
const five = require("johnny-five");
const Tessel = require("tessel-io");
@boneskull
boneskull / index.js
Created June 27, 2016 06:20
canonical example of babel (es2015) and Mocha with source map support
export default function foo (str = 'bar') {
if (str === 'baz') {
throw new Error('baz is not allowed');
}
return str;
}
@boneskull
boneskull / typed.js
Created May 7, 2016 07:00
wraps stampit and provides a schema check for check-more-types
import './mixins';
import stampit from 'stampit';
import is from 'check-more-types';
import {camelCase, forEach, mapValues, assign} from 'lodash';
const checks = [
is.stamp,
is.array,
is.map,
is.weakMap,
@boneskull
boneskull / README.md
Last active June 24, 2023 13:42
syntax highlighting for Vagrantfile in non-RubyMine JetBrains IDEs
  1. Add this file to /path/to/prefs/filetypes/
  2. Restart IDE

This page will help you find the correct directory.