Skip to content

Instantly share code, notes, and snippets.

Paul Rogalinski pulsar256

Block or report user

Report or block pulsar256

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am pulsar256 on github.
  • I am pulsar256 (https://keybase.io/pulsar256) on keybase.
  • I have a public key ASDoiWMJgPQ0Y8iCyufEQAOE60AbS-o2TW2kM_rXafkYCQo

To claim this, I am signing this object:

View feinsiebhalter.scad
$fn=200;
module tube(h, d, wall){
difference(){
cylinder(h=h, d=d);
translate([0,0,-1]) cylinder(h=h+2, d=d-wall);
}
}
module body(interlock, height, wall, od){
@pulsar256
pulsar256 / templated.java
Created Oct 11, 2016
Templated Links for spring-hateoas workaround
View templated.java
import org.apache.commons.lang.StringUtils;
import org.springframework.core.DefaultParameterNameDiscoverer;
import org.springframework.hateoas.Link;
import org.springframework.hateoas.UriTemplate;
import org.springframework.hateoas.mvc.ControllerLinkBuilder;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.util.UriComponentsBuilder;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
View bubblefubble.scad
module pusteblume(radius=10, nupsies=40){
rotate_extrude(convexity=10) translate([radius, 0, 0]) circle(r=1, $fn=50);
for(i=[0:(360/nupsies):360-(360/nupsies)]) {
rotate([0,0,i]) translate([radius-2.2,0,0]) rotate([0,90,0]) cylinder(h=2,d1=0.5,d2=1.8,$fn=25);
}
}
difference() {
cylinder(h=2,d=8,$fn=100);
translate([0,0,-1]) cylinder(h=4,d=3.2,$fn=100);
@pulsar256
pulsar256 / wirejig.scad
Created May 10, 2016
Heatbed Round Wire Jig
View wirejig.scad
$fn=100;
markerRadius=1;
circle(r = markerRadius);
quadrant();
mirror([1,0]) quadrant();
mirror([0,1]) quadrant();
mirror([1,0]) mirror([0,1]) quadrant();
@pulsar256
pulsar256 / bassreflexadapter.scad
Created Apr 30, 2016
Bassreflex Adapter vom Sacha
View bassreflexadapter.scad
$fn=200;
rotate_extrude()
translate([-22.5,0,0]) union() {
translate([0,-10,0]) square([7,10]);
translate([6.5,-3.5,0]) rotate([0,0,45]) square([5,5]);
intersection() {
circle(10, center=true);
square(20);
};
};
@pulsar256
pulsar256 / stm32f0_synth_case.scad
Last active Apr 30, 2016
semi-parametric 3d printed case for a 50x50 PCB
View stm32f0_synth_case.scad
$fn=100;
// Enclosure for
// http://blog.kehribar.me/build/2015/12/06/polyphonic-fm-synthesizer-with-stm32f031.html
case(drawPart=0); // 0=box, 1=lid, 2==both
module case (
wall=1.5, // wall thickness
@pulsar256
pulsar256 / dynv6_v4only.sh
Last active Oct 13, 2019 — forked from corny/dynv6.sh
Update script for dynv6.com to set your IPv4 address
View dynv6_v4only.sh
#!/bin/sh -e
# based on https://gist.github.com/corny/7a07f5ac901844bd20c9
hostname=$1
device=$2
v4_file=$HOME/.${hostname}.dynv6.addr4
[ -e $v4_file ] && old=`cat $v4_file`
View vibration_tester.ino
#include "U8glib.h"
#include <Wire.h>
#define TWI_FREQ 400000L
U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NONE);
const int MPU=0x68; // I2C address of the MPU-6050
int16_t AcX,AcY,AcZ,Tmp,GyX,GyY,GyZ;
@pulsar256
pulsar256 / pageTokenGen.js
Created May 21, 2015
Generator for pageTokens for the Youtube API
View pageTokenGen.js
// workaround for https://code.google.com/p/gdata-issues/issues/detail?id=7163
var d0 = "AEIMQUYcgkosw048";
var d1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
var d2 = d1;
var d1c = 0;
var d2c = 0;
var overflowSuffix = "Q";
var direction = "AA";
var d2OverflowCounter = 0;
You can’t perform that action at this time.