Archives
Admin / Logout

Adam Merrifield

a picture of me
I am a theme developer, a coder and internet personality.

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 Sublime Text 2 or Terminal), and somehow I have managed to etch out a living doing so.

Coloration – editor color scheme converter

coloration is editor/IDE color scheme converter. Right now it allows you to convert your favourite Textmate color scheme (in XML plist format) to Vim, JEdit and KDevelop/Kate/Kwrite color scheme. It tries to do its best to generate the most accurate result for given target.

via Coloration – editor color scheme converter.

Primark

| Trackback

Sweyla – Color Theme Generator – TextMate/Emacs/Vim

How cool is this? A one-click syntax color scheme generator for TextMate themes, Vim colorschemes and more. Sweyla – Color Theme Generator – TextMate/Emacs/Vim.

| Trackback

Setting up numbers, colors and mouse control in VIM

So I’m making my way through `$ vimtutor` because I feel like it’s time I think about letting go of emacs key bindings and the apps that such muscle memory keeps me bound to (TextMate). I’m not entirely new to vim but my vim-foo is limited and I’m certainly not proficient enough at it to make vim my full time editor.

Anyway, a few things I needed to figure out quick to make my stay in vim a little more comfortable was some basic setting to make it feel a bit more like home and mac the move from emacs-like editors a little less jarring. Line numbers, syntax coloring and mouse movements will certainly help.

So in my .vimrc file I added the following lines

set mouse=a
syntax on
set number

That feels a little more like home. And don’t worry, I will never be dependent on the mouse, I just need it while I get used to moving around.

| Trackback

Tech Time: Harvey: A Second Face for Your JavaScript

When media queries finally reached a state of good support across a lot of browsers, we started to make our web applications adapt to our users’ devices by optimizing the layout to focus on the content.But now that we’ve grown to like and incorporate this new adaptive approach, what’s next? We set foot on fairly new grounds not too long ago and so we are still discovering new corners of this land we call Responsive Web Design. One of the things that we will explore next is the ability to add different modes of interaction to our sites, i.e., conditionally executing different JavaScript based on the screen dimensions of the rendering device.

via Tech Time: Harvey: A Second Face for Your JavaScript.

| Trackback

Adjusting brightness on bootup

I got tired of having to enter the code from [the last post][] to adjust my Linux screen brightness so with a little inspiration from the internet I figured I’d pop a few aliases into my .bashrc

alias bri=’sudo setpci -s 00:02.0 F4.B=FF’
alias mid=’sudo setpci -s 00:02.0 F4.B=75′
alias dim=’sudo setpci -s 00:02.0 F4.B=25′

Now these settings will be available through terminal by typing `dim`, `mid` or `bri`. But that’s still more work then I want to do so I also picked my favorite value likely to be my default and I added it to my startup scripts. `vim /etc/init.d/mystartup.sh`

#!/bin/bash
# Adam’s Startup scripts

echo “Setting up customized environment…”

# adjust screen brightness
sudo setpci -s 00:02.0 F4.B=75

Then I set permissions to `chmod +x` and update my bootup scripts:

$ update-rc.d mystartup.sh defaults 99

Done.

[the last post]: http://adam.merrifield.ca/2012/06/01/ubuntu-support-for-intel-gma-3600/ “control brightness via terminal”

| Trackback

[ubuntu] Support for Intel GMA 3600?

You know how many hours I’ve spent looking for this little gem? Until I have time to compile a newer linux kernel that may or may not support my GMA 3600 hardware, I’ve found this little command line script deep within the Ubuntu forums to help me dim my screen and save precious battery life (and prevent my retinas from burning out).

sudo setpci -s “00:02.0″ F4.B=CC

via Ubuntu Forums – View Single Post – [ubuntu] Support for Intel GMA 3600?.

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