Skip to content

Instantly share code, notes, and snippets.

View wemakeweb's full-sized avatar
🚀
Scaling Ampeers

Sebastian Otto wemakeweb

🚀
Scaling Ampeers
View GitHub Profile
#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
green='\033[0;32m'
{
"flic-flac" : {
"img" : "/assets/images/artists/flic_flac.jpg",
"name" : "Flic Flac",
"label" : "Dusted Decks",
"ref": "Sonne Mond Sterne Festival",
"desc" : "Das Waldtraum Festival darf sich über einen hochkarätigen und internationalen Top Act als Headliner freuen: FlicFlac aus Wien. Ihre Tracks und Remixes sind auf Youtube millionenfach geklickt und sie haben Auftritte in halb Europa, unter anderem in Paris und Ibiza. Ihr traumhaft schöner Deep House hat es mittlerweile sogar geschafft ein Millionenpublikum zu begeistern. Ihre Edit von Vance Joy – Riptide wurde 20 Millionen mal auf Youtube geklickt und läuft auch in den Radios rauf und runter.",
"videos" : [
"https://www.youtube.com/watch?v=6teOmBuMxw4",
"https://www.youtube.com/watch?v=9mnoiRqh0dQ",
/**
* (c) 2014 Hodor Inc.
*/
function $(id) { // einfach nur eine funktion, damit man nicht jedesmal document.getElementById(id); schreiben muss
return document.getElementById(id);
}
var DEBUGLEVEL = {// wie unten, einfach nur, damits schöner aussieht)
DEBUG: 0,
{ 'routes':{
'user/login' : [{
to : 'Users.loginForm',
via : 'get',
authorized : false
},
{
to : 'Users.login',
via : 'post',
authorized : false
@wemakeweb
wemakeweb / beats.txt
Created June 26, 2014 12:56
wm.beats
Viva la Vida
Andreas Buorani - Auf uns
Das Dicke Dicke Ding - Mister Santos
La Copa del a Vida
We are one
Wavin Flag
Summer Nights in Brazil
Dar um Jeito
Helele Safari Duo
Bambolea - Gispy Kings
Biene{
int x;
int y;
int end_x;
int end_y;
int dx;
int dy;
boolean flying = true;
@wemakeweb
wemakeweb / floh.m
Last active August 29, 2015 14:02
floh.m
int zaehler = 0;
int tip = -1;
int zufallszahl = rand() % 256;
int weiter = 0;
setlocale(LC_ALL, "German");
printf("Das Programm ist ein Zahlen Errater. Sie müssen Tips abgeben und das Programm nähert Sie dann zu der zufälligen Zahl.\n");
do{
package Aufgabe_4_vers1;
import java.net.*;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
import java.io.*;
public class http_Client {
$(function(){
var height, $nav, $win = $(window), klasse, hasClass = false;
/* Config */
/* Scroll Weite in pixelen */
height = 690;
/* Element dem die klasse hinzugefügt wird */
$nav = $('.navbar-inner');
/*
$(function) ist Kurzform für
document ready
*/
$(function() {
// alle vars die jQuery objecte enthalten mit $ prefixen
var $home = $("#index"),
$vors = $("#vorstellung"),