Posts Tagged with "fun"

Regular expressions? What's that? Part 2.

Posted by Stanislav Furman on June 2, 2014

Thanks to nightbloos I can continue posting funny code samples that developers meet/write from time to time. :)

Here is another good example of how NOT to do! Please, do not try this at home! This stunt was performed by untrained professionals.  :)


<?php
$forReplace = array(",","."," ","-", "+", "#""/");
foreach($forReplace as $repl){
	$find = str_replace($repl,'',$find)
}

Obviously, in this case a regular expression function must have been used.

If you have another good examples of a funny code samples, please leave it in the comments. ;)


Porn website offers to help US government with ACA website

Posted by Stanislav Furman on December 3, 2013
Porn website offers to help US government with ACA website

JIRA Junior. Project Tracking... for Kids!

Posted by Stanislav Furman on October 12, 2013
JIRA Project Tracking... for Kids! Atlassian comes up with JIRA Junior.

I code like I f**k! Fast, messy and with no comments

Posted by Stanislav Furman on October 2, 2013
I code like I f**k! Fast, messy and with no comments

Google Search Easter Eggs

Posted by Stanislav Furman on September 16, 2013
An interesting information about Google Search Easter Eggs.

Flight 666 to "HEL" on Friday the 13th

Posted by Stanislav Furman on September 13, 2013
Would you board Flight 666 to HEL on Friday the 13th?