This file contains hidden or 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
var names = [ | |
'ThomasP', | |
'christian', | |
'Bruno', | |
'Sascha', | |
'André', | |
'Robert', | |
'claudius', | |
'gewe', | |
'Carsten', |
This file contains hidden or 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
/** | |
* Vorhang-Effekt | |
*/ |
This file contains hidden or 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
/** | |
* Vorhang-Effekt (Lösung) | |
*/ | |
/* Container */ | |
#Box { | |
position: relative; | |
background:blue; | |
color: blue; | |
text-align: center; |
This file contains hidden or 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
/** | |
* Unter-Überschriften in Dachzeilen verwandeln | |
*/ | |
header { | |
display: flex; | |
flex-direction:column-reverse; | |
} |
This file contains hidden or 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
/** | |
* Unter-Überschriften in Dachzeilen verwandeln (breite Version) | |
*/ | |
header { | |
display: flex; | |
flex-direction:column-reverse; | |
} |
This file contains hidden or 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
module.exports = function(grunt){ | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json') | |
}); | |
grunt.loadNpmTasks('grunt-contrib'); |
This file contains hidden or 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
/* usage: node inbox.js -u [email protected] -p hunter2 */ | |
var Q = require('q'); | |
var minimist = require('minimist'); | |
var inbox = require('inbox'); | |
var Five = require("johnny-five"); | |
function handleError(err){ | |
console.error(err); |
This file contains hidden or 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
/** | |
* Übung Adaptives Layout | |
*/ | |
* { box-sizing: border-box; } | |
body { padding: 0 1%; font-family: Arial, sans-serif; line-height: 1.6; } | |
nav ul { list-style: none; margin: 0; padding: 0; } | |
nav ul a { display: block; float: left; width:12.5%; font-weight: bold; } | |
#main, footer { clear: both; padding: 1em 0; } | |
footer { border-top: 1px solid #999; } | |
#main > section { float: left; width: 65%; } |
This file contains hidden or 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
/** | |
* Lösung Adaptives Layout | |
*/ | |
* { box-sizing: border-box; } | |
body { padding: 0 1%; font-family: Arial, sans-serif; line-height: 1.6; } | |
nav ul { list-style: none; margin: 0; padding: 0; } | |
nav ul a { display: block; float: left; width:12.5%; font-weight: bold; } | |
#main, footer { clear: both; padding: 1em 0; } | |
footer { border-top: 1px solid #999; } | |
#main > section { float: left; width: 65%; } |
This file contains hidden or 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
// Benötigt PhantomJS. Benutzung: $ phantomjs grab.js | |
var page = require('webpage').create(); | |
page.viewportSize = { | |
width: 10000, // A0: 9933 | |
height: 15000 // A0: 14043 | |
}; | |
page.open('http://localhost/~peter/map/map.html', function(){ | |
setTimeout(function(){ |