Skip to content

Instantly share code, notes, and snippets.

View ceritium's full-sized avatar
🏠
Working from home

Jose Galisteo ceritium

🏠
Working from home
View GitHub Profile
@ceritium
ceritium / Capybara.md
Created October 5, 2022 07:42 — forked from tomas-stefano/Capybara.md
Capybara cheatsheet

Capybara Actions

# Anchor
click_link 'Save'

# Button
click_button 'awesome'

# Both above
@ceritium
ceritium / ajax_widget.rb
Created June 30, 2021 21:11 — forked from rmahnovetsky/ajax_widget.rb
Apotomo ajax widget example
module Apotomo
class AjaxWidget < Apotomo::Widget
responds_to_event :ajax_display
def display
render :view => :display
end
def ajax_display
@ceritium
ceritium / stimulus.md
Created November 7, 2020 22:53 — forked from mrmartineau/stimulus.md
Stimulus cheatsheet
@ceritium
ceritium / download_all_humblebundle.js
Created December 12, 2018 21:45 — forked from deangiberson/download_all_humblebundle.js
Download humble bundle contents
/*
After purchasing a humble book bundle, go to your download page for that bundle.
Open a console window for the page and paste in the below javascript
*/
function getTitle() {
var re = /^Humble\ Book\ Bundle\:\ (.*)\ \(/g;
return re.exec(document.title)[1];
}
@ceritium
ceritium / _readme.md
Last active February 20, 2016 10:18 — forked from todgru/_readme.md
Installing Tmux on Dreamhost tmux dreamhost