Shane Sveller

Somewhere between happy and total f**king wreck

Follow me on TwitterRSS Feeds

  • Home
  • Hardware

MySQL ruby gem with MacPorts MySQL

Jun 13th

Posted by Shane in OSX

View Comments

sudo env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-include=/opt/local/include/mysql5 --with-mysql-lib=/opt/local/lib/mysql5 --with-mysql-config=/opt/local/lib/mysql5/bin/mysql_config

This worked for me with mysql installed via macports by the command:

sudo port install mysql5 +server

Source: Code Intensity

database, gem, mysql, OSX, Rails, ruby

Live backups using LVM and dump

May 27th

Posted by Shane in Computers

View Comments

If, like me, you’ve built your Ubuntu machine using LVM for all partitions except /boot, you can do a live backup of your system using LVM snapshots and the dump tool. More >

backup, Linux, lvm, ubuntu

More OSX apps I love

May 27th

Posted by Shane in Computers

View Comments

  • TextMate – Programmer’s text editor
  • 1Password – secure password and information manager that integrates into your browser(s)
  • AppZapper – clean up behind software you decide to axe
  • Boot Camp – Yeah, there’s still some Windows apps I use. (built into OSX)
  • Camouflage – hide those pesky desktop icons for focus and clarity
  • CoverSutra – iTunes tool for keyboard shortcuts, album artwork, Spotlight-like search, and Last.FM integration
  • Cyberduck – FTP/SFTP client with drag-and-drop and Growl notifications
  • Firefox 3.0 – only in release candidate status, but already a contender to finally replace Safari
  • Fluid – turn any website into a .app
  • Handbrake – DVD-ripping tool for converting DVDs to digital video files for your iPod, AppleTV, XBMC, etc.
  • iStat Menus – monitor your CPU, memory, and network usage in your menu bar
  • MacPorts – install Unix/linux tools using a tool similar to apt-get
  • NeoOffice – good, free replacement for the slow and bloated MS Office
  • Parallels Desktop – run Windows or Linux inside OSX
  • SquidMan – run the Squid HTTP caching proxy on OSX
  • SuperDuper / Carbon Copy Cloner – great backup tool
  • ted – Torrent episode downloader – track your favorite TV shows!
  • Time Machine – great, simple, configure-and-forget backup solution (built into OSX)
  • Twitterific – Twitter client
  • WhatSize / GrandPerspective – a graphical overview of what’s eating up all your harddrive space (hint: pr0n.)
list, OSX, software

OSX apps I can’t live without

May 1st

Posted by Shane in Computers

View Comments

  • Adium Multi-protocol IM client; supports AIM, Yahoo, MSN, MySpace, Google Talk, and loads more.
  • Growl pop-up notifications for anything and everything
  • Safari – included with OSX
  • Mail and Address Book- included with OSX
  • Quicksilver keyboard-based launcher; hard to explain what it does, but useful as all hell
  • Firefox browser, though I don’t use it nearly as much on OSX because of Safari
  • Schoolhouse homework manager or iProcrastinate
  • Colloquy IRC chat client
  • Google Mail notifier
  • iBackup
  • NetNewsWire RSS reader
  • Skim PDF reader (Preview is good, Skim is better)
  • The Unarchiver for zips, rars, aces, etc.
  • Transmission bittorrent client
  • VLC media player for files Quicktime won’t handle

Safari IconLeopard Mail Icon

guide, list, OSX, software

Quick Tip: Ubuntu default runlevel

Apr 24th

Posted by Shane in Computers

View Comments

If you, like me, use sysv-rc-conf to change the services that run a particular runlevel, i.e. so that runlevel 2 is actually only networked and not GUI as tradition holds, you can set the default runlevel to boot in Ubuntu by editing:

/etc/inittab:
id:3:initdefault

The number in the middle is the runlevel to start by default.

Linux, runlevel, ubuntu

Personal internet acceleration, part 1

Apr 14th

Posted by Shane in Computers

View Comments

My SFF server machine has been configured to speed up my digital life. More >

firefox, internet, Linux, OSX, proxy, safari, squid, ubuntu

Using binary NVidia 8800GT drivers on Ubuntu Gutsy

Apr 14th

Posted by Shane in Computers

View Comments

In order for me to use the official binary drivers, version 169.12, from NVidia with my GeForce 8800GT on Ubuntu Gutsy, I had to do some research. Alberto Milone‘s envy tool makes the whole thing almost idiot-proof.
More >

169.12, 8800gt, binary, driver, geforce, gutsy, nvidia, ubuntu

Ubuntu Gutsy AMD64, LVM, and Xen from repositories

Apr 10th

Posted by Shane in Computers

View Comments

My desktop just grew by two 500GB Western Digital Caviar drives. Having installed those, I loaded Gutsy-AMD64 on one using LVM. The partition schema is as follows:

Drive: 500GB #1
Volume Group: server1
Volumes:
	swap_1 - 6GB - swap
	root_1 - 30GB - ext3 - mounted as /
	home_1 - 20GB - ext3 - mounted as /home/
Free space: ~398GB

500GB number two will probably wind up being a RAID mirror via my motherboard. This LVM layout allows me to dynamically allocate space for the many potential Xen DomUs I create.

To install Xen on Gutsy-AMD64 desktop version:
sudo apt-get install ubuntu-xen-desktop-amd64

More >

64-bit, gutsy, Linux, sysadmin, ubuntu, virtualization, xen

God is watching over my Rails

Apr 7th

Posted by Shane in Computers

View Comments

On my home server I’m toying with some Rails clustering and such, using nginx and thin, and now God to watch over things.
With this setup, I can add apps and port-ranges to monitor any time I like, and I can split off a particularly specific configuration group if an app has unusual trends or requirements, such as using loads of memory.
More >

god, monitor, Rails, server

Memcached and memcached gem on Leopard

Mar 31st

Posted by Shane in Computers

View Comments

In the pursuit of utilizing memcached on my 2008 MacBook with Leopard, I’ve been stuck for a while trying to get the memcached gem to compile and install properly using memcached installed through MacPorts.
More >

caching, gem, leopard, memcached, OSX, Rails, ruby
«123»
  • Search

  • Categories

    • Computers
      • Linux
      • OSX
      • Programming
        • Javascript
        • Rails
      • Windows
    • Games
    • Hardware
      • Phones
    • Life
    • Reviews
    • System Administration
      • Wordpress
  • Archives

    • January 2010
    • December 2008
    • November 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
    • May 2008
    • April 2008
    • March 2008
    • February 2008
  • Twitter

    • I'm all for screencasts of programming tips and tutorials, but sometimes I can't/won't stream video; a companion write-up is always welcome 2 days ago
    • Just in case you needed more evidence that EJO is a BAMF, and haven't seen this yet: http://bit.ly/dxlvV1 #BSG 3 days ago
    • Played some 4-player Alien Swarm last night on Insane. With the right players, that game is a total blast. I'd gladly pay for more levels. 4 days ago
    • Anyone know if LastPass or XMarks have native Safari 5 extensions yet? 2 weeks ago
    • Getting excited! RT @phusion_nl: Passenger 3 tech preview: Closing the gap between development and production - http://tinyurl.com/2vznhpo 3 weeks ago
  • User Login






    • Lost your password?
Copyright © 2010 Shane Sveller
Mystique theme by digitalnature | Powered by WordPress
RSS Feeds Top