Usually I use the old Borland grep.exe that still ships with Delphi. Too bad it is 16-bit app which does not recognise Unicode.
FindStr does. Though much slower and with limited regular expression capabilities, can do recursive searches too:
findstr /spin /c:"string to find" *.*
The /spin is a shortcut for these case insensitive command-line options (the full list of possible options is below):
/S Searches for matching files in the current directory and all
subdirectories.
/I Specifies that the search is not to be case-sensitive.
/N Prints the line number before each line that matches.
/P Skip files with non-printable characters.
Sometimes I leave out the /P to include binary files.
One of the things you cannot do in XSD, is have string enumerations contain both a key and a value.
But there is a little appinfo trick inside annotation that you can user under some circumstances, for instance when you interpret the XSD:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
appinfo is the application counterpart of documentation: both can contain any xml, but appinfo is aimed at machines, whereas documentation is aimed at humans.
I remember this happening when I was almost starting the studies at University: the Netherlands getting their country code top-level domain in 1986: at first mostly universities and research institutions were getting their .nl domains.
Today 30 years ago .nl came into existence and the first research institution domain here was cwi.nl (the research institution for math and informatics) as it handled the registrations (for years Piet Beertema did that, even before he hooked CWI to NFSnet in 1988).
This was the era of uucp – way before the web – which handled a lot of the mail traffic, but not the only one as back-then my HLERUL5.bitnet email address wasn’t even tied to the .nl dmain back then: it ran over DECnet based Mail-11 software. So it took a few more years before I got a .nl email address that the university and one of the reasons I still use a jeroenp account on many systems, for instance a few more years later when I got jeroenp@dragons.nest.nl at home.
This was way after the first commercial companies got their .nl toplevel domains, for instance and.nl was registered very early on (and Jos Horsmeier was very active).
So: happy birthday .nl and a bit thank you for all the people involved in getting .nl into existence.
GridPP – providing computing and storage facilities for grid computing in the UK – has published 3 nice articles on their use of ZFS on Linux and comparison against hardware RAID:
“In metric, one milliliter of water occupies one cubic centimeter, weighs one gram, and requires one calorie of energy to heat up by one degree centigrade—which is 1 percent of the difference between its freezing point and its boiling point. An amount of hydrogen weighing the same amount has exactly one mole of atoms in it.Whereas in the American system, the answer to “How much energy does it take to boil a room-temperature gallon of water?” is “Go fuck yourself,” because you can’t directly relate any of those quantities.