This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source "https://rubygems.org" | |
gem 'eventmachine' | |
gem 'sinatra' | |
gem 'yajl-ruby', require: 'yajl' | |
gem 'thin' | |
gem 'em-websocket' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package cuadrado; | |
public class CuadradoMagico { | |
private int[][] m; | |
public CuadradoMagico(int[][] digitos){ | |
this.m = digitos; | |
} | |
// Public Functions |