Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
<span title="Creative Commons" style="border: 3px solid black; border-radius: 50%; line-height: 1.5em; width: 1.5em; display: inline-block; text-align: center; font-family: sans-serif; font-weight: bold">cc</span> | |
<span title="No Derivative Works" style="border: 3px solid black; border-radius: 50%; line-height: 1.5em; width: 1.5em; display: inline-block; text-align: center; font-family: sans-serif; font-weight: bold">=</span> | |
<span title="Non commercial" style="border: 3px solid black; border-radius: 50%; line-height: 1.5em; width: 1.5em; display: inline-block; text-align: center; font-family: sans-serif; font-weight: bold; position: relative">$̷<span style="display: block; height: 100%; width:.2em; background-color: black; position: absolute; top: 0; left: 50%; margin-left:-.1em; transform: rotate(45deg)"></span></span>< | |
<span title="Creative Commons" style="border: 3px solid black; border-radius: 50%; line-height: 1.5em; width: 1.5em; display: inline-block; text-align: center; font-family: sans-serif; |
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
// embedd your youtube iframe using youtube as element class: <iframe class="youtube"… | |
$(function() { | |
var windowE = $(window); | |
windowE.bind('resize', function() { | |
$('iframe.youtube').each(function() { | |
var iframe = $(this); | |
var width = iframe.width(); | |
var height = width * .61; | |
iframe.height(height); |
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 php-foreach(expr) | |
| <?php foreach(!{expr}): ?> | |
block | |
| <?php endforeach; ?> | |
mixin php-print(expr) | |
| <?php print !{expr}; ?> | |
mixin php-if(expr) | |
| <?php if(!{expr}): ?> |
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
# German translation of Drupal including common anglicisms. | |
msgid "" | |
msgstr "" | |
"Project-Id-Version: Drupal core (7.34)\n" | |
"POT-Creation-Date: 2014-01-25 08:37+0000\n" | |
"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n" | |
"Language-Team: German\n" | |
"MIME-Version: 1.0\n" | |
"Content-Type: text/plain; charset=utf-8\n" | |
"Content-Transfer-Encoding: 8bit\n" |
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 loremCount = 0; | |
mixin lipsum(amount) | |
- var loremText = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."; | |
- var lipsumArray = loremText.split(' '); | |
- var loremIpsum = ''; | |
- var wordCount = lipsumArray.length | |
- for (var i = 0; i < amount; i++) { | |
- if(i > 0) { | |
- loremIpsum += ' '; | |
- } |
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
/** | |
* Generate a random number considering gaussian normal distribution. | |
* | |
* @param min | |
* The minimal value. Can be negative or positive. | |
* | |
* @param max | |
* The maximal value. Should be higher then min. | |
* | |
* @param dis |
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
table { | |
display: block; | |
} | |
tr { | |
display:block; | |
margin-bottom: -20px; | |
border-collapse: collapse; | |
} |
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
jQuery(':radio').removeAttr('checked'); |
OlderNewer