Skip to content

Instantly share code, notes, and snippets.

class String
def constitutes_of?(phrases)
_constitutes_of?(phrases.sort_by!(&:length))
end
protected
def _constitutes_of?(phrases)
return false if phrases.empty?
info: Welcome to Nodejitsu snicky
info: jitsu v0.11.4, node v0.8.14
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
warn:
warn: The package.json file is missing required fields:
warn:
warn: subdomain, engines
warn:
warn: Prompting user for required fields.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>height</key>
<real>480</real>
<key>scraps</key>
<array>
<dict>
<key>border</key>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>height</key>
<real>480</real>
<key>scraps</key>
<array>
<dict>
<key>border</key>