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
#!/bin/bash | |
# | |
# Simple proxy tester with multi-threading support. | |
# Tests socks4, socks5, and http proxies. | |
# | |
# Usage: ./proxy_tester.sh [protocol] [proxy_list] [nthread] [url] [timeout] | |
# Example: ./proxy_tester.sh http proxies.txt 10 https://www.google.com/ 5 | |
# Set default values for test URL and timeout |
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
#!/bin/bash | |
# Video Quality | |
# The range of the CRF scale is 0–51, where 0 is lossless, 23 is the default, | |
# and 51 is worst quality possible. A lower value generally leads to higher | |
# quality, and a subjectively sane range is 17–28 | |
QUALITY=28 | |
# check if slop command exists | |
if ! command -v slop &> /dev/null |
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
#!/usr/bin/python | |
import sys | |
import serial | |
def send_data(devname, filename): | |
wrote = 0 | |
try: |
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
var dns = require('dns'); | |
var net = require('net'); | |
var axfrReqProloge = | |
"\x00\x00" + /* Size */ | |
"\x00\x00" + /* Transaction ID */ | |
"\x00\x20" + /* Flags: Standard Query */ | |
"\x00\x01" + /* Number of questions */ | |
"\x00\x00" + /* Number of answers */ |