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
/* | |
* Content to reveal on click with 'content-revealer' plugin | |
*/ | |
.content-to-reveal{ | |
display: none; | |
} |
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
# -*- coding: utf-8 -*- | |
import os, io | |
# Some HTML template to produce for Django to list images | |
ALBUM_TPL = u"""<div class="item"> | |
<img src="{{% static 'images/album/{thumb}' %}}" | |
alt="{name}"> | |
</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
/* | |
* Pure CSS spinner, taken from: | |
* https://stephanwagner.me/only-css-loading-spinner | |
* | |
* You may also see: | |
* https://github.com/loadingio/loading.css | |
*/ | |
@keyframes spinner { | |
to {transform: rotate(360deg);} | |
} |
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 plugin basic sample | |
* | |
* Usage exemple: | |
* | |
* $('.something').sampleplugin(); | |
* $('.something').sampleplugin('destroy'); | |
* | |
*/ | |
(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
/* | |
* jQuery plugin to transform every <img> source to a fpoimg url with original | |
* natural image dimensions, this won't work with SVG images nor background | |
* images. | |
* | |
* You should instanciate this plugin before everything else that manipulate | |
* images. | |
* | |
* Usage exemple: | |
* |
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
{ | |
"directory": "../../foundation-sites-6.3.1/vendor" | |
} |
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 for generic rounded webfont icon | |
* | |
*/ | |
@mixin -emencia-round-font-icon( | |
$inner-padding: 1rem, | |
$font-size: 2rem, | |
$color: $black, | |
$border-width: 0.1rem, | |
$border-color: null |
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
# -*- coding: utf-8 -*- | |
""" | |
Some tools to extract datas about codemirror components (modes, themes) | |
This is only designed to developers. You will have to use it like so: :: | |
python extract.py | |
""" | |
import os, json |
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
# -*- coding: utf-8 -*- | |
""" | |
Some ssh script stuff using 'fabric' | |
My personnal environment use ssh keys with passphrase | |
(some empty, some other not) to connect to knowed hosts. | |
Install requires: | |
* Needed C build toolchain to compile C modules; |
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
# -*- coding: utf-8 -*- | |
""" | |
Very basic code to search within logs from Quassel IRC client | |
Tested on Quassel v0.10.0 (dist-575f27e) | |
""" | |
import sqlite3 | |
import os | |
import json |