Click here to Skip to main content

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrasing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: .NET is Hell (subtitle: An error message from Microsoft) PinmemberStefan_Lang15-Oct-12 5:53 
GeneralInfinate levels of hierarchal data [modified] Pinmemberasdrog3-Oct-12 2:30 
GeneralRe: MySQL "in (list)" example to recursivly get information - And the power of Loops! Infinate levels of hierarchal data Pinmembermark merrens3-Oct-12 6:22 
GeneralRe: MySQL "in (list)" example to recursivly get information - And the power of Loops! Infinate levels of hierarchal data Pinmemberasdrog3-Oct-12 7:30 
GeneralRe: MySQL "in (list)" example to recursivly get information - And the power of Loops! Infinate levels of hierarchal data Pinmembermark merrens3-Oct-12 7:43 
GeneralRe: MySQL "in (list)" example to recursivly get information - And the power of Loops! Infinate levels of hierarchal data PinprotectorAspDotNetDev3-Oct-12 7:45 
GeneralRe: MySQL "in (list)" example to recursivly get information - And the power of Loops! Infinate levels of hierarchal data Pinmembermark merrens3-Oct-12 8:02 
GeneralRe: MySQL "in (list)" example to recursivly get information - And the power of Loops! Infinate levels of hierarchal data Pinmemberasdrog3-Oct-12 14:21 
GeneralRe: MySQL "in (list)" example to recursivly get information - And the power of Loops! Infinate levels of hierarchal data PinmemberSentenryu4-Oct-12 1:50 
GeneralRe: Infinate levels of hierarchal data PinmemberBernhard Hiller4-Oct-12 1:28 
GeneralRe: Infinate levels of hierarchal data Pinmemberasdrog4-Oct-12 12:35 
GeneralRe: Infinate levels of hierarchal data PinprotectorAspDotNetDev4-Oct-12 13:24 
GeneralRe: Infinate levels of hierarchal data Pinmemberasdrog4-Oct-12 14:20 
GeneralCSS selector of the day PinadminChris Maunder2-Oct-12 9:41 
:not
 
as in:
a:not([href]) { color: inherit; text-decoration:none; }
This makes all A tags that don't have a href (eg a <a name=...> bookmark) take their colour from their parent and removes the hover underline.
 
I just thought it was eloquent enough to share.
cheers,
Chris Maunder
 
The Code Project | Co-founder
Microsoft C++ MVP

GeneralRe: CSS selector of the day PinmemberZac Greve2-Oct-12 10:32 
GeneralRe: CSS selector of the day PinmemberMike Ortmans2-Oct-12 23:38 
GeneralRe: CSS selector of the day PinmemberBobJanova3-Oct-12 0:31 
GeneralRe: CSS selector of the day PinadminChris Maunder3-Oct-12 5:19 
JokeRe: CSS selector of the day PinmemberMarcus Kramer3-Oct-12 5:23 
GeneralRe: CSS selector of the day PinmemberSentenryu3-Oct-12 2:11 
GeneralRe: CSS selector of the day PinmemberYvan Rodrigues3-Oct-12 4:55 
GeneralRe: CSS selector of the day Pinmemberjayson lorenzen3-Oct-12 6:03 
GeneralRe: CSS selector of the day PinmemberCésar de Souza3-Oct-12 6:13 
GeneralRe: CSS selector of the day PinadminChris Maunder3-Oct-12 9:20 
GeneralRe: CSS selector of the day Pinmemberjsc4211-Oct-12 1:43 
GeneralRe: CSS selector of the day PinadminChris Maunder11-Oct-12 5:34 
GeneralCoded insults Pinmemberdojohansen28-Sep-12 5:14 
GeneralRe: Coded insults PinmemberMike Winiberg30-Sep-12 21:29 
AnswerRe: Coded insults PinmemberMark Springsteen30-Sep-12 22:07 
GeneralRe: Coded insults PinmemberMike Winiberg30-Sep-12 22:16 
GeneralRe: Coded insults PinmemberEddy Vluggen3-Oct-12 3:33 
GeneralRe: Coded insults PinmemberMarco Bertschi10-Oct-12 3:09 
GeneralRe: Coded insults Pinmemberkrubach21-Oct-12 1:42 
GeneralRe: Coded insults PinmemberBob10003-Oct-12 6:56 
GeneralRe: Coded insults PinmemberJohnLBevan30-Sep-12 23:46 
GeneralRe: Coded insults PinmemberTimothy J Sygitowicz1-Oct-12 6:10 
GeneralRe: Coded insults PinmemberVallarasuS1-Oct-12 6:55 
GeneralRe: Coded insults Pinmemberpatbob1-Oct-12 6:27 
GeneralRe: Coded insults PinmemberBobJanova1-Oct-12 7:06 
GeneralRe: Coded insults Pinmembererzengel.des.lichtes1-Oct-12 7:58 
GeneralRe: Coded insults PinmemberBobJanova2-Oct-12 1:02 
GeneralRe: Coded insults PinmemberStefan_Lang2-Oct-12 5:30 
GeneralRe: Coded insults Pinmemberemajyn1-Oct-12 7:25 
GeneralRe: Coded insults Pinmemberpatbob1-Oct-12 8:02 
GeneralRe: Coded insults PinmemberStefan_Lang2-Oct-12 5:36 
GeneralRe: Coded insults Pinmemberemajyn2-Oct-12 5:39 
GeneralRe: Coded insults PinmemberRavi Bhavnani2-Oct-12 10:38 
GeneralRe: Coded insults PinmemberProgramFOX1-Oct-12 6:59 
GeneralRe: Coded insults Pinmemberdojohansen2-Oct-12 3:24 
GeneralRe: Coded insults PinmemberZac Greve1-Oct-12 8:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.141223.1 | Last Updated 24 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid