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 main | |
import ( | |
"encoding/binary" | |
"fmt" | |
"net" | |
) | |
const ( | |
headerSize = 4 // the size of the message header, in bytes |
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 main | |
import ( | |
"fmt" | |
"net" | |
"golang.org/x/net/ipv4" | |
) | |
func main() { |
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 main | |
/* | |
#cgo CFLAGS: -I/usr/include/python3.8 | |
#cgo LDFLAGS: -lpython3.8 | |
#include <Python.h> | |
*/ | |
import "C" | |
import ( |
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
prefix=/opt/oracle | |
includedir=${prefix}/instantclient_12_1/sdk/include | |
libdir=${prefix}/instantclient_12_1 | |
Name: oci8 | |
Description: Oracle Instant Client | |
Version: 12.1 | |
Cflags: -I${includedir} | |
Libs: -L${libdir} -lclntsh |
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
# Python3 program to create target string, starting from | |
# random string using Genetic Algorithm | |
import random | |
# Number of individuals in each generation | |
POPULATION_SIZE = 100 | |
# Valid genes | |
GENES = '''abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP |
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
#!/usr/bin/python3 | |
import random | |
import sys | |
def meli_code_generator(): | |
while True: | |
meli_code = random.sample(range(1, 10), 9) | |
place_list = [10,9,8,7,6,5,4,3,2] |
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
#!/usr/bin/python3 | |
import random | |
def card_generator(): | |
while True: | |
rand_list = [random.randint(0, 9) for iter in range(16)] | |
rand_list[0] = random.randint(4, 6) | |
numbers_add = 0 | |
#print (rand_list) |
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 cybubble | |
import pybubble | |
from timeit import default_timer as timer | |
from decimal import * | |
import random | |
import copy | |
getcontext().prec = 8 | |
if __name__ == '__main__': | |
random_list = [random.randrange(0,10) for i in range(9999)] |