Skip to content

Instantly share code, notes, and snippets.

<html>
<head>
<title>foo</title>
<style type="text/css">
#box1 {
background-color: #fee;
width: 600px
}
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Zensiert Benjamins Mutter
In den Xchat-Ordner legen (~/xchat2 oder so), um es automatisch laden zu lassen.
"""
__module_name__ = "benji"
__module_version__ = "1.0"
#!/usr/bin/env python
# encoding: utf-8
class Base(object):
pass
class Eins(Base):
pass
class Zwei(Base):
<!DOCTYPE html>
<style>
div.cocoa-check {
display: "a . b" /min-height
". . @" *
min-content 1em *;
}
function daysInMonthOf(theDate) {
var nextBegin = new Date(theDate.getYear, theDate.getMonth + 1, 1),
lastDayOfMonth = new Date(nextBegin.getTime() - 1);
return lastDayOfMonth.getDate();
}
for (var i=0; i<foo; ++i) {
(function (i) {
links[i].addEventListener("click", function () {
_this.init(i)
return false
});
})(i)
}
(function (jq) {
var months = ["Jan", "Feb", "Mar", "Apr",
"May", "Jun", "Jul", "Aug",
"Sep", "Oct", "Nov", "Dec"],
monthNumber = {};
months.forEach(function (monthName, index) {
monthNumber[monthName] = index
})
Array.prototype.unique = function() {
var obj = {};
this.forEach(function (element) {
obj[element] = true
})
return obj.keys();
}
Array.prototype.unique = function() {
var uniqueKeys = {},
uniqueArray = [],
items = this.length
while (items)
uniqueKeys[this[--items]] = true
for (var key in uniqueKeys)
if (uniqueKeys.hasOwnProperty(key)) uniqueArray.push(key)
Array.prototype.unique = function() {
var uniqueKeys = {};
var items = this.length;
while ( items ) {
uniqueKeys[ this[ --items ] ] = true;
}
var uniqueArray = [];
for ( var key in uniqueKeys ) {
if ( uniqueKeys.hasOwnProperty( key ) ) {