This file contains hidden or 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
    
  
  
    
  | #include <iostream> | |
| #include <stdlib.h> | |
| #include <time.h> | |
| using namespace std; | |
| void main() { | |
| int a; | 
  
    
      This file contains hidden or 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
    
  
  
    
  | #include <iostream> | |
| #include <stdlib.h> | |
| #include <time.h> | |
| using namespace std; | |
| void izpisPolja(int polje[][10], int N) { | |
| for (int a = 0; a < N; a++) { | 
  
    
      This file contains hidden or 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
    
  
  
    
  | akfjakfj | |
| lasfka | |
| alčfkaf | |
| koda pač | 
  
    
      This file contains hidden or 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
    
  
  
    
  | // Flipbox | |
| $(".flipbox-container").mouseover(function(){ | |
| $(this).flippy({ | |
| verso:"<div id='Flipbox'>Test</div>", | |
| direction:"LEFT", | |
| duration:"750", | |
| onFinish: function() { | |
| console.log("test"); | |
| $("#Flipbox").html(""); | 
  
    
      This file contains hidden or 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
    
  
  
    
  | var paper_width = 1110, | |
| paper_height = 600; | |
| paper = Raphael("game", paper_width, paper_height), | |
| socket = io.connect(); | |
| paper.rect(0, 0, 900, 600, 10).attr({ | |
| "stroke-width": 0, | |
| "fill": "#52922c" | |
| }); | 
  
    
      This file contains hidden or 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
    
  
  
    
  | var pc = [ | |
| { card: "a1", x: 10, y: 10, width: 146, height: 220, round: 10 }, | |
| { card: "a2", x: 161, y: 10, width: 146, height: 220, round: 10 }, | |
| { card: "a3", x: 312, y: 10, width: 146, height: 220, round: 10 }, | |
| ]; | |
| for (a = 0; a < 2; a++) { | |
| paper.image("images/schnapsen/" + pc[a].card + ".png", pc[a].x, pc[a].y, pc[a].width, pc[a].height).paper.rect(pc[a].x, pc[a].y, pc[a].width, pc[a].height, pc[a].round).attr({ | |
| 'stroke-width': 0 | 
  
    
      This file contains hidden or 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
    
  
  
    
  | /* SCORE */ | |
| #score-box { | |
| position: absolute; | |
| right: 0px; | |
| top: 0px; | |
| height: 100%; | |
| background: #dde4eb; | |
| color: #35383f; | |
| border-left: 1px solid #b2b9c2; | |
| width: 300px; | 
  
    
      This file contains hidden or 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
    
  
  
    
  | extends layout | |
| block content | |
| title= title | |
| h1 Let the game begin | |
| p Hops, lets play | |
| #platform.snops | |
| #chat | |
| ul#messages | |
| input(type='text', name='input_message', value='Message', id='input') | 
  
    
      This file contains hidden or 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
    
  
  
    
  | var express = require('express'), | |
| url = "mongodb://nodejitsu_zoranf:[email protected]:51947/nodejitsu_zoranf_nodejitsudb8036041315", | |
| coll = ['users', 'games'], | |
| db = require('mongojs').connect(url, coll) | |
| http = require('http'), | |
| path = require('path'); | |
| app = express(), | |
| server = http.createServer(app), | |
| io = require('socket.io').listen(server); | |
  
    
      This file contains hidden or 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
    
  
  
    
  | db.users.findOne({username:"someuser_not_found"}, function(err, doc) { | |
| if (err) { | |
| console.log(err); | |
| } | |
| if (doc) { | |
| console.log("Success" + doc.username); | |
| } else { | 
NewerOlder