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
<style type="text/css"> | |
.bentonsansbook { | |
font-family: "Benton Sans Book", Verdana, "Helvetica Neue", Helvetica, "Trebuchet MS", Arial; | |
font-style: normal; | |
font-weight: normal; | |
color: #0e0e0e; | |
} | |
.bentonsanslight { | |
font-family: "Benton Sans Light", Verdana, "Helvetica Neue", Helvetica, "Trebuchet MS", Arial; |
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/sh | |
# If superuser warn and prompt to continue | |
prompt_exec_as_root () { | |
if [[ `whoami` = 'root' -o $(id -u) == 0 -a -z "$SUDO_COMMAND" ]]; then | |
/bin/echo "Warning: you're running the script as superuser."; | |
/bin/echo "This may cause directory permission issues and you'll probably be unable to access your files anymore. \nIn malmost all the cases you're adviced to run as regular user." | |
/bin/echo "Do you still want to continue? [Yes/No/Abort] (default: No) " | |
read REPLY; | |
else if [[ ! $REPLY -o $REPLY =~ ^[Nn][Oo]?$ -o $REPLY =~ ^[Aa]([Bb][Oo][Rr][Tt])?$ ]]; then |
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
RetroArch [INFO] :: === Build =======================================RetroArch [INFO] :: [CPUID]: Features: | |
RetroArch [INFO] :: Version: 1.3.0 | |
RetroArch [INFO] :: Git: 97e0c86 | |
RetroArch [INFO] :: ================================================= | |
RetroArch [INFO] :: [CPUID]: Features: | |
RetroArch [INFO] :: Looking for config in: "/storage/.config/retroarch/retroarch.cfg". | |
RetroArch [INFO] :: Config: loading config from: /storage/.config/retroarch/retroarch.cfg. | |
RetroArch [INFO] :: Threaded rarch_task started | |
RetroArch [INFO] :: Loading dynamic libretro core from: "/tmp/cores/genesis_plus_gx_libretro.so" | |
RetroArch [INFO] :: Environ SET_VARIABLES. |
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
# Declare the file which contains the index of its traslations | |
DirectoryIndex index.html.var | |
AddHandler type-map .var | |
# Redirect to specific language by explicit URL request | |
# /en -> index.html | |
# /it -> index_it.html | |
# /es -> index_es.html | |
<IfModule mod_rewrite.c> |
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
Show hidden characters
{ | |
"folders": | |
[ | |
{ | |
"follow_symlinks": true, | |
"path": "/", | |
"folder_exclude_patterns": [ | |
".sass-cache", | |
".bundles", | |
"node_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
# Assuming the existence of a list of url, in a text file, get the file size of each url target (in Kb) | |
cat urls.txt | xargs -n 1 curl -sI | grep Content-Length | awk '{print $2/1000}' |
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
{ | |
"folders": | |
[ | |
{ | |
"follow_symlinks": true, | |
"path": ".", | |
"folder_exclude_patterns": [ | |
".sass-cache", | |
".bundles", | |
"node_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
@for $i from 1 through 10 { | |
/* #{$i} item(s) */ | |
.box-ballooned-item:first-child:nth-last-child(#{$i}), | |
.box-ballooned-item:first-child:nth-last-child(#{$i}) ~ .box-ballooned-item { | |
max-width: floor(100% / $i); | |
} | |
} |
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
{ | |
"folders": | |
[ | |
{ | |
"follow_symlinks": true, | |
"path": "/", | |
"folder_exclude_patterns": [ | |
".sass-cache", | |
"app/cache", | |
"bin", |
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
;(function($) { | |
$.fn.extend({ | |
stickyWidget: function(options) { | |
// Exit if there are no elements to avoid errors: | |
if (this.length === 0) { | |
return this; | |
} | |
var settings = $.extend({ |