Traditionally, the de facto Javascript runtime on the JVM has been Rhino. However with Vert.x 2.0 you can now also use DynJS for your Javascript applications with mod-lang-dynjs. In this talk we'll look at how the JS language modules have changed in Vert.x since 2.0 and discover some extra goodies DynJS brings to the table for your coding pleasure. Plus we'll explore some exciting Javascript modules for Vert.x, including Nodyn, a Node.js compatibility layer for the JVM.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[12:01:07] <purplefox_> Right.. let's get started then! | |
[12:01:21] <Narigo> pff, one minute too late! | |
[12:01:23] <purplefox_> Hello fellow vertizens and welcome to Part 2 of this Vert.x planning meeting | |
[12:01:36] <Narigo> hi there! | |
[12:01:43] <purplefox_> hi Narigo | |
[12:02:10] <purplefox_> so, last time we discussed changes to the vert.x core project for the next iteration (or iterations) | |
[12:02:23] tigeba verts. | |
[12:02:24] <purplefox_> today we will talking more about the greater module ecosystem | |
[12:02:40] <lanceball> morning! | |
[12:02:45] <purplefox_> and what we're currently missing, and what we would like to have, and what could be improved |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// --------------------------------------------------------------- | |
// Tests __defineGetter__, __defineSetter__, __lookupGetter__ and | |
// __lookupSetter__ for dynjs/rhino compatibility. | |
// --------------------------------------------------------------- | |
var MagicEightBall = function() { | |
var that = this; | |
this._questions = []; | |
this._responses = []; | |
this._score = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "System Events" | |
tell current location of network preferences | |
set VPNservice to service "NAME OF YOUR VPN" | |
if exists VPNservice then set isConnected to connected of current configuration of VPNservice | |
if isConnected is false then | |
connect VPNservice | |
else | |
disconnect VPNservice |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Props to qmx and abstractj for the inspiration | |
# | |
# Put this file in your home directory and these lines to .profile | |
# if [[ -f "$HOME/.java.env" ]]; then | |
# source "$HOME/.java.env"; | |
# fi | |
VERSION=$1 | |
if [ ! -n "$VERSION" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RUBY HOEDOWN 2011 | |
Day 1 | |
----- | |
8:00 - Registration opens | |
9:00 - Kickoff with The Improv Effect | |
10:00 - TorqueBox: A True Application Server for Ruby |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The cats nestle close to their kittens now. | |
The lambs have laid down with the sheep. | |
You’re cozy and warm in your bed, my dear. | |
Please go the fuck to sleep. | |
The windows are dark in the town, child. | |
The whales huddle down in the deep. | |
I’ll read you one very last book if you swear | |
You’ll go the fuck to sleep. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'sinatra' | |
module Simple | |
class Application < Sinatra::Base | |
get '/' do | |
"Hello! TorqueBox says it's #{Time.now}." | |
end | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Quicksort | |
========= | |
I happened across a big pile of stuff | |
And decided that it should be sorted. | |
The time I could spend was hardly enough, | |
Any more time could not be afforded. | |
I picked up a thing, at random, I'm sure, | |
And to each of the rest I compared it. | |
I made two more piles of stuff, as it were: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
frontend-64 1.2.final: 0606f16f | |
frontend-32: 1.2.final: 6e05f207 | |
appserver-64 1.2.final: ec06f185 | |
appserver-32: 1.2.final: 7005f219 | |
postgresql-64 1.2.final: ee06f187 | |
postgresql-32: 1.2.final: 4c05f225 | |
developer-standalone-64 1.2.final: f206f19b |