Fork me on GitHub

Tag: source

Tag Archives: source

Firefox view-source tab-width

Rejoice! There’s a way to set the tab with of the view-source window in Firefox. In March of this year Mozilla finally added an about:config option to control the tab-width in Firefox. I’m on Firefox 3.6.6 and it works like so: Enter about:config in the url bar. Filter the list (using the search box at […]

July 15, 2010 | Computers | 2 comments

Announcing the SP Source Code Highlighter plugin for WordPress

Maybe you noticed already, maybe you didn’t (I’ll wager on the latter 😉 ) that recently this site got new source code highlighting in posts. Or, should I say, that it GOT source code highlighting in posts. I had made a simple Script Source viewer a while back. Something simple and straight forward that I […]

July 7, 2009 | Code, PHP Scripting, Plugins | 1 comment

File upload class – it is fixed!

After a long time of knowing there was an issue with the script I finally got around to checking it out. Its a little embarrassing to say, but, here’s the dish: I wrote all the functionality to check the file type, but forgot to actually implement it… oops. The file is correct now, so to […]

August 30, 2007 | PHP Scripting | Comments Off on File upload class – it is fixed!

Show PHP source without duplicating files

Every once in a while I want to show a php script’s source code. I would always have a .php file to show an active file in use and a companion .phps file (php-source) to show the source. With a little mod_rewrite and php this can be done with just the one active file, and […]

November 22, 2006 | PHP Scripting | Comments Off on Show PHP source without duplicating files

Safari, View Source and Character Encodings

I just hit an interesting snafu with Apple’s Safari browser. While correctly rendering special characters from a page that lacked a doctype and character encoding meta tag, I viewed the page’s source and noticed that Safari wasn’t rendering any special characters that it was rendering in the actual page view. With the help of the […]

October 5, 2006 | Web Design & Development | 4 comments