Skip to content

Instantly share code, notes, and snippets.

View rccursach's full-sized avatar

rccursach

View GitHub Profile
@rccursach
rccursach / end.gcode
Created August 31, 2020 02:39 — forked from mfrederickson/end.gcode
anet a8 start/end gcode
M104 S0 ; turn off extruder
M140 S0 ; turn off heatbed
M107 ; turn off fan
G91 ; relative positioning
G1 Z25 ; raise head 25mm
G90 ; back to absolute positioning
G1 X0 Y220; home X axis and push Y forward
M84 ; disable motors
@rccursach
rccursach / darkstar.py
Last active June 12, 2021 08:44
Script to control blackstar ID Core/Series? Amps - Todd Hartmann - https://forum.cockos.com/showthread.php?t=183176 > https://pastebin.com/NPviGAdn
# -*- coding: utf-8 -*-
"""
Darkstar
"Talk to the amp. You have to talk to it, Doolittle. Teach it PHENOMENOLOGY."
Control a Blackstar ID guitar amplifier with MIDI Program Change and
Control Change messages.
Author: Todd Hartmann
@rccursach
rccursach / Gemfile
Last active October 4, 2023 13:08 — forked from daqing/Gemfile
redis_pubsub_demo.rb
source "https://rubygems.org"
gem 'eventmachine'
gem 'sinatra'
gem 'yajl-ruby', require: 'yajl'
gem 'thin'
gem 'em-websocket'
@rccursach
rccursach / CuadradoMagico.java
Created March 24, 2015 21:28
CuadradoMagico
package cuadrado;
public class CuadradoMagico {
private int[][] m;
public CuadradoMagico(int[][] digitos){
this.m = digitos;
}
// Public Functions