Skip to content

Instantly share code, notes, and snippets.

View jvanbaarsen's full-sized avatar

Jeroen van Baarsen jvanbaarsen

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://robots.thoughtbot.com</loc>
<priority>1.0</priority>
<changefreq>daily</changefreq>
</url>
<% sitemap_articles.each do |page| %>
<url>
<loc>http://robots.thoughtbot.com/<%= page.destination_path.gsub("/index.html", "")%></loc>
@samrocketman
samrocketman / gitlab_gemoji.patch
Created April 8, 2014 22:45
Revert GitLab back to gemoji
diff --git a/Gemfile b/Gemfile
index 195de7b..84bb745 100644
--- a/Gemfile
+++ b/Gemfile
@@ -164,7 +164,7 @@ gem "jquery-ui-rails", "2.0.2"
gem "raphael-rails", "~> 2.1.2"
gem 'bootstrap-sass', '~> 3.0'
gem "font-awesome-rails", '~> 3.2'
-gem "gitlab_emoji", "~> 0.0.1.1"
+gem "gemoji", "~> 1.3.0"
@zhengjia
zhengjia / capybara cheat sheet
Created June 7, 2010 01:35
capybara cheat sheet
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')