Skip to content

Instantly share code, notes, and snippets.

View jnslxndr's full-sized avatar

jens alexander jnslxndr

  • Baltic Sea
View GitHub Profile
@jnslxndr
jnslxndr / SassMeister-input-HTML.html
Created August 8, 2014 08:56
Generated by SassMeister.com.
<div class="container">
Container
</div>
@jnslxndr
jnslxndr / Zeiger.py
Created June 25, 2014 09:50
Zeiger Copy & Paste
class Zeiger:
# Eigenschaften des Zeigers
length = 120
rotation = 0
red = 0
green = 0
blue = 0
def update():
pass
@jnslxndr
jnslxndr / GradStepper.ino
Last active August 29, 2015 14:02
Stepper
/*
Die Pins:
*/
const int motor_enable = 12;
const int motor_dir = 11;
const int motor_step = 5;
const int _motor_ms_1 = 8;
const int _motor_ms_2 = 9;
const int _motor_ms_3 = 10;
#include <Servo.h>
#define SERVO_PIN 9
#define SENSOR_PIN A0
#define IDLE 0
#define ACTIVE 1
// 1 für mehr info 0 für nix
#define DEBUG 0
/* Put your CSS here */
html, body {
margin: 20px;
}
li {
margin-bottom: 1em;
}
/* Put your CSS here */
html, body {
margin: 20px;
}
li {
margin-bottom: 1em;
}
@jnslxndr
jnslxndr / snippet.txt
Created April 13, 2014 14:53
lkjsdflksd
asdkhasd, lkajsdlkjas lkjkjkjkj
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Reliability]
"ShutdownReasonUI"=dword:00000001
@jnslxndr
jnslxndr / broadcomupdate.sh
Created January 20, 2014 10:25
Working Broadcom wireless kernel module for Debian Wheezy, kernel 3.12, MacBook Air 5,2
# Source package found at: https://launchpad.net/ubuntu/+source/bcmwl/6.30.223.30+bdcom-0ubuntu3/+build/4761504
sudo wget https://launchpad.net/ubuntu/+source/bcmwl/6.30.223.30+bdcom-0ubuntu3/+build/4761504/+files/bcmwl-kernel-source_6.30.223.30%2Bbdcom-0ubuntu3_amd64.deb
sudo dpkg -i bcmwl-kernel-source_6.30.223.30+bdcom-0ubuntu3_amd64.deb
@jnslxndr
jnslxndr / install_nokogiri.sh
Created December 6, 2013 16:28
Install nokogiri 1.5.10 on a synology DSM 4.3
# Make sure you have installed libxml2 via IPKG before like this:
# ipkg update && ipkg install libxml2
gem install nokogiri --version 1.5.10 -- --with-xml2-include=/opt/include/libxml2 --with-xml2-lib=/opt/lib