This file contains 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
<link rel="import" href="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
height: 100%; |
This file contains 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
#!/bin/sh | |
set -e | |
VERSION=${VERSION:=0.10.32} | |
UPSTREAM="http://nodejs.org/dist/v$VERSION/node-v$VERSION.tar.gz" | |
ARCH="$(dpkg --print-architecture)" | |
OUTPUTDIR="/opt/lang/nodejs/$VERSION" |
This file contains 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
/* | |
* Project week 5: Introduction to the Arduino | |
* Night Rider-like fading LEDs | |
* | |
* Martijn Reening (s1523996) | |
*/ | |
#include <SoftPWM.h> | |
/* Define the fade time in milliseconds */ |
This file contains 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
#!/bin/sh | |
VERSION="0.10.25" | |
UPSTREAM="http://nodejs.org/dist/v$VERSION/node-v$VERSION.tar.gz" | |
ARCH="$(dpkg --print-architecture)" | |
BUILDDIR="$PWD/build-v$VERSION" | |
wget $UPSTREAM -O upstream-v$VERSION.tar.gz | |
tar xf upstream-v$VERSION.tar.gz |
This file contains 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
#!/bin/bash | |
DIR=/home/martijn/Music | |
if [[ $EUID -ne 0 ]]; then | |
echo "Only root can run this script." 2>&1 | |
exit 1 | |
else | |
find $DIR -type d -print0 | xargs -0 chmod 0755 | |
find $DIR -type f -print0 | xargs -0 chmod 0644 |
This file contains 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
#include <stdio.h> | |
#include <sndfile.h> | |
#include <pulse/pulseaudio.h> | |
#include <pulse/simple.h> | |
int main(int argc, char* argv[]) | |
{ | |
if (argc != 2) |