Try this in phing:
<?xml version=”1.0″?>
<project name=”tartest” default=”tartest” basedir=”.”>
<target name=”tartest”>
<mkdir dir=”tartest”/>
<touch file=”tartest/test.txt”/>
<touch file=”tartest/test.__txt”/>
<touch file=”tartest/test__.txt”/>
<touch file=”tartest/test_._txt”/>
<tar destfile=”tartest.tar” basedir=”tartest” />
</target>
</project>
I would have expected it to actually DO pack the whole directory.
This works:
…
<tar destfile=”tartest.tar”>
<fileset dir=”tartest” defaultexcludes=”false”>
<include name=”**/**” />
</fileset>
</tar>
…
It’s the same for zip archives.
It doesn’t like it. Unclutter is a little program which hides your mouse pointer if it idles.
I had uploaded my favorite vimrc somewhere, but I forgot where…
This is mostly for my reference and not the final product: vimrc
I tried to copy a mysql database with several gigabytes of data and suddenly the receiving end chokes on a ‘nan’.
Nani?
Well apparently earlier versions of mysql supported ‘nan’ and ‘inf’ as valid float values but newer versions don’t as they abide by the SQL standard which states:
‘Thou shalt not NaN’
And thus it’s in the data [...]
The ‘get your diploma’ spam is now irrevelant to my interests.
Two things before I get back to learning.
1) I have been enticed by the Nokia N900.
I’m still not convinced it will deliver the kind of freedom I want,
but it’s apparently a damn nice toy.
So there I was, ready to be impressed by an article about the N900 on golem.de
when I realized that I could not [...]
this is from real hardware… now back to HL7, DICOM and friends…
This post was written using kablog from within the SUN WTK emulator. This particular version of kablog was compiled using ant and antenna. Yay. Inserting links is a PITA, so you’ll have to google ant, antenna and the sun wtk for now
I want a tool for my mobile phone which takes GPS coordinates and alerts me when I get close.
While doing some work at work I walked into a trap.
Let me start from the beginning:
It was a beautiful day, I had just fixed all my troubles with OpenVPN and heartbeat and all that was left was a little scripting, so I whipped out vim and started to python my way through things when I [...]