I hereby claim:
- I am schmidsi on github.
- I am schmidsi (https://keybase.io/schmidsi) on keybase.
- I have a public key ASC9luUDHfp9tpeNfzFN2cQ0Kv1DS0C8GQ0fIyRXLhuUYwo
To claim this, I am signing this object:
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
body { | |
margin: 15px; | |
background-color: #F1F3F3 | |
} | |
.bar.skill { | |
fill: #6F257F; | |
} |
I hereby claim:
To claim this, I am signing this object:
// React imports | |
import React from 'react'; | |
const Clock = (props) => { | |
const center = { | |
x: 15, | |
y: 15, | |
}; | |
const lengths = { |
gulp.task 'sass', -> | |
gulp.src(paths.sass) | |
.pipe sourcemaps.init() | |
.pipe sass | |
includePaths: [ | |
'./node_modules' | |
'./bower_components' | |
] | |
errLogToConsole: true | |
onError: notify.onError('Stylus Error: <%= error.message %>') |
var inputs = document.getElementsByClassName('_2aks'); | |
for(var i=0; i<inputs.length;i++) { | |
inputs[i].click(); | |
} |
-- Aufgabe 1 | |
\c postgres | |
DROP DATABASE IF EXISTS projects; | |
CREATE DATABASE projects encoding='UTF8'; | |
\c projects | |
-- b) / c) | |
DROP TABLE IF EXISTS Person; | |
CREATE TABLE Person ( |
import os | |
from fabric.api import * | |
from urlparse import urlparse | |
@task | |
def clone(uri, local_name=None): | |
""" |
<html> | |
<head> | |
<title>{Title}</title> | |
<link rel="shortcut icon" href="{Favicon}"> | |
<link rel="alternate" type="application/rss+xml" href="http://feeds.feedburner.com/zurheiterenmischung"> | |
<!-- of course, we use the fancy open webfont LaneNarrow. generate your own: http://www.fontsquirrel.com/fontface/generator --> | |
<link rel="stylesheet" type="text/css" href="http://pushkinopen.s3.amazonaws.com/mixblog/media/fonts/stylesheet.css" > | |
<!-- to save a lot of time, we use the blueprint css framework: http://blueprintcss.org/ --> |
# imports | |
from django.conf import settings | |
from django.db.models import signals | |
from django.dispatch import receiver | |
from django.test.client import Client | |
# your other imports, config here | |
@receiver(signals.post_save, sender=Page) | |
def error_templates(sender, instance, created, raw, using, **kwargs): |
// Inspired by http://stackoverflow.com/questions/5106243/how-do-i-get-background-image-size-in-jquery, a simple jquery plugin who does the task | |
$.fn.getBgImage = function(callback) { | |
var height = 0; | |
var path = $(this).css('background-image').replace('url', '').replace('(', '').replace(')', '').replace('"', '').replace('"', ''); | |
var tempImg = $('<img />'); | |
tempImg.hide(); //hide image | |
tempImg.bind('load', callback); | |
$('body').append(tempImg); // add to DOM before </body> | |
tempImg.attr('src', path); |