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 timeout = 80000; | |
| var webdriver = require('selenium-webdriver'), | |
| By = webdriver.By, | |
| until = webdriver.until; | |
| var driver = new webdriver.Builder() | |
| .forBrowser('chrome') | |
| .build(); | |
| driver.get('http://stackoverflow.com/'); |
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
| import java.awt.image.BufferedImage; | |
| import java.io.File; | |
| import java.io.IOException; | |
| import javax.imageio.ImageIO; | |
| public class ImageManipulationExample { | |
| static String PATH = "C:/Users/tiago/Pictures/"; | |
| static String SOURCE1 = "image1"; | |
| static String SOURCE2 = "image2"; |
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
| /** | |
| * @author bertolo1988 | |
| * http://codeforces.com/problemset/problem/115/A | |
| * 115A-Party | |
| */ | |
| import java.util.*; | |
| public class Party { | |
| public static void main(String[] args) { |
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 n = parseInt(readline()); | |
| var s, skillsInput = readline().split(' '); | |
| var skills = []; | |
| var programmers = []; | |
| var mathematicians = []; | |
| var athletes = []; | |
| var groups = []; | |
| for (var i = 0; i < skillsInput.length; i++) { | |
| var skillCursor = parseInt(skillsInput[i]); |
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
| private static int MAX_DRAWS = 150; | |
| private static int STARTING_MONEY = 25; | |
| private static int OBJECTIVE_MONEY = 50; | |
| private static int STARTING_BET = 1; | |
| private static int ROULETTES = 10; | |
| private static int ANALYZED_DRAWS = 4; | |
| Draw 1 | |
| RouletteId 0 - 24 36 24 19 5 22 9 36 35 31 | |
| RouletteId 1 - 10 22 0 12 31 3 30 5 32 13 |
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
| MAX_DRAWS = 100 | |
| STARTING_MONEY = 25 | |
| OBJECTIVE_MONEY = 50 | |
| STARTING_BET = 1 | |
| ROULETTES = 10 | |
| ANALYZED_DRAWS = 4 | |
| SESSIONS = 100000 | |
| BlindMartingale |
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
| private static int MAX_DRAWS = 150; | |
| private static int STARTING_MONEY = 25; | |
| private static int OBJECTIVE_MONEY = 50; | |
| private static int STARTING_BET = 1; | |
| private static int ROULETTES = 10; | |
| private static int ANALYZED_DRAWS = 7; | |
| Draw 1 | |
| RouletteId 0 - 16 6 31 13 2 9 13 26 6 35 | |
| RouletteId 1 - 27 10 24 9 8 18 25 10 31 29 |
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
| app.get('/voice', function(req, res) { | |
| var resp = new twilio.TwimlResponse(); | |
| res.writeHead(200, { | |
| 'Content-Type': 'text/xml' | |
| }); | |
| var phone = req.query.phone; | |
| var userName = req.query.user; |
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
| import React from 'react'; | |
| import ReactDOM from 'react-dom'; | |
| import './TodoApp.css'; | |
| import classNames from 'classnames'; | |
| const TODOS = [ | |
| { priority: 1, completed: false, text: 'Buy socks' }, | |
| { priority: 2, completed: false, text: 'Fix 1€ bug on flight-scrappper' }, | |
| { priority: 1, completed: false, text: 'Buy Jeans' }, |
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
| tiagowtvision@tiagowtvision-ubu-N55SL:~/Code/Github/sticky-notes$ npm run lint | |
| > sticky-notes@0.0.1 lint /home/tiagowtvision/Code/Github/sticky-notes | |
| > tslint --project '.' | |
| app/app.component.ts[1, 27]: ' should be " | |
| app/app.component.ts[4, 15]: ' should be " | |
| app/app.component.ts[5, 15]: ' should be " | |
| /home/tiagowtvision/Code/Github/sticky-notes/app/notes.service.ts[1, 28]: ' should be " | |
| /home/tiagowtvision/Code/Github/sticky-notes/app/notes.service.ts[2, 22]: ' should be " |
OlderNewer