- airplay-mdns-server - Advertise an AirPlay server on the network
- raop-mdns-server - Advertise a RAOP server on the network
- raop-stub - Create a fake RAOP server on the network
- rtsp-stream - Parse RTSP streams
- rtsp-server - A low level module for creating RTSP servers
- raop-server - A low level module for creating RAOP servers (WIP - for now, see raop-rtsp-server or rtsp-server instead)
- airplay-server - A low level module for creating AirPlay servers
- airplay-txt - WIP
Custom recipe to get OS X 10.10 Yosemite running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.
This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.
You are encouraged to fork this and modify it to your heart's content to match your own needs.
| #!/bin/sh | |
| # assumes a clean install on a fresh linux box. | |
| # for use w/ codeship.io | |
| set -e | |
| set -u | |
| # a reference to the cloned repository's path | |
| PWD=`pwd` | |
| METEOR_APP_PATH="$PWD/MeteorApp" |
| inputs = %w[ | |
| CollectionSelectInput | |
| DateTimeInput | |
| FileInput | |
| GroupedCollectionSelectInput | |
| NumericInput | |
| PasswordInput | |
| RangeInput | |
| StringInput | |
| TextInput |
| Computing | |
| Paul E. Ceruzzi | |
| ISBN: 9780262517676 | |
| Modeling Business Processes | |
| Wil van der Aalst and Christian Stahl | |
| ISBN: 9780262015387 | |
| The Reasoned Schemer | |
| Daniel P. Friedman, William E. Byrd, and Oleg Kiselyov |
| # See a video of this at: http://www.youtube.com/watch?v=jlKt2Ed-Y04&feature=youtu.be | |
| require 'ardrone' | |
| drone = ARDrone::Drone.new | |
| drone.start | |
| drone.take_off | |
| sleep 5 | |
| drone.turn_right(1.0) |
Dear Rubyists,
I just lost a contract because of my code in a Rails project.
The specific code in question is related to a "posting a comment" feature. Here are the details:
In this project, "posting a comment" does not simply entail inserting a row into the database. It involves a procedure to yes, insert a row, but also detect its language, check for spam, send emails, and "share" it to Twitter and Facebook. I believe this algorithm should be encapsulated. I do not believe it belongs in a controller or a model. I do not believe Active Record callbacks should be used.
The "senior developer", whom is the stake holder's right hand man, said this:
| Meteor.startup(function() { | |
| var require = __meteor_bootstrap__.require | |
| var connect = require('connect') | |
| __meteor_bootstrap__.app.use(connect.basicAuth('username', 'password')) | |
| var basicAuth = __meteor_bootstrap__.app.stack.pop() | |
| __meteor_bootstrap__.app.stack.unshift(basicAuth) | |
| }) |
| gem install hpricot | |
| gem install ruby_parser | |
| # Find and list erb templates to convert, but don't convert | |
| find . -name '*erb' | xargs ruby -e 'ARGV.each { |i| puts "html2haml -r #{i} #{i.sub(/erb$/,"haml")}"}' | |
| # Find and convert erb to haml, (won't delete your erb) | |
| find . -name '*erb' | xargs ruby -e 'ARGV.each { |i| puts "html2haml -r #{i} #{i.sub(/erb$/,"haml")}"}' | bash |