#Some discussions on logging from docker: Using logstash Using Papertrail
A lot of this boils down to whether you want a single or multi-process (systemd, supervisord etc.) container...
using UnityEngine; | |
using UnityEditor; | |
public class MoveComponentContext | |
{ | |
enum Destination | |
{ | |
Top, | |
Bottom |
#Some discussions on logging from docker: Using logstash Using Papertrail
A lot of this boils down to whether you want a single or multi-process (systemd, supervisord etc.) container...
#Model | |
@user.should have(1).error_on(:username) # Checks whether there is an error in username | |
@user.errors[:username].should include("can't be blank") # check for the error message | |
#Rendering | |
response.should render_template(:index) | |
#Redirecting | |
response.should redirect_to(movies_path) |
# A little Meteor CheatSheet about Iron-Router. (updated on a weekly basis) | |
# Check our Studio: https://gentlenode.com/ | |
meteor add iron:router | |
meteor update iron:router | |
# Iron Router > Configuration |
➜ cat .bash_aliases | grep xcode | |
alias x5="sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer" | |
alias x6="sudo xcode-select -switch /Applications/Xcode6-Beta.app/Contents/Developer" | |
➜ x5 | |
➜ xcrun swift | |
xcrun: error: unable to find utility "swift", not a developer tool or in PATH | |
➜ x6 | |
➜ xcrun swift | |
Welcome to Swift! Type :help for assistance. | |
1> |
#!/usr/bin/env ruby | |
# Remote control for Trello | |
# | |
# To configure, get a Trello developer key, and stick it in `~/.trello-remote` | |
# | |
# # ~/.trello-remote | |
# TRELLO_DEVELOPER_PUBLIC_KEY=<your key> | |
# | |
# Next run `trello-remote token`, follow the instructions in your |
#!/Library/RubyMotion/bin/ruby -wKUW0 | |
# if your using MacRuby you might change this to | |
# => #!/usr/bin/env macruby -wKUW0 | |
framework 'Foundation' | |
framework 'ScriptingBridge' | |
# the original is part of an arstechnica article by Ryan | |
# SOURCE: http://arstechnica.com/apple/2011/09/tutorial-os-x-automation-with-macruby-and-the-scripting-bridge/ | |
# this script with get your favourite songs and create a Evernote Note # German and English |