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
| #!/bin/bash | |
| # update mod https://github.com/eDonnes124/Town-Of-Us-R script | |
| GDIR="${HOME}/.steam/steam/steamapps/common/Among Us" # steam game dir | |
| WINPFX="${HOME}/.steam/steam/steamapps/compatdata/945360/pfx" # wine prefix for among us | |
| read -p "START THE GAME NORMAL BEFORE APPLYING THE MOD! (Press Enter after Among Us is running)" | |
| echo "checking release..." |
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 com.sterlingcommerce.woodstock.workflow.Document; | |
| import java.io.BufferedReader; | |
| import java.io.InputStream; | |
| import java.io.InputStreamReader; | |
| Document newDoc = doc.createDocument(); | |
| Document srcDoc = doc.getPrimaryDocument(); | |
| InputStream is = srcDoc.getInputStream(); | |
| BufferedReader br = new BufferedReader(new InputStreamReader(is)); | |
| String line; | |
| boolean foundHtml = false; |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | |
| <xsl:output method="xml" indent="yes"/> | |
| <xsl:template match="@*|node()"> | |
| <xsl:copy> | |
| <xsl:apply-templates select="@*|node()"/> | |
| </xsl:copy> | |
| </xsl:template> |
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 csv | |
| import socket | |
| import urllib.parse | |
| from ipaddress import ip_address | |
| from datetime import datetime | |
| import sys | |
| import threading | |
| from tqdm import tqdm | |
| def is_valid_ipv4_address(ip_address_str): |
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 csv | |
| import os.path | |
| import sys | |
| import openpyxl | |
| from openpyxl.worksheet.table import Table, TableStyleInfo | |
| from concurrent.futures import ThreadPoolExecutor, as_completed | |
| from tqdm import tqdm | |
| input_file1 = sys.argv[1] | |
| input_file2 = sys.argv[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
| import csv | |
| import os.path | |
| import sys | |
| import openpyxl | |
| from openpyxl.worksheet.table import Table, TableStyleInfo | |
| input_file1 = sys.argv[1] | |
| input_file2 = sys.argv[2] | |
| output_file = os.path.splitext(os.path.basename(input_file2))[0] + "_initiate_xref.xlsx" |
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 ast | |
| import csv | |
| import os.path | |
| import sys | |
| input_file1 = sys.argv[1] | |
| input_file2 = sys.argv[2] | |
| output_file = os.path.splitext(os.path.basename(input_file2))[0] + "_initiate_xref.csv" | |
| def parse_list(string): |
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 csv | |
| import re | |
| import socket | |
| import sys | |
| import openpyxl | |
| if len(sys.argv) < 2: | |
| print("Usage: python {} <csv_file> [xlsx_file]".format(sys.argv[0])) | |
| sys.exit(1) |
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 re | |
| import socket | |
| import sys | |
| from urllib.parse import urlparse | |
| from openpyxl import load_workbook, Workbook | |
| if len(sys.argv) < 2: | |
| print("Usage: python {} <xlsx_file>".format(sys.argv[0])) | |
| sys.exit(1) |
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 csv | |
| import socket | |
| import urllib.parse | |
| from ipaddress import ip_address | |
| from datetime import datetime | |
| import sys | |
| import threading | |
| def is_valid_ipv4_address(ip_address_str): | |
| try: |
NewerOlder