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:
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:
#!/bin/bash | |
#a small script to automate installing from downloaded AUR tarballs | |
if [ ! -f $1 ] | |
then | |
echo "File $1 does not exist" 1>&2 | |
exit | |
fi | |
base=$(basename -s '.tar.gz' $1) #meh |
So, you want to send a motherfucking XMLHttpRequest (XHR, or commonly and falsly known as AJAX.) Too bad, just ran out of motherfucking XMLHttpRequests; but I still have one regular. XHR is not magic. It does not autofuckinmagically send things the way you want them do be sent. It does not do the thinking for you. It just sends an Http Request.
You get a hold on such a prime beast like this:
//creating an element is easy peasy | |
var divElem = document.createElement( 'div' ); | |
//divElem is now a div element. it's not related to the any other element or | |
// node, it's free-range. | |
//to add it to the body element, for example: | |
document.body.appendChild( divElem ); | |
//splendidsimo! |