one thing I can definately say I hate, is regular expression syntax, I do however like what Regular Expressions can do. In a quest to search for an easier better way of assembling regular expressions syntax I’ve stumbled across an awesome website named http://www.txt2re.com/
At first glimpse this website looks a bit complicated, but say we have an example string <a href=”foo.com/whatever”>blah</a>, and we want to extract the domain name, it’s as easy as entering the string, clicking Show Matches, and using the color coded chart to find the FDQN (full qualified domain name).
The beauty of this website is that it also generates the code required for you, they have a selection of a wide range of snippets including Perl, PHP, Python, Java, Javascript, ColdFusion, C, C++, Ruby, VB, VBScript, J#.net, C#.net ,C++.net, VB.net .. Nice. At the end of the day I can just get on with my programming.
Filed under: code - No Pointless Response
I came across a problem under solaris with mysql+PAM authentication where when creating a user via useradd, it locks them out by adding *LK* in /etc/shadow, shadow entries with NP worked fine.
once the user is created, type passwd -N username_here
you will now notice that /etc/shadow will have NP insted of *LK*.
Is it just me or do all Americans pronounce the Internet innernet. I hear it over the radio/TV/youtube everywhere, am I missing something here? is the T silent? this upsets me because at times I wonder if there is another Internet named Innernet, are there two different giant networks? one that I’ve never visited before? [...]
well, hello, my name is Mark and like many people who blog I work in the IT industry. My earliest memory of operating a computer would of been the Atari with the strange function keys, I can remember sitting in my brothers room while he was either programming or playing random games, it wasn’t [...]
Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!