Skip to content

Instantly share code, notes, and snippets.

View roundrobin's full-sized avatar

Nils roundrobin

  • TalentBait
  • Hamburg, Germany
View GitHub Profile
@roundrobin
roundrobin / Ruby_Klasse.rb
Created January 12, 2012 18:55
Klassen Erstellung in Ruby
class MyApp
#Ich bin ein Kommentar
@ichBinEineInstanzVariable
@ichAuch
def initialize( argument = nil) #Diese Methode ist so etwas wie ein Konstruktor
end
end
@roundrobin
roundrobin / init.rb
Created January 12, 2012 19:01
Initialisiere Ruby Objekt
someVariable = MyApp.new
anotherVariable = MyApp.new("Hello")
@roundrobin
roundrobin / inlet.js
Created June 21, 2012 03:09
just another inlet to tributary
xvcvxcvxc
@roundrobin
roundrobin / inlet.js
Created June 21, 2012 06:11
just another inlet to tributary
var lineWidth = 650
var y1 = 86
var xheight = createLine(1,lineWidth,y1,y1)
var y2 = 241
var baseline = createLine(1,lineWidth,y2,y2)
var y3 = 401
var descentline = createLine(1,lineWidth,y3,y3)
@roundrobin
roundrobin / inlet.js
Created June 22, 2012 04:16
just another inlet to tributary
sdfsdf
@roundrobin
roundrobin / inlet.js
Created June 22, 2012 04:22
just another inlet to tributary
var rect = g.append('rect')
.attr('width',100)
.attr('height',100)
.on('click',function(){
var text = d3.select('#pathWay')
if(text.text() != '')
text.text(text.text()+',')
var old =
@roundrobin
roundrobin / inlet.js
Created June 22, 2012 04:26
just another inlet to tributary
var rect = g.append('rect')
.attr('width',100)
.attr('height',100)
.on('click',function(){
var text = d3.select('#pathWay')
if(text.text() != '')
text.text(text.text()+',')
var old =
@roundrobin
roundrobin / inlet.js
Created June 22, 2012 04:33
just another inlet to tributary
console.log('sdf')
var text = $('.CodeMirror-lines div > div pre').html()
console.log('Hello',text)
var text = $('.CodeMirror-lines div > div pre').html()
g.append('text')
.attr('y',200)
.attr('x',100)
.attr('id','pathWay')
.text(text)
@roundrobin
roundrobin / inlet.js
Created June 22, 2012 04:38
just another inlet to tributary
console.log('sdf')
//Dont change Line below
var text = $('.CodeMirror-lines div > div pre').html()
console.log('Hello',text)
var text = $('.CodeMirror-lines div > div pre:first-child')
text.append('')
g.append('text')
.attr('y',200)
.attr('x',100)
.attr('id','pathWay')
@roundrobin
roundrobin / inlet.js
Created June 22, 2012 04:45
just another inlet to tributary
console.log('sdf')
//Dont change Line below
// Parameters
var text = $('.CodeMirror-lines div > div pre').html()
console.log('Hello',text)
var text = $('.CodeMirror-lines div > div pre:first-child')
text.append('')
g.append('text')