This file contains 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
const fs = require('fs') | |
const readline = require('readline') | |
const fileStream = fs.createReadStream('input.txt') | |
const rl = readline.createInterface({ | |
input: fileStream, | |
crlfDelay: Infinity | |
}) |
This file contains 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
const EventEmitter = require('events') | |
class TaskQueue extends EventEmitter { | |
constructor(size) { | |
super() | |
this.size = size | |
this.jobs = new Set() | |
} | |
async push(task) { |
This file contains 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
@Configuration | |
@ComponentScan("com.example") | |
public class ExampleAutoConfiguration { | |
} |
This file contains 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
certutil -hashfile yourfilenameaddress MD5 | |
certutil -hashfile yourfilenameaddress SHA1 | |
certutil -hashfile yourfilenameaddress SHA256 |
This file contains 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
mvn org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file \ | |
-Dfile=<jar-file> \ | |
-DgroupId=<group> \ | |
-DartifactId=<artifact> \ | |
-Dversion=1.0 \ | |
-Dpackaging=jar \ | |
-DlocalRepositoryPath=${master_project}/local-maven-repo |
NewerOlder