diff --git a/presentations/agile_and_friends/index.html b/presentations/agile_and_friends/index.html index cd88f85..2bc6601 100755 --- a/presentations/agile_and_friends/index.html +++ b/presentations/agile_and_friends/index.html @@ -142,7 +142,7 @@

The birth of the Agile Manifesto

The Agile Manifesto

- agilemanifesto.org + agilemanifesto.org
@@ -232,7 +232,7 @@

The Agile Manifesto

Scrum

Sprint - timeboxed effort - + Image of a sprint on a timeline

Sprint planning diff --git a/presentations/agile_and_friends/plugin/notes-server/client.js b/presentations/agile_and_friends/plugin/notes-server/client.js deleted file mode 100755 index 156cb9a..0000000 --- a/presentations/agile_and_friends/plugin/notes-server/client.js +++ /dev/null @@ -1,57 +0,0 @@ -(function() { - // don't emit events from inside the previews themselves - if ( window.location.search.match( /receiver/gi ) ) { return; } - - var socket = io.connect(window.location.origin); - var socketId = Math.random().toString().slice(2); - - console.log('View slide notes at ' + window.location.origin + '/notes/' + socketId); - window.open(window.location.origin + '/notes/' + socketId, 'notes-' + socketId); - - // Fires when a fragment is shown - Reveal.addEventListener( 'fragmentshown', function( event ) { - var fragmentData = { - fragment : 'next', - socketId : socketId - }; - socket.emit('fragmentchanged', fragmentData); - } ); - - // Fires when a fragment is hidden - Reveal.addEventListener( 'fragmenthidden', function( event ) { - var fragmentData = { - fragment : 'previous', - socketId : socketId - }; - socket.emit('fragmentchanged', fragmentData); - } ); - - // Fires when slide is changed - Reveal.addEventListener( 'slidechanged', function( event ) { - var nextindexh; - var nextindexv; - var slideElement = event.currentSlide; - - if (slideElement.nextElementSibling && slideElement.parentNode.nodeName == 'SECTION') { - nextindexh = event.indexh; - nextindexv = event.indexv + 1; - } else { - nextindexh = event.indexh + 1; - nextindexv = 0; - } - - var notes = slideElement.querySelector('aside.notes'); - var slideData = { - notes : notes ? notes.innerHTML : '', - indexh : event.indexh, - indexv : event.indexv, - nextindexh : nextindexh, - nextindexv : nextindexv, - socketId : socketId, - markdown : notes ? typeof notes.getAttribute('data-markdown') === 'string' : false - - }; - - socket.emit('slidechanged', slideData); - } ); -}()); diff --git a/presentations/agile_and_friends/plugin/notes-server/index.js b/presentations/agile_and_friends/plugin/notes-server/index.js deleted file mode 100755 index 5535c90..0000000 --- a/presentations/agile_and_friends/plugin/notes-server/index.js +++ /dev/null @@ -1,59 +0,0 @@ -var express = require('express'); -var fs = require('fs'); -var io = require('socket.io'); -var _ = require('underscore'); -var Mustache = require('mustache'); - -var app = express.createServer(); -var staticDir = express.static; - -io = io.listen(app); - -var opts = { - port : 1947, - baseDir : __dirname + '/../../' -}; - -io.sockets.on('connection', function(socket) { - socket.on('slidechanged', function(slideData) { - socket.broadcast.emit('slidedata', slideData); - }); - socket.on('fragmentchanged', function(fragmentData) { - socket.broadcast.emit('fragmentdata', fragmentData); - }); -}); - -app.configure(function() { - [ 'css', 'js', 'images', 'plugin', 'lib' ].forEach(function(dir) { - app.use('/' + dir, staticDir(opts.baseDir + dir)); - }); -}); - -app.get("/", function(req, res) { - res.writeHead(200, {'Content-Type': 'text/html'}); - fs.createReadStream(opts.baseDir + '/index.html').pipe(res); -}); - -app.get("/notes/:socketId", function(req, res) { - - fs.readFile(opts.baseDir + 'plugin/notes-server/notes.html', function(err, data) { - res.send(Mustache.to_html(data.toString(), { - socketId : req.params.socketId - })); - }); - // fs.createReadStream(opts.baseDir + 'notes-server/notes.html').pipe(res); -}); - -// Actually listen -app.listen(opts.port || null); - -var brown = '\033[33m', - green = '\033[32m', - reset = '\033[0m'; - -var slidesLocation = "http://localhost" + ( opts.port ? ( ':' + opts.port ) : '' ); - -console.log( brown + "reveal.js - Speaker Notes" + reset ); -console.log( "1. Open the slides at " + green + slidesLocation + reset ); -console.log( "2. Click on the link your JS console to go to the notes page" ); -console.log( "3. Advance through your slides and your notes will advance automatically" ); diff --git a/presentations/agile_and_friends/plugin/notes-server/notes.html b/presentations/agile_and_friends/plugin/notes-server/notes.html deleted file mode 100755 index 25d1a62..0000000 --- a/presentations/agile_and_friends/plugin/notes-server/notes.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - reveal.js - Slide Notes - - - - - - -
- -
- -
- - UPCOMING: -
-
- - - - - - - - diff --git a/presentations/business_logic/index.html b/presentations/business_logic/index.html index 0f9b7ea..b1d4ac8 100755 --- a/presentations/business_logic/index.html +++ b/presentations/business_logic/index.html @@ -128,7 +128,7 @@

Business logic is usually the fastest changing code in the system

- + MVC process
@@ -155,7 +155,7 @@

All in the models

- + All logic in the model
@@ -189,7 +189,7 @@

All in the controllers

- + All logic in the controller
@@ -220,7 +220,7 @@

Service objects

- + Service objects
@@ -252,7 +252,7 @@

Form / Business action objects

- + Business action objects
diff --git a/presentations/large_refactoring/index.html b/presentations/large_refactoring/index.html index 4fdb2f0..a17ad63 100755 --- a/presentations/large_refactoring/index.html +++ b/presentations/large_refactoring/index.html @@ -102,7 +102,7 @@

Veličina kratkotrajne memorije?

Stenbergov eksperiment
- + Sternberg short term memory model
@@ -173,7 +173,7 @@

Kad ne bi trebali refaktorirat

Hvala!

http://www.toptal.com/ruby-on-rails/large-scale-refactoring - + QR code for the blog post link