Skip to content

Instantly share code, notes, and snippets.

import groovy.transform.Field
definition(
name: 'Eiger',
namespace: 'eiger',
author: 'Aaron Di Silvestro',
description: 'Event initiated general engine for rules',
iconUrl: '',
iconX2Url: '',
iconX3Url: ''
//Artifact (16)
1 Caged Sun
1 Forsaken Monument
1 Jeweled Lotus
1 Lightning Greaves
1 Mana Crypt
1 Mana Vault
1 Mind Stone
1 Mindslaver
1 Sapphire Medallion
@bkrn
bkrn / rules.json
Last active September 24, 2022 17:00
Light rules for eiger
{
"groups": [
{
"name": "Guest Room",
"devices": [
"Guest Room Light 1",
"Guest Room Light 2"
]
},
{
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Untitled benchmark</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>
@bkrn
bkrn / .vimrc
Created April 30, 2017 23:42
My vim rc and notes
" Specify a directory for plugins
call plug#begin('~/.vim/plugged')
Plug 'scrooloose/syntastic'
Plug 'fatih/vim-go', { 'do': ':GoInstallBinaries' }
Plug 'rust-lang/rust.vim'
call plug#end()

#Install Minibian as per instructions#

  • Remember to resize the partition!
  • apt-get install raspi-config
  • raspi
  • do gui magic

#Install CUPS#

  • apt-get update && apt-get upgrade
  • apt-get install cups
@bkrn
bkrn / ubuntu_sp3.txt
Last active September 29, 2017 17:09
Ubuntu 16.04 on Surface Pro 3 (Clean Install)
Have now upgrade to 17.04 (clean install)
Network manager acted up so be ready I plugged ethernet into my dock and:
# ip link set down <ethname> (mine was enx5882a8948c8e)
# ip link set up <ethname> (mine was enx5882a8948c8e)
# dhclient <ethname> (mine was enx5882a8948c8e)
<back to 16.04>