(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
#!/bin/bash | |
# from https://chromium.woolyss.com/ | |
# and https://gist.github.com/addyosmani/5336747 | |
# and https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md | |
sudo apt-get update | |
sudo apt-get install software-properties-common | |
sudo add-apt-repository ppa:canonical-chromium-builds/stage | |
sudo apt-get update | |
sudo apt-get install chromium-browser | |
chromium-browser --headless --no-sandbox http://example.org/ |
gem 'foreman' | |
gem 'puma' |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
# Speed things up by not loading Rails env | |
config.assets.initialize_on_precompile = false |
Bootstrap 3.0 gives you access to the awesome icon set icon set by these dudes but it's not obvious for a Rails newbie like myself to get it all working together nicely
RAILS_ROOT/vendor/assets/stylesheet/bootstrap-glyphicons.css
/dist/fonts
from the Bootstrap 3.0 download to a new folder in your Rails app RAILS_ROOT/vendor/assets/fonts
config.assets.paths << Rails.root.join("vendor","assets", "fonts")
to application.rb
after the line that has class Application < Rails::Application
.bootstrap-glyphicons.css
modify the the `url//Explaination: | |
// start with the empty set | |
// extract the head element | |
// copy each element in the set with the current head element appended | |
// recurse | |
var combinations = function(set) { | |
return (function acc(xs, set) { | |
var x = xs[0]; | |
if(typeof x === "undefined") |
# Speed things up by not loading Rails env | |
config.assets.initialize_on_precompile = false |
#!/bin/bash | |
set -e # exit on error | |
### README | |
# * built for Ubuntu (Lucid Lynx) | |
# * uses GIT via SSH because of !@#$% proxy at work | |
# * installs your desired ruby version (1.9.2-p290 per default) using rbenv | |
# ** including openssl (needed by bundler) | |
# ** including sqlite (probably needed for rails apps) | |
# | |
# Before you start: |
#!/bin/sh | |
### | |
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
### | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |