Show build status for you CI build statuses from Semaphore on your Dashing dashboard.
Add the Semaphore ruby gem to your gemfile
gem 'semaphoreapp', '~> 0.1.1'| #################################### | |
| # 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 |
| 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 |
| #!/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 |
| 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. |
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:
| db/schema.rb merge=railsschema |