i dream of code

Rick Martinez

Web Developer and Golden Panther.

  • brianbreslin
  • brupm
  • kevin
  • dailydrop
  • betsy-pr
  • jennizzle
  • pduffman
  • followingtime
  • jlvblg

Snow Leopard + RMagick

There’s nothing I hate more than having to install the RMagick gem on a freshly installed instance of Mac OS X. I’ve attempted to narrow down the best way to do it quickly. You need MacPorts well installed.

$ sudo port install libxml2 ImageMagick ruby rb-rubygems
$ sudo gem install rmagick

Bam.

Increase sudo session length for lazy asses

If I’m at my workstation for an extended period of time, why should I be retyping my password for sudo if I’ve already taken precautions for when I step away?

Here’s how to increase the time before sudo asks for your password again:

$ sudo visudo

Then add the following line somewhere nice:

Defaults timestamp_timeout=360

Then save the file and quit. The 360 timeout is in minutes, so that would be six hours. Adjust to your liking.

Intro to Ruby on Rails Workshop

I’m happy to announce my first free “Intro to Ruby on Rails” workshop at Florida International University.

This is meant to be for people who have never touched Ruby on Rails before and have been looking to get into it. I hope that from this I can gauge the RoR needs and wants from the South Florida community so we can develop more advanced (and free!) workshops in the future.

Please register to attend: http://tinyurl.com/railsworkshop

Looking forward to seeing you there!

Rewriting old domain to new with nginx

As simple as:

if ($host ~* "domain.old$") {
  rewrite ^\/?(.*)$ http://domain.new/$1 permanent;
  break;
}

Introducing FIUWiki.com

I’ve been meaning to do this for over a year, and all it took me was a couple minutes.

The students and community need a centralized place for information about FIU and this will hopefully bring it. Through a collaboration with students and staff, we can build something great here.

This will be very similar (if not, identical) to what students have done at Duke for a wiki. Professor bios, class information, FIU history, administrative information, and more.

This will be exactly what it looks like: A Wikipedia for FIU.

Please join and contribute!

IRC channel for FIU on Freenode

I set up #FIU on Freenode for us geeky Golden Panthers

If you need an IRC client, here are my recommendations:

How to connect to FIU’s Cisco VPN natively in Snow Leopard

Hate Cisco’s clunky and useless VPN client invading your personal desktop space? Of course you are!

A screenshot of OS X Snow Leopard connected to FIU's VPN natively

Luckily, if you’re running the latest beta for Mac OS 10.6, you can connect to the FIU (or another organization’s) VPN natively, along with Mac OS’s great VPN user interface. And it all just takes a few easy steps.

  1. First, you need to request your Cisco VPN profile file for your environment. Ask the people who manage the VPN in your IT department for your respective PCF file.

  2. Once you acquire the PCF file, visit http://tinyurl.com/cisco-decrypt for an online version of Maurice Massar’s cisco-decrypt tool. Upload your PCF file, and note down your Server Address, Group Name and Shared Secret.

  3. Go to your System Preferences and click on the Network icon.

  4. Under the list of network interfaces on the left, click the “+” sign to add a new connection.

  5. Select “VPN” for the “Interface” drop-down menu. Then select “Cisco IPSec” for the VPN type. Put “FIU” or the name of your organization as the “Service Name.”

  6. For the “Server Address,” enter the server address that the online cisco-decrypt tool gave you.

  7. Enter the proper credentials for the “Account Name” and “Password.”

  8. Click “Authentication Settings…” and fill the “Shared Secret” and “Group Name” tools with the results given by the online cisco-decrypt tool earlier. Click “OK.”

  9. Click “Apply” on the bottom right corner. Then click the “Connect” button under the “Authentication Settings…” button. Optionally, but recommended, you should check “Show VPN status in menu bar” for quick and native access to FIU’s, or your organization’s, VPN.

You should now be set up and a much happier camper with your organization’s proprietary Cisco VPN. Enjoy!

Opinion by me: The students' voice will change a flawed administration

  • Iris: I hate Megan Fox
  • Rick: Come on, Iris
  • Rick: You know you'd do her if you had a penis.... or do you :O
  • Iris: Well
  • Rick: THE PLOT THICKENS
  • Iris: Yeah, I'll tell ya, SOMETHING THICKENS
  • Iris: ZIIIIIING

FIU Cheer and Marching Band Press