Skip to content

Instantly share code, notes, and snippets.

View madbox's full-sized avatar

Mikhail Barablin madbox

  • at-consulting
  • Moscow, Russia
View GitHub Profile
# RSpec 2.0 syntax Cheet Sheet by http://ApproachE.com
# defining spec within a module will automatically pick Player::MovieList as a 'subject' (see below)
module Player
describe MovieList, "with optional description" do
it "is pending example, so that you can write ones quickly"
it "is already working example that we want to suspend from failing temporarily" do
pending("working on another feature that temporarily breaks this one")
@Evangenieur
Evangenieur / launch.sh
Created October 9, 2011 16:08
Thin, Sinatra, AMQP
#!/bin/bash
thin start -p 3000 -R test.ru
@deadalusai
deadalusai / tasks.json
Last active June 24, 2024 10:17
VS Code tasks.json for Rust/Cargo
/*
Before using this tasks.json you may like to consider trying one of the following VS Code extensions:
rust-analyzer
Marketplace: https://marketplace.visualstudio.com/items?itemName=matklad.rust-analyzer
Source: https://github.com/rust-analyzer/rust-analyzer
rls
Marketplace: https://marketplace.visualstudio.com/items?itemName=rust-lang.rust
Source: https://github.com/rust-lang/rls-vscode