diff --git a/rb.mp3 b/rb.mp3 deleted file mode 100755 index 5358cf1..0000000 Binary files a/rb.mp3 and /dev/null differ diff --git a/rb.ogg b/rb.ogg deleted file mode 100755 index 6308e59..0000000 Binary files a/rb.ogg and /dev/null differ diff --git a/simulator.html b/simulator.html index 3eb16ed..be4150c 100755 --- a/simulator.html +++ b/simulator.html @@ -3,20 +3,12 @@ - - USI Simulator + USI Simulator - -

MALUSA

+

USI Simulator

diff --git a/simulator.js b/simulator.js index 8ba481f..c3dff80 100644 --- a/simulator.js +++ b/simulator.js @@ -1,18 +1,41 @@ var looper; var images = ["bavota.png", "nystrom.png", "langhhhhhhhhheeeeinrichhhhhh.png"]; -var quotes = ["PIPISTRELLO","VATTELAPESCA","SAMPDORIA","DEPRECATO","QRM","JOOMLA","8086","ETHERNET","COLLISIONE","XEROX","DIGITAL","IBM", -"CHARAT","FIELDSET","TABINDEX","TD","HTML","FUNCTION","STYLE : TD","UNDERLINE","<HEAD>","<BODY>","PREAMBOLO","FISCHIO", -"CAVO COASSIALE","FIRST COME FIRST SERVED","BUSTA","STAZIONE","QUI QUO QUA","FIFO","255.255.255.0","ALICE","...NEL PAESE DELLE MERAVIGLIE", -"LEA DX 9","GETELEMENTBYID","FAI UN SALTO","ISO OSI","DISPATCHER","SCHEDULER","BOLLINO BLU","PACCHETTO","XHTML","<b> e <i>", -"CHIODI","QUESITO","OLIVETTI","REQUEST","TOKEN RING","INT 21H","IFRAME","GIOCHINO","BATTAGLIA NAVALE","MELA","SNAKE CON IL SERPENTE CHE NON SI ALLUNGA", -"SCHEDULER","STATO DI PRONTO","PHP","FORM ACTION="]; +var quotes = [ + "ummmm...", + "you know...", + "funky quiz", + "funky feedback", + "funky gates", + "close your laptops", + "hands on", + "frugal maps", + "null is the devil", + "haskell is better", + "for some definitions of fun", + "no loops", + "bogosort > bubblesort", + "logisim", + "mic-1", + "maxima", + "proof by contradiction", + "proof by induction", + "exactly what we need to show", + "but we need to prove it", + "what did we do last week?", + "someone else?", + "Bin, is the hands-on online?", + "Guys please", + "check-expect or die", + "Trees!", + "without loss of generality" +]; document.addEventListener("DOMContentLoaded", setup); function setup() { changeImages(); window.setInterval(changeImages, 15 * (360 / 5)); - changeQuotes(150, 10); + changeQuotes(250, 10); document.getElementById("img1").removeAttribute("style"); document.getElementById("img2").removeAttribute("style"); document.getElementById("img3").removeAttribute("style"); @@ -25,10 +48,11 @@ function changeImages() { imageOffset++; } +var quote = 0; function changeQuotes(time, offset) { - var quote = Math.floor(Math.random() * quotes.length); + quote += 1 + Math.floor(Math.random() * (quotes.length - 2)); + quote = quote % quotes.length; document.getElementById("quote").innerHTML = - document.getElementById("title").innerHTML = quotes[quote]; window.setTimeout(function() { changeQuotes(time, offset);