I hereby claim:
- I am danyalette on github.
- I am danyalette (https://keybase.io/danyalette) on keybase.
- I have a public key ASDr95oH_Oy4izQEjqb18c05Sgj_3D2RPOxYs1q4AkhVBQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
function lsr(){ | |
# check if no argument has been supplied | |
if [ $# -eq 0 ] | |
then | |
# if no arg, set file count to 1 | |
count=1 | |
else | |
# if there is an arg, make sure it's an integer | |
re='^[0-9]+$' | |
if ! [[ $1 =~ $re ]] ; then |
<?php | |
$string = file_get_contents("config.json"); | |
$json = json_decode($string, true); | |
$glyphs = $json[glyphs]; | |
// make directory to hold resultant files | |
if (!file_exists('svg')) { | |
mkdir('svg', 0755, true); | |
} |
/* assuming you are programmatically adding the following classes to the body: | |
- text-zoom-70 | |
- text-zoom-100 | |
- text-zoom-130 | |
*/ | |
@mixin font-size-accessible($font-size) { | |
font-size: $font-size; | |
#!/bin/bash | |
# hash bang bin bash! | |
function ascii_anim() { | |
if [[ $# -eq 0 ]] ; then | |
echo 'Please specify a directory.' | |
return | |
fi |
$images: "/images/fun.jpg", "/images/yay.jpg", "/images/wow.jpg"; | |
$slide_duration: 2s; | |
//preload images | |
body:before { | |
$urls: url(''); | |
@each $image in $images { | |
$urls: $urls + url(#{$image}) ; | |
} |