You need Linux to build it
git clone https://github.com/nerves-project/nerves-sdk.git
make nerves_bbb_defconfig
make system
Copy system.tar.gz to the Mac
| // you need `op` tool for this, download it here https://support.1password.com/command-line/ | |
| // create items.json like so: | |
| // op list items | jq > items.json | |
| // then run this script | |
| // this script outputs uuids of dupes as keyed by item title, create, and modified date, | |
| // feed it into the delete command like so: | |
| // node process.js | xargs -I{} op delete item {} | |
| const items = require('./items.json'); |
| # Steps to build and install tmux from source. | |
| # Takes < 25 seconds on EC2 env [even on a low-end config instance]. | |
| VERSION=2.6 | |
| sudo yum -y remove tmux | |
| sudo yum -y install wget tar libevent-devel ncurses-devel | |
| wget https://github.com/tmux/tmux/releases/download/${VERSION}/tmux-${VERSION}.tar.gz | |
| tar xzf tmux-${VERSION}.tar.gz | |
| rm -f tmux-${VERSION}.tar.gz | |
| cd tmux-${VERSION} |
| const fs = require('fs'); | |
| const { | |
| Puppet | |
| } = require("matrix-puppet-bridge"); | |
| const puppet = new Puppet('/Users/ajohnson/matrixwork/rls/matrix-appservice-imessage/config.json'); | |
| puppet.startClient().then(()=>{ | |
| const client = puppet.getClient(); | |
| var obj = JSON.parse(fs.readFileSync(process.argv[2])) |
| /* | |
| After purchasing a humble book bundle, go to your download page for that bundle. | |
| Open a console window for the page and paste in the below javascript | |
| this fork downloads all formats and does so without using jquery (since that didnt work for me) | |
| note that if you are in chrome, chrome will not download the pdfs for you by default, to fix this | |
| type “about:plugins” in the address bar and disable chrome's pdf viewer | |
| */ | |
| var pattern = /(MOBI|EPUB|PDF)$/i; |
Having trouble installing the latest stable version of tmux?
Save yourself some time and run this little fellow!
| input { | |
| lumberjack { | |
| # The port to listen on | |
| port => 32451 | |
| # The paths to your ssl cert and key | |
| ssl_certificate => "path/to/ssl.crt" | |
| ssl_key => "path/to/ssl.key" | |
| # Set this to whatever you want. |
An all-in-one image running graphite and carbon-cache. Version: 0.9.12.
This script contains a sensible default configuration of graphite and carbon-cache. Starting this container will, by default, bind the the following host ports:
80: the graphite web interface2003: the carbon-cache line receiver (the standard graphite protocol)This is a plugin meant for Jekyll.
Example use:
Easily embed a YouTube video. Just drop this file in your _plugins directory.
{% youtube oHg5SJYRHA0 %}