Skip to content

Instantly share code, notes, and snippets.

Gaëtan Guéraud exadeci

Block or report user

Report or block exadeci

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@exadeci
exadeci / .rb
Last active Mar 20, 2017
ApplicationRecord model template for RubyMine
View .rb
#set($ctrlName = $NAME.replaceAll(".rb", ""))
#set($ctrlNewName = "")
#foreach($str in $ctrlName.split("_"))
#set($str = $str.substring(0,1).toUpperCase()+$str.substring(1))
#set($ctrlNewName = $ctrlNewName + $str)
#end
class ${ctrlNewName} < ApplicationRecord
end
View keybase.md

Keybase proof

I hereby claim:

  • I am exadeci on github.
  • I am exa (https://keybase.io/exa) on keybase.
  • I have a public key whose fingerprint is 702D 38C9 43AF 5F35 3B31 1AD3 070D 1875 AB37 4500

To claim this, I am signing this object:

@exadeci
exadeci / Capybara.md
Created Sep 15, 2015 — forked from tomas-stefano/Capybara.md
Capybara cheatsheet
View Capybara.md

Capybara Actions

# Anchor
click_link 'Save'

# Button
click_button 'awesome'

# Both above
View cocoon-chosen.js.coffee
$(document).ready ->
$('.form-list').bind 'cocoon:after-insert', (e, insertedItem) ->
insertedItem.find('.chosen').chosen()
View gist:1448719cd99c4bb74527
Verifying I am +exa on my passcard. https://onename.com/exa
You can’t perform that action at this time.