tar syntax
// tar:
// untar:
tar -cvzf file.tar.gz inputfile1 inputfile2
// untar:
tar -xvzf file.tar.gz
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
Nicholas http://organanddrums.net
tar -cvzf file.tar.gz inputfile1 inputfile2
tar -xvzf file.tar.gz
SET PASSWORD FOR user@localhost = OLD_PASSWORD('password');
function ahah(url, target) { document.getElementById(target).innerHTML = ' Fetching data...'; if (window.XMLHttpRequest) { req = new XMLHttpRequest(); } else if (window.ActiveXObject) { req = new ActiveXObject("Microsoft.XMLHTTP"); } if (req != undefined) { req.onreadystatechange = function() {ahahDone(url, target);}; req.open("GET", url, true); req.send(""); } } function ahahDone(url, target) { if (req.readyState == 4) { // only if req is "loaded" if (req.status == 200) { // only if "OK" document.getElementById(target).innerHTML = req.responseText; } else { document.getElementById(target).innerHTML=" AHAH Error:\n"+ req.status + "\n" +req.statusText; } } } function load(name, div) { ahah(name,div); return false; }
<a href="file1.html" onclick="load('file1.html','content');return false;">File 1</a>
/Applications/Firefox.app/Contents/MacOS/firefox -safe-mode
passwd root
passwd admin
lookupd -flushcache
defaults write com.apple.screencapture type *format*