Skip to content

Instantly share code, notes, and snippets.

View hashrocketeer's full-sized avatar

Hashrocket Employees hashrocketeer

View GitHub Profile
@dkarter
dkarter / .projections.json
Created October 12, 2016 15:21
Page objects projections config
{
"spec/support/pages/*.rb": {
"type": "page",
"template": [
"module Pages",
" class {camelcase}",
" include Capybara::DSL",
" include CapybaraErrorIntel::DSL",
" include Rails.application.routes.url_helpers",
"",
@rbishop
rbishop / README.md
Last active April 26, 2022 15:38
A super simple Elixir server for sending Server Sent Events to the browser.

Generate a new Elixir project using mix and add cowboy and plug as dependencies in mix.exs:

  defp deps do
    [
      {:cowboy, "~> 1.0.0"},
      {:plug, "~> 0.8.1"}
    ]
  end
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active May 1, 2024 03:34
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname