Skip to content

Instantly share code, notes, and snippets.

View chrjoh's full-sized avatar
💭
working

Christer Johansson chrjoh

💭
working
View GitHub Profile
@chrjoh
chrjoh / user.js
Created May 16, 2020 08:52 — forked from AetherEternity/user.js
Silent firefox
// Mozilla User Preferences
// To change a preference value, you can either:
// - modify it via the UI (e.g. via about:config in the browser); or
// - set it within a user.js file in your profile (create it if it doesn't exist).
//
// Profile folder location on different systems:
// Windows: C:\Users\<username>\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxxx.default
// Mac OS X: Users/<username>/Library/Application Support/Firefox/Profiles/xxxxxxxx.default
// Linux: /home/<username>/.mozilla/firefox/xxxxxxxx.default
@chrjoh
chrjoh / aprompt.png
Created September 24, 2012 06:48 — forked from mislav/aprompt.png
My zsh prompt. No oh-my-zsh needed
aprompt.png
@chrjoh
chrjoh / config.ru
Created March 6, 2012 07:49
Rails Lightweight Stack. Most of this is detailed on Crafting Rails Applications - http://pragprog.com/book/jvrails/crafting-rails-applications
# Run this file with `RAILS_ENV=production rackup -p 3000 -s thin`
# Be sure to have rails and thin installed.
require "rubygems"
# We are not loading Active Record, nor the Assets Pipeline, etc.
# This could also be in your Gemfile.
gem "actionpack", "~> 3.2"
gem "railties", "~> 3.2"
# The following lines should come as no surprise. Except by