#Thread-safe JRuby on Rails HOW-TO
###With the help of Warbler, Apache Tomcat and JNDI Connection Pool
###Read those posts before anything else otherwise you'll find yourself in a very lonely place:
| package main | |
| import ( | |
| "flag" | |
| "log" | |
| "net/http" | |
| "strings" | |
| "unicode" | |
| "io/ioutil" | |
| //"os" | |
| ) |
| --- | |
| # ^^^ YAML documents must begin with the document separator "---" | |
| # | |
| #### Example docblock, I like to put a descriptive comment at the top of my | |
| #### playbooks. | |
| # | |
| # Overview: Playbook to bootstrap a new host for configuration management. | |
| # Applies to: production | |
| # Description: | |
| # Ensures that a host is configured for management with Ansible. |
| doctype html | |
| /[if lt IE 7] | |
| | <html class="ie6"> | |
| /[if IE 7] | |
| | <html class="ie7"> | |
| /[if IE 8] | |
| | <html class="ie8"> | |
| /[if IE 9] | |
| | <html class="ie9"> | |
| | <!--[if (gte IE 9)|!(IE)]<!--> <html> <!--<![endif]--> |
| # Textmate essential bundles | |
| cd ~/Library/Application\ Support/TextMate/Bundles/ | |
| git clone git://github.com/jashkenas/coffee-script-tmbundle CoffeeScript.tmbundle | |
| git clone git://github.com/johnmuhl/nginx-tmbundle.git nginx.tmbundle | |
| git clone git://github.com/fredwu/ruby-slim-tmbundle.git Ruby-Slim.tmbundle | |
| git clone git://github.com/libin/RubyMotion.tmbundle.git | |
| #git clone git://github.com/tycooon/ruby-slim-tmbundle.git Ruby-Slim.tmbundle |
| # Simple, scrappy UDP DNS server in Ruby (with protocol annotations) | |
| # By Peter Cooper | |
| # | |
| # MIT license | |
| # | |
| # * Not advised to use in your production environment! ;-) | |
| # * Requires Ruby 1.9 | |
| # * Supports A and CNAME records | |
| # * See http://www.ietf.org/rfc/rfc1035.txt for protocol guidance | |
| # * All records get the same TTL |
| <?xml version="1.0"?> | |
| <xsl:stylesheet version="2.0" | |
| xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
| xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" | |
| xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |
| <xsl:output version="1.0" encoding="utf-8" indent="yes" name="xml" /> | |
| <xsl:template match="/"> | |
| <xsl:apply-templates /> |
#Thread-safe JRuby on Rails HOW-TO
###With the help of Warbler, Apache Tomcat and JNDI Connection Pool
###Read those posts before anything else otherwise you'll find yourself in a very lonely place:
| <!-- Mobile meta & links --> | |
| <!-- Reference | |
| Custom Icon and Image Creation Guidelines: | |
| http://developer.apple.com/library/safari/#documentation/UserExperience/Conceptual/MobileHIG/IconsImages/IconsImages.html | |
| Configuring Web Applications: | |
| http://developer.apple.com/library/safari/#documentation/appleapplications/reference/safariwebcontent/configuringwebapplications/configuringwebapplications.html |
| task :deploy do | |
| `rsync -rltvz -e ssh . deploy@hostname:/var/www/apps/my_app` | |
| `ssh deploy@hostname touch /var/www/apps/my_app/public/restart.txt` | |
| end |