Archives
Admin / Logout

Adam Merrifield

a picture of me
I am a web designer, theme designer, professional photographer and internet personality. I make many pretty things and I write a lot of content for the internet.

I am one of those guys that, because of the industry I am in, need to be connected at all times. At any given moment you'll find me posting on a forum, updating with twitter, Digging things worthy of attention, uploading pictures, or tagging cool sites.

here i am

seyDoggy Systems:
This is home base, the corporate headquarters, the hub, if you will, seyDoggy.com.

seyDesign news:
these are the RapidWeaver related posts that originally appear in the seyDesign.com blog

Uploads from seyDoggy:
these are the pictures that I upload to flickr

Merrifield Photography:
as a professional photographer I my camera ready at Merrifield-Photography.com.

delicious.com/seydoggy:
these are the websites I want to share or revisit later on. I just tag them on delicious.com.

what i am

I am the owner and operator of seyDoggy Systems, a small theme, code and design outfit based in Kitchener, Ontario, Canada. We primarily develop web based technologies but have begun to dabble in the desktop realm.

what i do

I code like a fool. I design like a fool. I am happiest when I can split my time between the two (though I tire of Photoshop faster then I do TextMate or Terminal), and somehow I have managed to etch out a living doing so.

Intro to Scripting Mail | MacTech

“Email automation is usually popular among AppleScript developers using Mac OS X. By writing scripts to perform email-related processes, developers can automate processes such as sending batches of recipient-customized messages, archiving emails in text format or in a database, emailing status reports to administrators, and much more.”–via Article archive | MacTech.

| Trackback

Run Multiple Websites on One Server

“Here’s a simple tutorial to get many websites running on one ubuntu serverLet’s say you have root access to your own server and want to run many websites on it. If you have Ubuntu Server running with Apache, I will show you in a few easy steps how to configure and run as many websites on your server as the load can handle.Follow these simple instructions and your additional websites will up and running immediately.”–via Ubuntu Server – Configure and Run Multiple Websites on One Server | Tech Exposures.

| Trackback

Guide to Unix/Environment Variables

“Each program started from that shell will have VARNAME set to new value. The names of environment variables are case-sensitive; by convention they are uppercase. A shell variable is like an environment variable, except that it is not exported to new programs started from that shell. You could export it, but normally you just write a shell initialisation script to set it in each shell.”–via Guide to Unix/Environment Variables – Wikibooks, open books for an open world.

| Trackback

Jon Combe–jQuery/CSS and background-position

“The jQuery .css function allows one to retrieve an existing value from, or set a new value to, the DOM elements you specify.Of course, you dont need jQuery to do this but this is my website, and I like it, so there. Everything about this function works exactly as it says on the tin except, Ive found, when retrieving the background-position attribute in pre-IE9 Internet Explorer.”–via Jon Combe | Code | JavaScript, jQuery, CSS and the background-position attribute.

| Trackback

Installing Bugs-Everywhere

Here is a little documentation for getting bugs-everywhere installed on your OS X 10.7 system. Bugs-everywhere is a distributed bug-tracker, designed to work with distributed revision control systems such as Arch, Bazaar, Darcs, Git, Mercurial and Monotone.

The reason I’m publishing this documentation is because the official on-line documentation for bugs-everywhere is terrible, especially for installing on OS X. I fought with it for days before finally seeking help from the be-devel mailing list. Phil Schumm was kind enough to walk me through his own steps and get me squared away.

I shall assume

These instructions assume a few things, a) that you are familiar with CLI, b) that you are using TextMate, c) that you have git installed and d) that you you have a folder in your user directory called “github”.

a) If you’re not familiar with CLI, no worries, every time you see the “$”, that means you are entering the line that follows it into Terminal or your preferred command line interface. So for instance, “$ sudo pip install numpydoc” means that you will enter “sudo pip install numpydoc” into the command line and hit enter.

b) If you are not using TextMate, then replace all the mentions of “mate” with your CLI editor of choice, like vi/vim, nano, pico…

All but the first two steps will be run from the command line.

c) There is plenty of online documentation for installing git. But I would tend to think that you’d already be familiar with git or it’s ilk, otherwise you wouldn’t be installing “be“.

d) The “github” directory comes from having installed the GitHub.app (from GitHub) on my Mac. I don’t actually use the app, but it collected a bunch of my repos for me and I found that handy. I was lazy and never moved it or changed it to just “git” or “repos” or something like that. So where ever you see “github” in the file path, substitute your own directory, where ever you generally collect such repositories.

Warning

I barely got through this myself, and even then, only with the help of Phil Schumm. I make no claim that this info is correct, accurate or even recommended by the “be” developers themselves. It is, however, how I managed to get “be” to work. If it doesn’t work for you, then please take it up with the be-devel mailing list and not here in the comments.

