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
<div class="container"> | |
<div id="burst-12"> | |
<p class="offer">39€</p> | |
</div> | |
</div> |
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
#!/bin/bash | |
# Save as .git/hooks/prepare-commit-msg (or if one exists, append to it) | |
# and execute `chmod a+x .git/hooks/prepare-commit-msg` | |
# This way you can customize which branches should be skipped when | |
# prepending commit message. | |
if [ -z "$BRANCHES_TO_SKIP" ]; then | |
BRANCHES_TO_SKIP=() | |
fi |
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
#!/bin/bash | |
# Watch Compass project dir for changes using inotifywait, | |
#+which is more sustainable in the long run than 'compass watch'. | |
# | |
# In Debian: apt-get install inotify-tools | |
# First parameter is the project dir | |
project_dir="${1?Compass project dir expected as first parameter}" | |
# Rest of the arguments will be passed to compile command | |
shift |
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
#!/usr/bin/env drush | |
$params['vocabulary'] = drush_shift(); | |
drush_print($params['vocabulary']); | |
$vid = db_query( | |
"SELECT vid FROM {taxonomy_vocabulary} WHERE machine_name=:vocab", | |
array(':vocab' => $params['vocabulary']) | |
)->fetchField(); | |
drush_print($vid); |
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
<div id="middle"> | |
<section id="front-main-highlight" class="block"> | |
<article class="view-mode-main_highlight"> | |
<div class="main-image-container"> | |
<img src="http://placehold.it/5x2" class="main-image"/> | |
</div> | |
<h1 class="title"> | |
Main hightlight title | |
</h1> | |
<p class="lead"> |
NewerOlder