Entries Tagged as ‘refactormycode’

July 22, 2008

RefactorMyCodeBook.com

You can now follow people on RefactorMyCode.com. Wow it’s like FaceBook + code snippets! Better get your mom an account!
You’ll then have a page with all stuff posted by your new friends and even an Atom feed.
To follow someone, simply go to their profile page and click on “Follow this user”.
Hope you like it!

November 7, 2007

Defensio launched

Remember my Defensio plugin ? It is used on RefactorMyCode to keep the site clean of any spam and the users happy.
Defensio(hit refresh if you don’t see the new site) is now public, so you can get an API key in seconds and get to speed with my plugin in milliseconds (or less).
Congrats to the [...]

October 31, 2007

Upcoming BarCamp and Montreal on Rails

Next BarCampMontreal is this weekend, November 3rd, I’ll be giving a short presentation on RefactorMyCode.com. I’ll also be giving away a free special and unique gift to celebrate RmC success and announcing a new secret feature, be there!
Montreal on Rails is next week, November 6th, I won’t be giving a presentation on anything, but lots [...]

October 17, 2007

Gravatar caching plugin

Gravatar is slow.
You use Gravatar on your site.
Your site is slow.
We hate slow site.
Caching is fast.
Cache Gravatars on your site.
Your site is fast!
Get it!
script/plugin install http://code.macournoyer.com/svn/plugins/gravatar_cache
Or using piston:
piston import http://code.macournoyer.com/svn/plugins/gravatar_cache vendor/plugins/gravatar_cache
Place something like this in your Rakefile:

def gravatar_emails
User.find(:all).collect(&:email) # Return the emails you wanna cache
end

Now put everything in place for showtime:
rake gravatar:setup
Cache it!
rake [...]

October 14, 2007

Refactoring of the week

Since last week I pushed a whole lot of new features to RefactorMyCode:

Email notification when a new refactoring is posted
Edit your refactoring
More caching to make page loading über fast
Make popular page sort by week first, so old stuff doesn’t stay on top
Add an alternative OpenID in case your main one is down (set it in [...]

October 6, 2007

Refactoring of the week

RefactorMyCode.com has now been (publicly) live for a week. It was amazing! Who would have though a simple site like this could attract more then 100 000 visits in a week ?
But what surprises me the most is how much the community is alive and healty. I haven’t had any spam really yet, well maybe [...]

September 29, 2007

Ouch! You broke my site

When James asked me if he could send RefactorMyCode to Digg, I said: sure. After all I spent lot of time on caching parts of the site so it would be fast. Ben and Fred also helped me spread the word with their networking ninja skills. By the time I went home that day it [...]

September 26, 2007

Refactor my Code

If there’s one thing that current blogs suck at it’s sharing code. Ok, some have plugins to highlight code in your post, but what about the comments? Blogging is all about having conversations! How many times have you seen on blogs the author asking to replace > and < with something else. Oh! and forget [...]