Ryan Rampersad
Opinions, Thoughts and Ideas - PHP, Java and Javascript
  • Home
  • About
  • Contact
Browse: Home / Tips

Tips

Matrix Multiplication in Java

By Ryan on January 19, 2010

Back to the old Java Grid Stone this week, but hey, it’s fun anyway. This time, it’s Matrix Multiplication. I failed to find sufficiently explained information about this horrid excuse for Java, so I want to help everyone else out.
In java, you’re typically dealing with matrices of int or double. The code I provide below [...]

Posted in Java | Tagged Java, matrix, multiplication, Tips | Leave a response

Did you forget about the Wordpress Admin-Sidebar?

Did you forget about the Wordpress Admin-Sidebar?

By Ryan on November 26, 2009

In Wordpress 2.7, the entire Admin area was revamped and beautified. Since then, subtle enhancements have been made and I think attention has waned. Do you leave your sidebar open? I always kept it open until recently when I suddenly remembered that I can close it.
So, you should close your sidebar. You know why? It [...]

Posted in Wordpress | Tagged admin, sidebar, Tips, Wordpress | Leave a response

Health Care for the Wordpress Database

By Ryan on November 5, 2009

Even your neighborhood database needs a checkup every now and then. Over time, Wordpress Databases can get dirty. You can fix this easily of course if you want to manually run the Optimize function the database via phpMyAdmin but there is another solution.
Step 1 – WordPress Database Backup
This is the first step. You’re going to [...]

Posted in Tips, Wordpress | Tagged backup, database, health, optimize, Tips, Wordpress | Leave a response

Stop console.log errors without deleting each call

Stop console.log errors without deleting each call

By Ryan on October 28, 2009

Have you ever added a couple of console.log calls to your javascript, test it in Firefox, then go into Internet Explorer and see tons of mysterious errors popup? I sure have, I always forget about those console.logs that are interwoven in my code. While it isn’t hard to do a replace on them all, I [...]

Posted in Javascript, Tips | Tagged console.log, firebug, Javascript, Tips | 2 Responses

Backup Your Bookmarks

Backup Your Bookmarks

By Ryan on October 3, 2009

Backing up bookmarks is a good practice. As time goes on, you acculmate hundreds of bookmarks, maybe thousands. Counting bookmarks isn’t very hard either, it’s actually pretty fun knowing.
Firefox, Chrome and Safari
Well, backing up in Firefox is easy as long as they keep the Export as HTML feature in the Organize Bookmarks window, accessible from [...]

Posted in Tips | Tagged bookmarks, Browsers, Tips | Leave a response

Java Tips: main(String[] args)

By Ryan on June 24, 2009

A typical java file starts with it’s class name and for beginner programmers, you’ll usually have a public static void main(String[] args) line a couple lines below that class name too.
Many beginner programmers aren’t taught what exactly the String[] args part means though. They’ll learn arrays eventually but they still won’t understand the point of [...]

Posted in Java | Tagged args, command line arguments, Java, main, string, Tips | 1 Response

TeraCopy - An Alternative to Windows Copy

TeraCopy – An Alternative to Windows Copy

By Ryan on June 2, 2009

I was looking for ways to boost the speed at which files copy from drive to drive. In my search, I found an excellent free option called TeraCopy. It has a very nice feature list and a pro-version of TeraCopy can be tested for 30 days before committing to 14.95 (in euro, about 2o usd).
Features:

Copy [...]

Posted in Tips, Windows | Tagged Alternative, better than, review, TeraCopy, Tips, Windows Copy | Leave a response

Recent Posts

  • Create a Branch and Switch to it in Git
  • Setting Build Path has Encountered a Problem in Eclipse
  • Queue Ajax Requests in Mootools
  • CakePHP 1.3 Helper $text truncate error
  • CakePHP – 1and1 – 500 Internal Server Error

Tags

(fluff)Grabber 2.7 2009 Apple array beta blog blogs Browser Browsers CakePHP chrome CSS Design Error Firefox fluff friends fluff grabber free Google html iGoogle internet explorer Java Javascript mac Microsoft Mootools music PHP plugin plurk program review School SEO solution string tip Tips update vista Windows windows 7 Wordpress

Search

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
QC: