- create the
pair
user - install git if not present
- install wemux
- set the
pair
user as the only wemux host in the wemux config file
- set the
- add public ssh keys of users to
.ssh/authorized_keys
file - use
visudo
to add thepair
user to the sudoers list. configure it sopair
doesn't require a password to usesudo
- install dotfiles
- install vim plugins
- install silver searcher
- install mosh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a small program that compares two different | |
# pay-out scenarios offered to the indie funk | |
# band Partial Cinema. http://partialcinema.com | |
# Given ticket sales numbers, compare the pay-out | |
# and return-on-investment (dollars received per ticket sold) | |
# for the two different scenarios. | |
# | |
# tickets - an array of the form [integer, integer, integer] | |
# where each integer represents the number of tickets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
StimulusReflex::Channel#receive({"target"=>"HsApplications#toggle_shortlist", "args"=>[], "url"=>"http://pairing.hiresuccess.com:3000/campaigns/4764?campaign_scope=testing_complete", "attrs"=>{"class"=>"shortlist-│····················· | |
off toggle-shortlist", "data-application-id"=>"145068", "data-placement"=>"bottom", "data-reflex"=>"click->HsApplications#toggle_shortlist", "data-toggle"=>"tooltip", "href"=>"#", "title"=>"Remove this applicant f│····················· | |
rom the shortlist", "data-controller"=>"stimulus-reflex", "data-action"=>"click->stimulus-reflex#__perform", "checked"=>false, "selected"=>false, "tag_name"=>"A"}, "dataset"=>{"data-application-id"=>"145068", "dat│····················· | |
a-placement"=>"bottom", "data-reflex"=>"click->HsApplications#toggle_shortlist", "data-toggle"=>"tooltip", "data-controller"=>"stimulus-reflex", "data-action"=>"click->stimulus-reflex#__perform"}, "selectors"=>[],│····················· | |
"reflexId"=>"e179bf83-7c26-45a1-8bb7-788ba229768e", "permanent_attribute_name"= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Here's our Application Reflex for reference: | |
class ApplicationReflex < StimulusReflex::Reflex | |
end |