Greg Hewett's Blog

Just a simple journal.

Uwezo Brands

| Comments

Uwezo Brands

At dib creative we recently were give the opportunity to work with Spark Farm and Swoon on bring a new brand online.

Uwezo generates scholarship funds for Empower African Children and opportunity for East Africans by reinvesting its revenues in Africa.

Check it out and go buy some shoes.

Uwezo Brands

Pandora Is What I Want.

| Comments

Pandora

I have had the free version of Pandora for years, and I just upgrade to the paid account. This happened just as so many options are starting to pop up and compete for my digital music listening habits.

Pandora is the right one for a couple of reasons.

  1. I am too old to know what is current or new. Pandora gives me the opportunity to explore the genres that I am interested in.
  2. Some call the music that I typically listen to monotonous (electronic, jazz), but if I hear the same songs over and over, I get distracted. There always a new station on Pandora.
  3. I usually listen to music while I am working, so having something fresh in my iTunes everyday will get really expensive. Pandora is quite affordable.
  4. iPhone, iPad, and AirPlay.

Land Rover Series III

| Comments

Land Rover Series III

This is the new dib creative toy (actually Clay’s toy). I need to figure out what to call it. 1980 Land Rover is all I know. It is very utilitarian, but in an awesome way.

Migrating Redmine From MySQL to PostgreSQL

| Comments

First of all, I think that taps is one of the best tools to have in your pocket if you are doing anything with databases.

PGError: ERROR: invalid byte sequence for encoding “UTF8”: 0x95 PGError: ERROR: invalid byte sequence for encoding “UTF8”: 0x92

~~~ruby

!/usr/bin/ruby

require ‘rubygems’ require ‘mysql’

my = Mysql::new(“127.0.0.1”, “redmine”, “froUc6oagoaQiuwi1T”, “redmine_production”) res = my.query(“select id, description from issues order by id”) puts “=”*80 res.each do |row| if !row[1].scan(/\x92/).empty?

puts "#{row[0]}"
puts "#{row[1]}"

end end ~~~