oddsblogs


::::: February 14, 2007 at 12:00 am

Equality Checking Symbol (Question Mark over Equals) in LaTeX

Took me forever to figure this one out today…a simple question mark over an equals sign, for checking equality in a paper writt3n in LaTeX. There are a billion “special” commands for something over an equals sign, why not a question mark? Well, that would be too easy… »Click to continue reading…

Popularity: 64%

By Billy ::::: Permalink ::::: 2 Comments
See Related Stories In: Computing

::::: February 11, 2007 at 11:22 pm

IP Address to Integer Conversion in C# (and other languages)

A couple of times, I’ve needed a function to convert a string representation of an IP address to a 32-bit unsigned integer, to save in a database for example. It’s kind of a waste to save the string representation of an IP address in a database, as IPv4 addresses are only 32 bits and fit nicely in a 32-bit unsigned integer field of, for example, a MySQL table. Each character in the string would be a byte! »Click to continue reading…

Popularity: 73%

By Billy ::::: Permalink ::::: 5 Comments
See Related Stories In: Programming

::::: February 10, 2007 at 2:18 pm

Playing Card Hands - A Wordpress Plugin for Displaying Cards

Playing Card Hands is a wordpress plugin that allows playing cards to be easily inserted and displayed using simple tags in posts and comments. This is useful for bloggers writing about any card game: poker, spades, bridge, etc. The plugin is simple to install and use. –>

Popularity: 100%

By Billy ::::: Permalink ::::: 9 Comments
See Related Stories In: Programming

::::: February 9, 2007 at 1:18 pm

Password Recovery in the Epiphany Browser (Mozilla)

At some point, I was using the Epiphany web browser for Gnome on my linux workstation. I’m using Firefox now, but I had one obscure identity number that was hidden in the saved passwords that I needed to reveal. There was no option to show the saved password, and I couldn’t find any documentation for recovering the password. –>

Popularity: 52%

By Billy ::::: Permalink ::::: 1 Comment
See Related Stories In: Computing

::::: February 4, 2007 at 2:46 pm

Shuffling Cards (Randomizing Arrays) the RIGHT Way!

A while back, I was writing a blackjack simulator where I needed to model shuffling a deck of cards (randomizing the elements of an array). This problem seemed simple; so simple that I made a big mistake. The code I was writing was in Java, but the examples here are in C. –>

Popularity: 58%

By Billy ::::: Permalink ::::: 1 Comment
See Related Stories In: Programming