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
Show hidden characters
{ | |
"compilerOptions": { | |
"checkJs": true | |
}, | |
"exclude": ["node_modules", "**/node_modules/*"] | |
} |
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
FROM alpine:3.3 | |
FROM alpine:3.3 | |
RUN apk update && apk add nodejs | |
RUN apk add python | |
RUN apk add g++ | |
RUN apk add make | |
RUN rm -rf /var/cache/apk/* |
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
'use strict'; | |
let bcrypt = require('bcrypt'); | |
process.stdin.on('data', function (text) { | |
let password = "" + text.slice(0, -1); | |
console.time('hash'); | |
let hash = bcrypt.hashSync(password, 12); | |
console.timeEnd('hash'); | |
console.log(hash); |
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
// ClassA.ts | |
"use strict"; | |
export = ClassA; | |
class ClassA { | |
private static c: number; | |
public static init(n: number) { |
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
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta charset="UTF-8"/> | |
<link rel="stylesheet" type="text/css" href="map.css" media="screen" /> | |
</head> | |
<body> | |
<script src="interact-1.2.4.min.js"></script> | |
<script type="text/javascript"> |
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
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta charset="UTF-8"/> | |
<link rel="stylesheet" type="text/css" href="map.css" media="screen" /> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
function getMouseXY(e) { |
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 o = JSON.parse('{"code": 0,"court": {"Set": { "1": { "A": 0, "B": 6 }, "2": { "A": 0, "B": 0 } }, "TeamA": "BEL", "NameA": "E.DOM", "ScoreA": "0", "Duration": "02:31", "Winner": null, "Tableau": "1/2-P", "Category": "SW", "Court": 6, "TeamB": "DEU", "NameB": "A.FUCHS", "ScoreB": "40", "Service": "B" }}'); | |
// Afficher nom de la team A | |
console.log(o.court.TeamA); | |
// Afficher le score de tous les sets | |
var sets = o.court.Set; | |
for(id in sets){ | |
console.log("Set " + id + " A:" + sets[id].A); | |
console.log("Set " + id + " B:" + sets[id].B); |
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
/* | |
* Convex Separator for libGDX Box2D | |
* | |
* Made by https://github.com/rakam | |
* This class is a libGDX version of the Antoan Angelov's work. | |
* It is designed to work with Erin Catto's Box2D physics library. | |
* | |
* Everybody can use this software for any purpose, under two restrictions: | |
* 1. You cannot claim that you wrote this software. | |
* 2. You can not remove or alter this notice. |