Skip to content

Instantly share code, notes, and snippets.

Avatar
👋

Brian Thomas Smith bsmth

👋
View GitHub Profile
@gjtorikian
gjtorikian / homepage_spec.rb
Last active Dec 5, 2019
Basic Capybara testing with Jekyll + Rack
View homepage_spec.rb
require 'spec_helper'
describe "Homepage" do
before :each do
visit "/index.html"
end
it "has a title" do
expect(page).to have_css("h1", text: "GitHub Help")
@willurd
willurd / web-servers.md
Last active Feb 1, 2023
Big list of http static server one-liners
View web-servers.md

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000