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
package com.example.demo3; | |
import javafx.application.Application; | |
import javafx.application.Platform; | |
import javafx.concurrent.Task; | |
import javafx.scene.Scene; | |
import javafx.scene.control.*; | |
import javafx.scene.input.MouseEvent; | |
import javafx.scene.layout.*; | |
import javafx.scene.paint.Color; |
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
package com.example.demo3; | |
import javafx.application.Application; | |
import javafx.application.Platform; | |
import javafx.concurrent.Task; | |
import javafx.event.ActionEvent; | |
import javafx.event.EventDispatcher; | |
import javafx.event.EventHandler; | |
import javafx.geometry.Insets; | |
import javafx.scene.Group; |
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
package com.example.demo3; | |
import javafx.application.Application; | |
import javafx.event.ActionEvent; | |
import javafx.event.EventHandler; | |
import javafx.geometry.Insets; | |
import javafx.scene.Group; | |
import javafx.scene.Scene; | |
import javafx.scene.control.Button; | |
import javafx.scene.control.CheckBox; |
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
user nginx; | |
worker_processes auto; | |
error_log /var/log/nginx/error.log notice; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 1024; | |
} |
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
version: "3.7" | |
services: | |
321-proxy-master: | |
image: nginx | |
restart: always | |
container_name: 321-proxy-master | |
volumes: | |
- ./nginx.conf:/etc/nginx/nginx.conf | |
ports: | |
- 80:80 |
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
public class BombardierCommandGenerator { | |
public static void main(String[] args) { | |
List<String> convert = generate("faggots.txt", 3600, 1000); | |
System.out.println(convert); | |
} | |
public static List<String> generate(String hostsFilename, int durationSec, int c) { | |
String base = "docker run -d --rm alpine/bombardier -c " + c + " -d " + durationSec + "s -l "; |
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
package org.example; | |
import java.io.*; | |
import java.util.*; | |
import java.util.stream.Collectors; | |
import java.util.stream.Stream; | |
public class App { | |
public static void main(String[] args) throws IOException { | |
File file = new File("/Users/yevhenii/Documents/projects/GoogleHashCodeTest/c_coarse.in.txt"); |
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
.model small | |
.stack 100h | |
.data | |
CrLf db 0Dh, 0Ah,"$" | |
A dw ? | |
B dw ? | |
Accuracy dw 2 | |
a_m db 'A = ','$' | |
b_m db '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
.model SMALL | |
.stack 200h | |
.data | |
len equ 4 | |
_A dw 9 | |
_B dw 7 | |
_C dw 21 | |
_k dw ? | |
_y dw ? |
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
.model SMALL | |
.stack 200h | |
.data | |
len equ 4 | |
_A dw 9 | |
_B dw 7 | |
_C dw 21 | |
_k dw ? | |
_y dw ? |