Skip to content

Instantly share code, notes, and snippets.

View makevoid's full-sized avatar

Francesco 'makevoid' Canessa makevoid

View GitHub Profile
@makevoid
makevoid / index.html
Last active December 17, 2015 04:28
Mobile App Hello World
<meta name="viewport" content="width=device-width">
<script>
var main = function(){
log("hello world")
}
var log = function(string){
var body = document.getElementsByTagName("body")[0]
body.innerHTML = body.innerHTML+string+"<br>"
}
@makevoid
makevoid / celluruby.rb
Created July 1, 2013 14:41
Celluloid test playground
require 'celluloid'
DB = { count: 0 }
class Actor
include Celluloid
def do_stuff
# sleep 1
@makevoid
makevoid / peak_wheel_mount.scad
Created July 12, 2013 15:01
Geeksphone Peak (phone) steering wheel mount (sizes are configurable), you need to switch the first variable to generate both pieces. Wheel sizes are for a Toyota Yaris TS1.5 steering wheel
// stl generation
part1 = true; // (switch to false for part2), you'll need both for a phone wheel mount
// parts configuration
// phone size
ph_x = 62.4;
ph_y = 134.1;
ph_z = 12.1;
@makevoid
makevoid / Marlin.h
Created July 19, 2013 00:35
Marlin.h sanguinololu fix
// sanguinololu fix - https://code.google.com/p/sanguino/issues/detail?id=27
#if ARDUINO >= 100
#if defined(__AVR_ATmega644P__)
//#include "WProgram.h"
//#else
#include "Arduino.h"
#endif
//#else
//#include "WProgram.h"
@makevoid
makevoid / pp_ashtray.scad
Created July 21, 2013 10:58
PP Ashtray thingiverse: http://www.thingiverse.com/thing:121190 ashtray designed by Pio Porcinai, 3d modeled in openscad the STL needs to be scaled, the original size is 12x12x2.5cm
//$fs = 0.3;
$fn = 50;
// main
difference() {
ashtray();
decoration();
}
module ashtray() {
@makevoid
makevoid / jhead_plate.scad
Last active December 20, 2015 18:38
A J-Head plate to mount extruder on Galileo Next 3d printer (on carriage X)
$fn = 70;
//$fn = 40; //dev
module cyl(h, d) {
cylinder(h, d, d);
}
module plate(){
translate([0, -5, 0]) cube([59, 25+5, 4.40]);
}
@makevoid
makevoid / linear_bearing.scad
Last active December 21, 2015 14:49
rename to scad! Resized linear bearing for handle spool (on a spool handler made from a kitchen roll holder)
// find source here: http://www.thingiverse.com/thing:13631
// you can find an up to version of this, here: https://gist.github.com/makevoid/6322363
$fn=32;
lm8uu_length = 30;
lm8uu_id=19;
lm8uu_od=31.0;
id_clearance = 1;
@makevoid
makevoid / nush_squid.scad
Last active December 21, 2015 19:19
nush.it squid, modeled in openscad
dim = 12;
num = 7;
//$fn = 50;
// check the previous version for blabla
module main() {
difference() {
body();
@makevoid
makevoid / textile_example.textile
Last active December 22, 2015 13:59
textile example

I clienti blablabla, questo e’ testo normale:
questa e’ una lista:

  • Eptisa
  • Ministero de ….
  • Blabla

veniamo ai titoli:

tower_height = 27;
// main
scale(0.95) {
keychain_hole();
windowed_keep();
}