Preventing BungeeCord CPU overload due to Layer 7 DDoS attacks by scanning BungeeCord’s logs
This script automatically blocks DDoS attacks that are spamming your BungeeCord server with invalid packets.
Read moreDeep Learning, NLP, NMT, AI, ML
This script automatically blocks DDoS attacks that are spamming your BungeeCord server with invalid packets.
Read moreA simple script to make pdf from pgn files and studies. It’s still work in progress and I hope to improve it in the future. Please feel to reach out or to contribute by submitting issues and pull requests! pip install -r requirements.txt It uses xskak and skak to draw the chessboards. The latex files should be compiled using xelatex.
Read moreAuthor: b0bb Quality of life utilities for obsessive compulsive CTF enthusiasts. Description: This plugin is a collection of small quality of life improvements that come up in CTFs or other similar toy problems. Some included utilities include: Stack GuardsThis utility will clean up those ugly looking stack canaries your eyes always skip over.The variable names are configurable via the BinaryNinja Settings tab. License This plugin is released under an MIT license. GitHub View Github
Read moreOverview aws-cidr-finder is a Python CLI tool which finds unused CIDR blocks (IPv4 only currently) in yourAWS VPCs and outputs them to STDOUT. It is very simple, but can be quite useful for users who managemany subnets across one or more VPCs. Use aws-cidr-finder -h to see command options. An Example It is easiest to see the value of this tool through an example. Pretend that we have the followingVPC setup in AWS: A VPC whose CIDR is 172.31.0.0/16, with […]
Read moreFeatures Clone – Clone a public/private google drive file/folder to your teamdrive. Mkdir – Make Directories directly from discord. Size – Calculate size of google drive files/folders from link. Move – Move files/folders from one location to other. sync – Sync source links to destination links. Delete – Delete folders/files. Name – Find name of google drive folders/files from link. Prerequisites Before you get started, you need Python 3.7 or later to run this script. Below are some extra things […]
Read moreThis repository contains the code for our paper “ZeroGen: Efficient Zero-shot Learning via Dataset Generation”.Our implementation is built on the source code from dino. Thanks for their work. If you use this code, please cite our paper: @article{ye2022zerogen, title={ZeroGen: Efficient Zero-shot Learning via Dataset Generation}, author={Jiacheng Ye and Jiahui Gao and Qintong Li and Hang Xu and Jiangtao Feng and Zhiyong Wu and Tao Yu and Lingpeng Kong}, year={2022}, eprint={2202.07922}, archivePrefix={arXiv}, primaryClass={cs.CL} } Setup All requirements for ZEROGEN can be […]
Read moreIntroduction English | 简体中文 MMRotate is an open-source toolbox for rotated object detection based on PyTorch. It is a part of the OpenMMLab project. The master branch works with PyTorch 1.6+. video.MP4 Major Features Support multiple angle representations MMRotate provides three mainstream angle representations to meet different paper settings. Modular Design We decompose the rotated object detection framework into different components, which makes it much easy and flexible to build a new model by combining different modules. Strong baseline and […]
Read moreReplica of default python timeit module with small changes to allow async functions and await keyword. All CLI options should work as same from the original module.Taken from this exact commit. Example usage $python timeit.py -n 5 -r 5 -s “import asyncio” ‘await asyncio.sleep(2)’ 5 loops, best of 5: 2 sec per loop Warning This is not extensively tested. Also unsure if timeit can be reliably used for async code. License All original python library code is under PSF’s original […]
Read moreThis is a simple example of how to reset consumergroup offset for a given topic without creating new unique consumergroup names. Requirements Python 3.10 pipenv docker Setup description We will use spotify/kafka for quickly spinning up a kafka broker on localhost:9092. We now have two main Python scripts. A producer that will produce 10 new messages on the same topic with a random UUID as payload and a consumer with auto_commit disabled, that will always reset the offset for a […]
Read moreTo Run Resources and data specified within snakefile (hg002QC.smk) for simplicity. Tested with snakemake v6.15.3. Warning: Several steps of this workflow require minimum coverage. It’s recommended that this workflow not be run when yield in base pairs is insufficient to produceat least 15X coverage (i.e. yield/3099922541 >= 15x). # clone repo git clone –recursive https://github.com/PacificBiosciences/pb-human-wgs-workflow-snakemake.git workflow # make necessary directories mkdir cluster_logs # create conda environment conda env create –file workflow/environment.yaml # activate conda environment conda activate pb-human-wgs-workflow # submit […]
Read more