The steps

  1. Install xcode (http://itunes.apple.com/ca/app/xcode/id448457090?mt=12).

    • What they don’t tell you in OS X Lion is that the “make” command-line is not installed unless you download and install Xcode 4.
  2. Run the xcode installer app (/Applications/Install Xcode.app).

    • Another “gotcha” is that Xcode isn’t actually installed unless you actually install it. It’s a two part Mac App Store process unique to Xcode 4 and Lion I think.
  3. Edit your .bash_profile:

    • You want to edit your path so that bash can eventually find the “be” command. So first you need to open your profile in your favorite editor:

      $ mate  ~/.bash_profile
      
    • Then add these lines (if not already there) and save:

      PATH="/usr/local/bin:${PATH}"
      export PATH
      
  4. Edit your python path:

    • Open easy-install in your favorite editor:

      $ mate /Library/Python/2.7/site-packages/easy-install.pth
      
    • …between two import statements add:

      /usr/local/lib/python2.7/site-packages
      
  5. Install pip (optional).

    • Pip is a python tool for installing and managing Python packages, such as those found in the Python Package Index. It’s an alternative for easy_install but if you’d rather not use it, then substitute further mention of “pip install” with “easy_install“.

      $ git clone git://github.com/pypa/pip.git ~/github/pip
      $ cd ~/github/pip
      $ sudo python setup.py install
      
  6. Install the “be” Python dependencies.

    • be” has very poorly documented dependencies that you will never find unless you dig deep through the source code, or keep trying to “make test” and weed out the errors and warnings one by one. You can cover all of them by installing these:

      $ sudo pip install numpydoc
      $ sudo pip install pyyaml
      $ sudo easy_install cherrypy
      $ sudo easy_install sphinx
      
  7. Clone bugs-everywhere.

    $ git clone git://gitorious.org/be/be.git ~/github/be
    $ cd  ~/github/be
    
  8. Edit the “be” Makefile:

    • To account for the fact that we want this software installed in /usr/local/

      $ mate Makefile
      
    • …find and edit the lines to match below

      RST2MAN = /usr/local/bin/rst2man.py
      RST2HTML = /usr/local/bin/rst2html.py
      
      INSTALL_OPTIONS = "--prefix=/usr/local"
      
  9. Install “be“:

    $ sudo make
    $ sudo make test
    $ sudo make install
    
  10. Test to make sure the install worked:

    $ be --help
    

Summary

While I can’t guarantee this works for everyone and I certainly don’t know if this is the right or wrong thing to do, I at least got “be” working on my system, and that was a feat on it’s own.

If this setup doesn’t quite do it for you, or you are having difficulty getting “be” installed on your own system, then please do inquire at the be-devel mailing list.

| Trackback

inadyn – Dynamic DNS client for Linux…

“INADYN is a free DynDNS client. It gives the possibility to have your own fixed hostname registered on the internet, although your IP might be changing. It checks periodically whether the IP address stored by the DNS server is the real current IP address of the machine that is running INADYN.” –via inadyn – Dynamic DNS client for Linux...

Very small and kick-butt!

| Trackback

JavaScript Design Patterns by Addy Osmani

“Design patterns can be traced back to the early work of a civil engineer named Christopher Alexander. He would often write publications about his experience in solving design issues and how they related to buildings and towns. One day, it occurred to Alexander that when used time and time again, certain design constructs lead to a desired optimal effect.” –via Essential JavaScript Design Patterns For Beginners.

| Trackback

GoPro HD Helmet HERO

“GoPro’s HD Helmet HERO is the world’s highest performance wearable 1080p HD video and still photo camera. Professional quality 1080p / 960p / 720p HD resolutions record at 30 and 60 frames per second 60 fps in 720p. Record up to 2.5 hours on a single charge and up to 9 hours total on a 32GB SD card not included.” — via GoPro.

@ehMac was using this camera on Saturday for some of his coverage of the Waterloo Apple Store Opening. I was very impressed with the results. I want.

| Trackback

StudioPress Introduces a Marketplace

“We are very pleased to announce the launch of the StudioPress Marketplace – where developers from around the community can sell their work.It’s no secret that the Genesis Framework is used by a lot of people – we have 39 child themes, 54,000 customers and our records indicate that Genesis is used on more than 300,000 sites.” – via Introducing the StudioPress Marketplace.

 

Cool.

| Trackback

Lion Recovery Disk Assistant

“Built right into OS X Lion, Lion Recovery lets you repair disks or reinstall OS X Lion without the need for a physical disc.

The Lion Recovery Disk Assistant lets you create Lion Recovery on an external drive that has all of the same capabilities as the built-in Lion Recovery: reinstall Lion, repair the disk using Disk Utility, restore from a Time Machine backup, or browse the web with Safari.” — via Lion Recovery Disk Assistant.

| Trackback
Powered by RapidWeaver, WP-Blog and WordPress 3.3.1