When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:
main {
max-width: 38rem;
padding: 2rem;
margin: auto;
}
#!/bin/bash | |
############################################################### | |
# Docker userns-remap and system users on Linux | |
############################################################### | |
groupadd -g 500000 dockremap && | |
groupadd -g 501000 dockremap-user && | |
useradd -u 500000 -g dockremap -s /bin/false dockremap && |
/** | |
* Parse Vimeo M3U8 URLs to negate relative redirect issues with JW Player (See issue #1510) | |
* | |
* @return string | |
*/ | |
public function parseHLSUrl($url) | |
{ | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_URL, $url); //set url |
xzf, XTRACT ZE FILES!, is a utility for file extraction, as you may have guessed. Inspired by xkcd and general boredom. Works on both python v2.7 and v3.3.
Usage:
$ python xzf.py file [extra_tar_flags]
Or, programatically: