Quantcast
Channel: Squirrel Hacker » Value at risk
Browsing latest articles
Browse All 3 View Live

Image may be NSFW.
Clik here to view.

On naming functions sanely

When naming your functions, there are certain function prefix/postfixes that should only return specific types. They help the programmers who follow in your footsteps to grasp what it is you were...

View Article



Image may be NSFW.
Clik here to view.

A couple useful jQuery Snippets

For popups, just add class=”popup” jQuery('a.popup').live('click', function(){ newwindow=window.open($(this).attr('href'),'','height=200,width=150'); if (window.focus) {newwindow.focus()} return false;...

View Article

Image may be NSFW.
Clik here to view.

Documenting PHP Code

I know we all hate documenting code, but it can really help out future you or me when we need to go back and fix something. Poorly documented code is the bane of anyone who will be taking on your code...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images