Skip to content

Instantly share code, notes, and snippets.

View rockstarartist's full-sized avatar

Rock Star Artist rockstarartist

View GitHub Profile
@rockstarartist
rockstarartist / midiman_firmware_debian_install.md
Last active February 10, 2023 18:24
MidiSport Midiman 2x2 USB driver installation for Raspbian Linux

Install the midisport-firmware package (firmware is in the package and the package should be available via the debian package repository)

sudo apt-get install midisport-firmware
sudo touch /etc/udev/rules.d/99-midisport-firmware.rules
sudo vi /etc/udev/rules.d/99-midisport-firmware.rules

In the editor, paste the following rules:

@rockstarartist
rockstarartist / Jenkinsfile
Created July 20, 2021 20:33 — forked from merikan/Jenkinsfile
Some Jenkinsfile examples
Some Jenkinsfile examples
@rockstarartist
rockstarartist / zookeeper-solr-cloud.md
Last active January 5, 2021 11:14 — forked from kalharbi/zookeeper-solr-cloud.md
Setting up an external Zookeeper Solr Cluster

Setting up an external Zookeeper Solr Cluster on 3 hosts with Ambari's Zookeeper

This is a step by step instruction on how to create a cluster that has three Solr nodes running in cloud mode. These instructions should work on both a local cluster (for testing, with 3 virtual hosts) and a remote cluster where each server runs in its own physical machine. This was tested on Solr version 6.2.1 and Zookeeper version 3.4.6

We will assume that the names of the hosts with the Zookeeper servers will be called: zserver1 zserver2 zserver3

Install Silicon Labs VCP Driver:
https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers
specifically:
https://www.silabs.com/documents/public/software/Mac_OSX_VCP_Driver.zip
Install the legacy/older version
Verify that this exists:
/Library/Extensions/SiLabsUSBDriver.kext/
@rockstarartist
rockstarartist / values_pointers.go
Created September 17, 2018 15:33 — forked from josephspurrier/values_pointers.go
Golang - Asterisk and Ampersand Cheatsheet
/*
********************************************************************************
Golang - Asterisk and Ampersand Cheatsheet
********************************************************************************
Also available at: https://play.golang.org/p/lNpnS9j1ma
Allowed:
--------
p := Person{"Steve", 28} stores the value

Build docker image

$ cd /path/to/Dockerfile
$ sudo docker build .

View running processes

@rockstarartist
rockstarartist / RaspberryPiZeroW_Setup.MD
Last active December 28, 2017 15:16
Setup Raspberry Pi Zero W without HDMI
@rockstarartist
rockstarartist / gist:0c8ef707cc21782fd8dbaa46a3b37ed5
Last active June 5, 2017 11:48
Install Google Assistant on Raspberry Pi Zero W
sudo apt-get update
//List all recording devices
arecored -l
//List all audio playing devices
aplay -l
// create a .asoundrc file
cd /home/pi
@rockstarartist
rockstarartist / prototypetest.js
Created March 5, 2017 01:59
JavaScript Prototype and hasOwnProperty test
function A() {
this.x = "I'm an own property";
}
A.prototype.y = "I'm not an own property";
var instance = new A();
console.log(instance.hasOwnProperty("x")); // true
console.log(instance.hasOwnProperty("y")); // false

Keybase proof

I hereby claim:

  • I am rockstarartist on github.
  • I am rockstarartist (https://keybase.io/rockstarartist) on keybase.
  • I have a public key ASC5s-ySt58eOoT0IQMvxS1eVA0G8pa3i0KYCiaWWXsRpgo

To claim this, I am signing this object: