start.sh
#!/bin/sh
cd ~/dmx-playback/apps/build/
artnet-playback/artnet-playback sample-config.json
Append to ~/.bashrc:
// Trellis M4 MIDI Keypad CC | |
// sends 32 notes, pitch bend & a CC from accelerometer tilt over USB MIDI | |
#include <Adafruit_Sensor.h> | |
#include <Adafruit_ADXL343.h> | |
#include <Adafruit_NeoTrellisM4.h> | |
#define MIDI_CHANNEL 0 // default channel # is 0 | |
// Set the value of first note, C is a good choice. Lowest C is 0. | |
// 36 is a good default. 48 is a high range. Set to 24 for a bass machine. |
start.sh
#!/bin/sh
cd ~/dmx-playback/apps/build/
artnet-playback/artnet-playback sample-config.json
Append to ~/.bashrc:
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | |
# yarn lockfile v1 | |
"@babel/cli@^7.5.5": | |
version "7.12.13" | |
resolved "https://registry.yarnpkg.com/@babel/cli/-/cli-7.12.13.tgz#ae2c6a75fa43f3db4bca0659799b0dfca3f5212b" | |
integrity sha512-Zto3HPeE0GRmaxobUl7NvFTo97NKe1zdAuWqTO8oka7nE0IIqZ4CFvuRZe1qf+ZMd7eHMhwqrecjwc10mjXo/g== | |
dependencies: | |
commander "^4.0.1" |
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | |
# yarn lockfile v1 | |
"@babel/cli@^7.5.5": | |
version "7.13.0" | |
resolved "https://registry.yarnpkg.com/@babel/cli/-/cli-7.13.0.tgz#48e77614e897615ca299bece587b68a70723ff4c" | |
integrity sha512-y5AohgeVhU+wO5kU1WGMLdocFj83xCxVjsVFa2ilII8NEwmBZvx7Ambq621FbFIK68loYJ9p43nfoi6es+rzSA== | |
dependencies: | |
commander "^4.0.1" |
# Converts polar image to small led filmstrip | |
# Convert movie to images: ffmpeg -i a1-2.mov frames/outb-%4d.jpg | |
INPUTFORMAT = 'frames/oute-{:04d}.jpg' | |
FRAMES = 2000 | |
OUTPUT = 'a5-filmstrip.png' | |
OUTPUT2 = '.hitarea.png' | |
SAMPLES = 30 | |
import math |
# | |
# Wordpress injected malware/worm - go objdump of binary | |
# | |
# Authors computers' username still left in binary. | |
# | |
# Injects redirect code, linking to sites like: | |
# transandfiestas | |
# chatwithgreenbar | |
# lovegreenpencils | |
# |
/****************************************************************************** | |
* | |
* Copyright (C) 2010 - 2019 Xilinx, Inc. All rights reserved. | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is | |
* furnished to do so, subject to the following conditions: |
uint8_t txpin1 = 4; | |
uint8_t txpin2 = 5; | |
uint8_t txpen = 6; | |
uint8_t powerpin = A3; | |
uint32_t counter = 0; | |
uint8_t phy_address = 1; // apparently hardcoded on board | |
uint8_t smi_clock = 8; | |
uint8_t smi_data = 9; |
// Install and run processing 3 from processing.org | |
// Open Sketch menu > Click Import library > Add library... | |
// Install SelectFile plugin (v0.0.2) | |
// Install Video plugin (v1.0.1) | |
// Paste this code and hit Run | |
import select.files.*; | |
import processing.video.*; | |
static int IMAGE_DURATION = 3000; |
x"C9", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"C3", x"63", x"00", x"00", x"00", x"00", x"00", x"00", x"C3", x"6F", x"00", x"00", x"00", x"00", x"00", x"00", x"C3", x"7B", x"00", x"00", x"00", x"00", x"00", x"00", x"C3", x"87", x"00", x"00", x"00", x"00", x"00", x"00", x"C3", x"93", x"00", x"F5", x"C5", x"D5", x"E5", x"CD", x"80", x"FF", x"E1", x"D1", x"C1", x"F1", x"D9", x"F5", x"C5", x"D5", x"E5", x"CD", x"00", x"00", x"E1", x"D1", x"C1", x"F1", x"D9", x"F5", x"C5", x"D5", x"E5", x"CD", x"00", x"00", x"E1", x"D1", x"C1", x"F1", x"D9", x"F5", x"C5", x"D5", x"E5", x"CD", x"2F", x"02", x"E1", x"D1", x"C1", x"F1", x" |