Skip to content

Instantly share code, notes, and snippets.

View marat-y's full-sized avatar
💭
available

Marat Yamaliev marat-y

💭
available
View GitHub Profile
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active July 23, 2024 19:59
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@tomas-stefano
tomas-stefano / Capybara.md
Last active July 3, 2024 12:47
Capybara cheatsheet

Capybara Actions

# Anchor
click_link 'Save'

# Button
click_button 'awesome'

# Both above
@channainfo
channainfo / 20231120092630_add_signature_to_delayed_jobs.rb
Last active May 6, 2024 08:02
Unique job with delayed_job using active job api
# add a new migration to the delayed_job table to track uniqueness
class AddSignatureToDelayedJobs < ActiveRecord::Migration[7.0]
def change
add_column :delayed_jobs, :signature, 'varchar(64)', index: true
end
end