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
// by http://css-tricks.com/equal-height-blocks-in-rows/ | |
webdesign.Helpers.equalHeights = function (group, heightSelector) { | |
if (!group.length) return; | |
var currentTallest = 0, | |
currentRowStart = 0, | |
rowDivs = [], | |
topPosition = 0; | |
group.find(heightSelector).each(function () { |
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
# To enable bash completion for grunt, add the following line to your ~/.bashrc file: | |
eval "$(grunt --completion=bash)" | |
bash: https://github.com/gruntjs/grunt-cli/blob/master/completion/bash | |
zsh: https://github.com/gruntjs/grunt-cli/blob/master/completion/zsh |
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
# Projekt löschen: | |
rm -r -f ordner/ | |
# Branch löschen: | |
git branch -d branchname | |
git branch -D branchname | |
# Taggen: | |
git tag | |
git tag 1.0.0-datum |
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
/* | |
============================================== | |
CSS3 ANIMATION CHEAT SHEET | |
============================================== | |
Made by Justin Aguilar | |
www.justinaguilar.com/animations/ | |
Questions, comments, concerns, love letters: |
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
$widths: 5 10 20 30 40 50 60 70 80 90 100; | |
%table-base { | |
display: table; | |
float: left; | |
vertical-align: middle; | |
} | |
@each $width in $widths { | |
.table-#{$width} { | |
@extend %table-base; | |
width: $width * 1%; |
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
// ---- | |
// Sass (v3.3.4) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
// Map storing values when the mixin is being called | |
$cache: ( | |
width : (), | |
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
<!--<figure class="embed-container embed-container--16_9"> | |
<iframe width="560" height="315" src="//www.youtube.com/embed/videoseries?list=FL2uVMOeKGxm2Ce_WSw-nPbQ" frameborder="0" allowfullscreen></iframe> | |
</figure>--> | |
<!--<figure class="embed-container embed-container--4_3"> | |
<iframe width="560" height="315" src="//www.youtube.com/embed/videoseries?list=FL2uVMOeKGxm2Ce_WSw-nPbQ" frameborder="0" allowfullscreen></iframe> | |
</figure>--> | |
<figure class="embed-container embed-container--21_9"> | |
<iframe width="560" height="315" src="//www.youtube.com/embed/videoseries?list=FL2uVMOeKGxm2Ce_WSw-nPbQ" frameborder="0" allowfullscreen></iframe> | |
</figure> |
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
# ssh login -> | |
ps aux |grep apache | |
# || | |
top |
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
/* | |
Method: We utilize the data: URI scheme to create a temporary <form> on | |
the fly. With a little JS this form is immediately submitted. Et voilà, | |
a link that sends a POST request. | |
Requirements; | |
* Support for data: scheme | |
* JS enabled (a fallback can be added via |
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 data-html="[button class='lang' lang='en' data-lang-en='Voir en français']See in english[/button]"></div> | |
<div class="main" lang="fr"> | |
<div class="intro"> | |
<h1 data-lang-en="[abbr]HTML[/abbr] semantics">Sémantique <abbr>HTML</abbr></h1> | |
<p><em data-lang-en="Get a better understanding of how machines see your code by disabling [abbr]CSS[/abbr]. [button]Disable stylesheets[/button]">On peut simuler la perception de la page par les machines quand <abbr>CSS</abbr> est désactivé. <button>Désactiver le <abbr>CSS</abbr></button></em></p> | |
</div> | |
<div class="bloc css"> | |
<h2 data-lang-en="With a semantic layer">Avec une couche sémantique</h2> | |
<div class="content" lang="la"> | |
<h3>Donec et mollis dolor</h3> |