Skip to content

Instantly share code, notes, and snippets.

Avatar

rccursach

View GitHub Profile
View CuadradoMagico.java
package cuadrado;
public class CuadradoMagico {
private int[][] m;
public CuadradoMagico(int[][] digitos){
this.m = digitos;
}
// Public Functions
@rccursach
rccursach / Gemfile
Last active Oct 17, 2020 — forked from daqing/Gemfile
redis_pubsub_demo.rb
View Gemfile
source "https://rubygems.org"
gem 'eventmachine'
gem 'sinatra'
gem 'yajl-ruby', require: 'yajl'
gem 'thin'
gem 'em-websocket'
@rccursach
rccursach / darkstar.py
Last active Sep 2, 2018
Script to control blackstar ID Core/Series? Amps - Todd Hartmann - https://forum.cockos.com/showthread.php?t=183176 > https://pastebin.com/NPviGAdn
View darkstar.py
# -*- 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 / end.gcode
Created Aug 31, 2020 — forked from mfrederickson/end.gcode
anet a8 start/end gcode
View 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
You can’t perform that action at this time.