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
<?php | |
/** | |
* Berechnet den überblendeten Farbwert für eine einzige Farbe nach<br /> | |
* <pre>(alpha / 255) * argb.r() + (1 - alpha / 255) * blend.r()</pre><br /> | |
* Diese Funktion wird für jeden Farbanteil seperat aufgerufen. | |
* @param int $color Die Farbe die über eine andere Farbe gelegt werden soll | |
* @param float $alpha Der Alpha-Wert der Farbe <i>color</i> die über <i>blend</i> gelegt wird | |
* @param int $blend Der Farbwert der darunterliegenden Farbe (selben Types, also R-Angabe bei R,...).<br /> | |
* Standard ist 255 (Weiß) |
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
/** | |
* Return a Date-Object, also in IE < 9 | |
* | |
* @param {String} iso8601Str A String like "2013-06-24T14:35:12+02:00" | |
* @return {Date} | |
*/ | |
function ISO8601ToDate(iso8601Str) { | |
var date = new Date(iso8601Str); | |
if(isNaN(date)){ |
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
/** | |
* Calculate the difference between to dates | |
* | |
* @param {Date} futureDate | |
* @param {Date} date | |
* @param {Boolean} skipYears | |
* @param {Boolean} skipMonths | |
* @param {Boolean} skipDays | |
* @param {Boolean} skipHours | |
* @param {Boolean} skipMinutes |
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
$transition-bounce-function: cubic-bezier(0.875, 1.650, 0.260, 0.675) !default; |
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
var Dust = { | |
ANIMATION_TIME_DEFAULT : 500, | |
Overlay : { | |
/** | |
* | |
* @type jQuery | |
*/ |
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
/** | |
* | |
* @param {Number} iStart | |
* @param {Number} iEnd | |
* @param {Number} iStep | |
* @returns {Range} | |
*/ | |
function Range(iStart, iEnd, iStep){ | |
/** | |
* |
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
/** | |
* | |
* @param {Number} iRuns | |
* @returns {DustBenchmark} | |
* @syntax new DustBenchmark([iRuns = 100000]); | |
*/ | |
function DustBenchmark(iRuns){ | |
/** | |
* |
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
"use strict"; | |
const UNIT_BYTE = 1; | |
const UNIT_KILOBYTE = 1024; | |
const UNIT_MEGABYTE = 1024 * 1024; | |
const UNIT_GIGABYTE = 1024 * 1024 * 1024; | |
const UNIT_TERABYTE = 1024 * 1024 * 1024 * 1024; | |
var iSize = 100 * UNIT_MEGABYTE, i = iSize, sRandom = "", bStatus = true; |
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
/** | |
* List | |
* | |
* @author Dustin Breuer <dustin.breuer@thedust.in> | |
* @version 1.0 | |
* @category Util | |
* @licence MIT http://opensource.org/licenses/MIT | |
*/ | |
/** |
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
.message { | |
margin: 1em 0; | |
padding: 4px 8px; | |
color: #333 ; | |
border-radius: 5px; | |
a { | |
color: #333; | |
text-decoration: underline; | |
} |
OlderNewer