64-bit Flash Player for Linux

Posted by John
on Thursday, 20 November 2008

A long time coming Adobe have finally released a 64-bit version of their Flash Player and it's for Linux.

It's in Alpha but reports suggest it's actually quite stable, so good news all around for us with 64-bit Ibex machines ;-)

You'll need to uninstall you're current Flash Player via either...

sudo aptitude remove flashplugin-nonfree

Or going into your ~/.mozilla/plugins directory and removing the old version.

To install simply download the tar file relevant to your distro, extract the plugin and drop it into your Firefox Plugins directory ~/.mozilla/plugins

Restart Firefox and you should be good to go,

Firefox Config

Posted by John
on Thursday, 20 November 2008

to access the Firefox Configuration area, type this into your address box and hit enter...

about:config

If you completely screw things up you can reset to the defaults by...

  • Start Firefox in Safe Mode
  • Check the Reset to Defaults box
  • Click the Make Changes and Restart button

RubyMine Public Preview

Posted by John
on Wednesday, 19 November 2008

RubyMine

From the makers of Resharper, a brand new Ruby IDE for Windows / Mac / Linux.

...might finally be a reason to switch off TextMate ;-)

Installing on Linux is a little difficult but do-able, first off download the Linux build and extract it.

Next up you'll need to add an environment variable into your .bashrc file,

gedit .bashrc

Then add this to the end of the file, with the path of your JAVA JDK location.

export JDK_HOME=/usr/lib/jvm/java-6-openjdk/

Save it and reload Terminal so it's got the new variable, then in Terminal navigate into the bin directory of RubyMine you just downloaded,

cd ~/Desktop/rubymine472/bin

Then remove the last line of rubymine.vmoptions

gedit rubymine.vmoptions

  remove this line => -agentlib:yjpagent=disablej2ee,sessionname=rubymine

Once done you should be able to start up RubyMine;

~/Desktop/rubymine472/bin/rubymine.sh

Then you can add it to your .bashrc file so you can fire it up any time you want with an alias,

alias rubymine="~/Desktop/rubymine472/bin/rubymine.sh"

And then

rubymine

Log Maintenance (SQL SERVER)

Posted by John
on Wednesday, 19 November 2008

Over time your SQL Server transaction log will fill up and if you don't watch it it'll consume all your server's disk space.

So to cure that problem it's best adding a weekly job to SQL Agent with these commands

Truncate log...

USE [databasename]
GO
BACKUP LOG databasename WITH TRUNCATE_ONLY
GO

Shrink database...

USE [databasename]
GO
DBCC SHRINKDATABASE(N'databasename' )
GO

(truncating only clears the logfile, to reclaim that space you have to shrink the database)

Important!

Do remember to schedule a full database backup before this so you don't lose any important transactions; critical in a live environment.

Javascript GUID's

Posted by John
on Monday, 17 November 2008

finally I can create GUID's in javascript, thank you Michael Mahemoff.