Wednesday, October 27, 2010
Tuesday, October 26, 2010
copy and backup
find /tmp/test/ -name '*.csv' -exec cp --backup=numbered {} /tmp/test2/ \;
if a file exists in the destination cp will create a copy first like filename.~1~
Thanks to RAMIN the RAMPALO
Sunday, October 24, 2010
Saturday, October 23, 2010
linux iptables SNAT
you do not have to have the ip address of a machine behind iptables set on the gateway machine before you can SNAT with the ipaddress of the machine behind the firewall. In other words you can keep your valid ip address on the machine behind the gateway and still ask your gateway to SNAT with that IP.
Wednesday, October 20, 2010
Visio add text to shape with yellow dot
In detail, it goes something like this:
1. Create or select a shape (duh!)
2. Open the ShapeSheet via Window > Show ShapeSheet
Go to: Insert > Section and check Controls and Text Transform (if it isn’t grayed out)
You should now see both the Controls section and the Text Transform section in the ShapeSheet.
3. In the Text Transform section, set the TxtPin cells as follows:
TxtPinX = Controls.Row_1.X
TxtPinY = Controls.Row_1.Y
4. In the drawing window, reposition the control handle to a suitable default position. The text should follow along!
Taken from: http://www.visguy.com/2009/05/06/top-twelve-text-tips/
Subscribe to:
Posts (Atom)