How to Exclude Directories from Tar
# tar -cf Filename.tar --exclude "/full/path/to/exclude/" /path/to/tar
tar -cf Filename.tar --exclude "/full/path/to/exclude1/" --exclude "/full/path/to/exclude2/" /path/to/tar
Friday, July 6, 2012
How to Exclude Directories from Tar
Friday, June 8, 2012
Harga Sebenar Minyak ron95 && ron97
Terima kasih BN. sudah terang sekarang.
Wednesday, June 6, 2012
Wordpress user follow users
Just a plugin concept …
Add a form with a button to each user profile, post or wherever you want it named Follow orUnfollow. Show the button only if
is_user_logged_in(). You may use a widget for the form.On form submit update a user meta named
followsfor the user who clicked the button and another one namedfollowersfor … well … the user who just got a new follower. Use the user IDs as a serialized array (yes, ugly, I know).Create a dashboard widget or a whole page where the access is restricted to users who can follow or be followed. Query for the user meta
followsto get a list of all authors the current user has subscribed to and then query for the posts from these users.Get the user meta
followersand print a nice list of her followers.
Thursday, May 24, 2012
Adding postgres user and grant to a database
Wednesday, May 16, 2012
Monday, May 7, 2012
Maintaining PHP session when using CURL.
Maintaining PHP session when using CURL.
$strCookie = 'PHPSESSID=' . $_COOKIE['PHPSESSID'] . '; path=/';session_write_close();$ch = curl_init($rssFeedLink);curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);curl_setopt( $ch, CURLOPT_COOKIE, $strCookie );$response = curl_exec($ch);curl_close($ch);Thursday, April 26, 2012
Sunday, April 22, 2012
Attach file in mail command line Linux/Unix
Thursday, April 5, 2012
Tuesday, March 27, 2012
Sunday, March 25, 2012
Proxmox installation display out of range
Reference: https://forum.proxmox.com/threads/proxmox-ve-screen-out-of-range.131297/
-
Original Source :: http://en.irfanview-forum.de/viewtopic.php?t=490 /one - force 'Only one instance' /fs - force Full Screen displa...
-
Original Source:: http://www.zytrax.com/tech/pc/serial.html Tech Info - USB and Firewire USB and FireWire (IEEE 1394a and b) represent the...