Juniper VPN

Connecting to Juniper VPN

Juniper works with Linux, yes even 64 bit. Unfortunately, Juniper only ships with 32 Java binaries so you have to have 32 bit Java available. I do Java development for a living and I can't run 32 bit Java because it will not address enough Heap space for my needs. So I took a page from this hack: http://ubuntuforums.org/showthread.php?p=11189826#post11189826

JConsole

JConsole

JConsole is a tool that comes with the standard Oracle/Sun version of the Java JDK. It's helpful in watching the overall behavior of a Java Virtual Machine.

If you want to set this up to monitor a Tomcat instance, you must add a few JVM parameters in catalina.sh:

Convert a Video from FLV to MPG Format

Convert a Video from FLV to MPG Format

  1. Find the FLV file in your browser cache.
  2. Convert it using ffmpeg

References:
http://tips4linux.com/convert-youtube-flv-files-in-linux/

Suspend

Suspend

Suspend works perfectly for me on my Lenovo X220 and Slackware Linux version 13.37. One thing that I was always irritated about was having to restart bluetooth after suspend.

/etc/rc.d/rc.bluetooth restart

I had to add a hook in /etc/pm/sleep.d to make this come alive on its own after a resume. All the files here are executed after a resume and they have to be marked executable. Here's the contents of mine:

#!/bin/sh
/etc/rc.d/rc.bluetooth restart

System 76 - Never Again

I've had the Serp 6 model, which is now discontinued, for less than a year. I paid over $2000 for mine and it is without a doubt the worst computer I've ever owned. I'm not a new Linux user. Been using it since 1995. I love Linux. It's the hardware. It really is bad.

I've had mine in for repair once. One issue was fixed with the bad memory but it still freezes multiple times a day because of some other unknown issue. I've never paid so much for anything and gotten so little.

Installing CPAN Modules

How to install CPAN modules

I simply use cpan because it is shipped with Slackware.

Here is an example of installing Text::CSV_XS. I do this as root because a normal user does not have access to install a modules system wide.

cpan Text::CSV_XS

References:
http://search.cpan.org/~hmbrand/Text-CSV_XS-0.82/CSV_XS.pm

Perl

Perl

Perl is a fantastic scripting language with lots of available libraries. It's great for prototyping, one offs, and automating repetitive tasks. It has a lot of pitfalls though. It's easy to write horrible code. Maintenance can be a nightmare. Most of the Perl I write is short and isn't meant for inclusion in larger projects.

T-Mobile My Touch 4g

T-Mobile My Touch 4g

I'm partial to Android phones. I actually don't care what Apple is doing. I don't trust them and I never will. Does that mean I can trust Google, HTC, and T-Mobile. No, but at least there are a lot of companies involved and not just secretive Apple.

LastPass and Xmarks

LastPass and Xmarks

Linksys WRT54GL Router

Linksys WRT54GL Router

Pages

Subscribe to raescott.net RSS