I just did a clean install of Lenny AMD64 and had issues getting Iceweasel to start. No output from the command line, just a blank screen and no Iceweasel process. I did a strace /usr/bin/iceweasel and after a zillion meaningless lines I found the jackpot. My ~/.mozilla folder was owned by root! How or why, I’m not sure.
Just chown -R your_user:your_user ~/.mozilla and you should be fixed!
In: Linux No Comments
It’s always easy for someone else to do it - just ask this guy:
“In need of a web programmer to complete a project that is 3/4 completed. Its not complex and it involves attaching a website to a replicator script that is already pre-molded, changing some text on some already made web pages and integrating a merchant account that we have for e-commerce. If you are local to the Greenville, SC upstate area and have a basic understanding of this type work send us an email and we will contact you asap.”
Nice. From http://greenville.craigslist.org/web/787188287.html if you’re interested.
In: Meh No Comments
I’m not exactly sure what this is yet, but the transparent png trick is pretty dang cool. Make sure you resize your browser window once the page is loaded, then watch the vines.
http://silverbackapp.com/
In: CSS No Comments
Need to insert some fake data in your development database? Grab the Faker gem and drop this into lib/tasks/fake_data.rb. Customize it for your model(s) and execute with rake db:development:fake_data.
namespace :db do
namespace :development do
desc "Create records in the development database."
task :fake_data => :environment do
require 'faker'
100.times do
c = Client.create(
:first_name => Faker::Name.first_name,
:last_name => Faker::Name.last_name,
:middle_initial => ("A".."Z").to_a.rand,
:ss_number => 99999999 + rand(999999999 - 99999999),
:date_of_birth => Time.now - (rand(12000)).days)
end
end
end
end
I’m sure there’s more optimization to be done, but it works for me!
UPDATE: I added a few extra lines for data outside of faker.
In: Rails No Comments