How to use:
./wordle.sh
Or try the unlimit mode:
| db/schema.rb merge=railsschema |
A while ago I did some rage tweeting about job ads. Here is a list of helpful things people sent me to read then and since:
| I spent some time messing around getting Time Lapse and HTTP Live streaming | |
| working on my Raspberry Pi | |
| I'm using a raspberry pi, Logitech C920 webcam and some powered 4 port hub from amazon | |
| Had a lot of problems with firmware (Make sure you update to the, as of April | |
| 18th 2014, beta firmware and set the USB concurrency flags to 0x7 (or something | |
| like that).) | |
| I also had problems with shitty USB cables, but now its pretty stable. |
| #!/usr/bin/env bash | |
| # Simple move this file into your Rails `script` folder. Also make sure you `chmod +x puma.sh`. | |
| # Please modify the CONSTANT variables to fit your configurations. | |
| # The script will start with config set by $PUMA_CONFIG_FILE by default | |
| PUMA_CONFIG_FILE=config/puma.rb | |
| PUMA_PID_FILE=tmp/pids/puma.pid | |
| PUMA_SOCKET=tmp/sockets/puma.sock |
| class Article < ActiveRecord::Base # Product class is similar | |
| belongs_to :user | |
| has_many :media, as: :ownable | |
| with_options through: :media, source: :representable do |assn| | |
| assn.has_many :videos, source_type: 'Video' | |
| assn.has_many :images, source_type: 'Image' | |
| end | |
| end |
| #################################### | |
| # BASIC REQUIREMENTS | |
| # http://graphite.wikidot.com/installation | |
| # http://geek.michaelgrace.org/2011/09/how-to-install-graphite-on-ubuntu/ | |
| # Last tested & updated 10/13/2011 | |
| #################################### | |
| cd | |
| sudo apt-get update | |
| sudo apt-get upgrade |
| # -*- encoding : utf-8 -*- | |
| set :assets_dependencies, %w(app/assets lib/assets vendor/assets Gemfile.lock config/routes.rb) | |
| namespace :deploy do | |
| namespace :assets do | |
| desc <<-DESC | |
| Run the asset precompilation rake task. You can specify the full path \ | |
| to the rake executable by setting the rake variable. You can also \ |
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |