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
@mixin vendor($name, $args...) { | |
$vendors: -webkit-, -ms-, -moz-, -o-; | |
$nextWithVendor: false; | |
$first: true; | |
$cleanValues: null; | |
$cleanName: $name; | |
@if nth( $name, 1 ) == -prefix- { | |
$cleanName: nth( $name, 2 ); | |
} |
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
/* | |
This script uses the sys_getloadavg() function | |
to lock out some visitors in cases of extreme load. | |
$threads defines the maximum avaialable count of php threads | |
to aproximate a representation of the stresslevel. | |
A good value is the number of cpu threads available to php. | |
by malte buttjer | |
buttjer.net |