HTML/CSS Tips and ‘cheatsheet’

March 23rd, 2011

I’ve done quite a bit of work on websites now, and along the way there were a few things that really helped or that I needed to double check every time I used it. I might keep this list updated, if I find some more nice tricks.

HTML

  • Document Type Definitions (DTDs)
    • HTML4 Strict:
      <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    • XHTML 1.0 Strict:
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    • HTML5:
      <!DOCTYPE html>
    • Read the rest of this entry »

Notepad++ – Ctrl+S showing a DC3 character?

January 15th, 2011
Notepad++ Logo, notepad-plus-plus.org

If you’re on Notepad++ and suddenly your Ctrl keys stop working properly, showing ‘DC3′ for Ctrl+S and a bunch of other characters for other hotkeys,it is usually just a simple problem:

99% of the time, you’ll have a dialog box open that you didn’t know about. Closing that should fix the problem!

(for me it was the ‘no results found’ dialog from using search)

 

Notepad++ is a free text editor available from notepad-plus-plus.org

Common Programming Mistakes

November 7th, 2010

Random CSS code image

So you’ve written up a nice piece of code, checked and double-checked it. When you run it, everything seems fine to start with, but nothing’s actually happened. If you’re completely stuck and wondering why it’s not working, here’s a few steps to follow to try and get back on track:

Run the code through validators or code quality tools

If you make the code using a simple text editor without error detection, you may have missed something important in your code. In many cases, running the code through these checker tools will give you information on errors and possible problems that could occur.
Read the rest of this entry »

Clean up and Speed up your PC for Free in 4 Steps

December 22nd, 2009

You’ll need to install some programs, which are free, and free up space on your hard drive. Here are 4 easy-to-follow steps to speed up your PC:
Read the rest of this entry »

Twitdraw: How to recover a ‘broken’ drawing

December 3rd, 2009

TwitdrawIf you’ve used twitdraw before, you’ve probably encountered a problem where you drew a nice picture, entered your twitter login details, then nothing happens, and all of the buttons are disabled.

Fortunately, it is still uploaded, but it isn’t easy to find, and sadly, doesn’t know the user who uploaded it.
Read the rest of this entry »

Nintendo DS: R4Pro Guide – Tips, Tweaks, and Acekard Firmware

August 24th, 2009
The R4DS is probably the most popular ‘flash cart’ for the Nintendo DS, but i noticed that it only supports up to and including 2GB microSD cards. I thought 2GB was pretty small.
I saw another version while I was shopping around that claims to support SDHC Cards (SD cards that have over 2gb memory), so i ordered the R4DS Pro, an unofficial ‘clone’, and after some research:
Read the rest of this entry »

How-To: Get the original Movie Maker back on Windows 7

August 24th, 2009

This is a problem that arises with amateur video editors and YouTubers running Windows 7. As most of you know, the Windows Live Essentials pack has ‘Windows Live Movie Maker’ (and beta), which has been totally stripped bare, and even crashed on me for trying to add a soundtrack.. O_O
And the original Movie Maker is very easy to use and, of course, perfect for youtubing.
Read the rest of this entry »

VB.NET: Reading from/Writing to a text file

August 24th, 2009

This is a simple guide for reading/writing to a text file for a Windows application (similar to notepad)
C# will be almost exactly the same, just add a few semicolons and curly brackets.. ;-)

Read the rest of this entry »

Nintendo DS: Comparison of Flash Carts

August 24th, 2009

The R4 is the most popular flash cart for the Nintendo DS, a flash cart for homebrew, however the R4 Team is no more, probably because of Nintendo.

There are many clone cards of the well-known R4 that have good and bad points, the most popular R4 clones are the R4Ultra and R4 SDHC. These cards usually have an improved hardware like support for SDHC (4GB+) cards, but they will have downsides such as glitchy firmware. Most people find clone cards to be much worse off overall, mainly because of compatibility issues.

Read the rest of this entry »

How-To: Replace DS Lite Bottom/Touch Screen

August 24th, 2009

This page will show you how to replace a DS Lite’s touchscreen or bottom LCD screen (or anything else in the lower part of the DS).

WARNING: The following guide is quite dangerous, will void any warranties you have, and you may be better off not trying to replace anything

This guide disassembles a lot less of the components, so it looks a bit tricky, but its easier to re-assemble and theres less risk of damaging the screens/screen cables.
Read the rest of this entry »