Skip to content

Instantly share code, notes, and snippets.

View tzi's full-sized avatar
👨‍🎓
enseigner les CSS

Thomas ZILLIOX tzi

👨‍🎓
enseigner les CSS
View GitHub Profile
@tzi
tzi / SassMeister-input.scss
Created February 2, 2018 15:09
Stateful theming for Sass
// ----
// libsass (v3.3.6)
// ----
// =====================================================================
//
// STATEFUL THEMING FOR SASS
// -------------------------
// Indrek Paas <@indrekpaas>
//
@tzi
tzi / index.php
Created July 31, 2012 15:09 — forked from Simounet/index.php
subval array sort function
<?php
function subval_sort( $array, $subkey ) {
$compare = function( $a, $b ) use ( $subkey ) {
return strcasecmp( $a[ $subkey ], $b[ $subkey ] );
}
uasort( $array, $compare );
return $array;
}