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
package main | |
import ( | |
"log" | |
"net" | |
) | |
func main() { | |
port := ":8888" | |
tcpAddr, err := net.ResolveTCPAddr("tcp4", port) |
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
package main | |
import ( | |
"log" | |
"net" | |
) | |
func main() { | |
port := ":8888" | |
tcpAddr, err := net.ResolveTCPAddr("tcp4", port) |
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
#include <iostream> | |
#include <vector> | |
#include <random> | |
using namespace std; | |
int main(){ | |
random_device rnd; | |
mt19937 mt(rnd()); | |
uniform_int_distribution<> rand(0,3); |
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
package main | |
type IntegerPair struct { | |
First int | |
Second int | |
} | |
func NewIntegerPair(f, s int) *IntegerPair { | |
return &IntegerPair{First: f, Second: s} | |
} |
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
import java.io.IOException; | |
import java.nio.charset.StandardCharsets; | |
import java.nio.file.Files; | |
import java.nio.file.Paths; | |
import java.util.ArrayList; | |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
import java.util.stream.Collectors; | |
public class DaDaScript { |
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
#include<iostream> | |
#include<vector> | |
#include<string> | |
int main(){ | |
std::vector<char> memory(10000, 0); | |
int pointer = 0; | |
int loop = 0; | |
while(true){ |
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
public class Gomi{ | |
//print hello world | |
public static void main(String[] args){ | |
class Hello{ | |
public char[] helloworld = new char[10]; | |
{ | |
helloworld[0] = 'H'; | |
helloworld[1] = 'e'; | |
helloworld[2] = 'l'; | |
helloworld[3] = 'l'; |