A piggy bank of commands, fixes, succinct reviews, some mini articles and technical opinions from a (mostly) Perl developer.

Jump to

Quick reference

Showing posts with label tip. Show all posts
Showing posts with label tip. Show all posts

Jira tips

Search for all the issues you've viewed recently: /issues/?jql=updated%20%3E%3D%20-52w%20order%20by%20lastViewed%20DESC

Perl debugger tips and tricks


In the debugger:

  • $DB::deep = 500 # prevent the warning "100 levels deep in subroutine calls!"
  • {{v # display the code ahead after every step
  • b Test::Something::App::Module::login # break at a particular subroutine in a specified module
  • c # continue until the next breakpoint
Also remember that the debugger often provides extra stack trace information for 'untraceable' warnings or errors.


How to change a shape type in Visio

Install the "Super Utilities and Tools" add-in from Paul Herber's Sandrila Ltd.

Use the 'Shape | Substitute' command.

Create Eclipse project with existing files

  • Have your workspace as the directory above the directory containing your files.
  • Create the project with a name that is the same as your files directory.
The problem is, if there are lots of (unrelated) files, Eclipse will take a long time to load up.

There are other options, i.e.:

  • Create a new folder
  • Click the 'Advanced' button
  • Link to an external folder

Shortcuts in Firefox 2

You can set up a shortcut keyword by
  1. going to the properties of a bookmark in 'organize bookmarks',
  2. putting a %s as the wildcard in the URL
  3. setting a keyword for the shortcut
Then you can type the keyword and a wildcard in the address bar to load that url.

[full article]

Make Firefox 3 look like Firefox 2

From the neo-luddite department.

MySQL auto increment tip

TRUNCATE a table to reset its auto_increment number