Tinyman exploit finder for python

There was a big tinyman exploit. You can read about it here: https://www.reddit.com/r/HEADLINECrypto/comments/rufvse/tinyman_attack_report_1/?utm_source=share&utm_medium=web2x&context=3 This script works to find exploiters for a given pool. It currently only works for ASSET/ALGO pairs but can be trivially updated for ASSET/ASSET pairs. Installation Clone the repo. Install Python3 (https://www.python.org/downloads/). Install the tinyman SDK: pip3 install git+https://github.com/tinymanorg/tinyman-py-sdk.git. Set up a developer account on https://purestake.com. Put your API key in headers.json where there is currently a placeholder. Replace your asset ID for swapping in parse_for_exploiters.py as […]

Read more

An efficient sorting algorithm (implemented in Python) inspired by the Bucket Sort and the Pigeonhole Sort

An algorithm (implemented here in Python) mainly inspired by the Bucket Sort (and the Pigeonhole Sort) and works by placing the values of a given unsorted array into buckets where the number of buckets is equal to the length of the unsorted array. In addition, it recursively runs the sorting algorithm on any buckets that contain more than one element and is unsorted. For more, including why the algorithm has been implemented in this way and how it compares against […]

Read more

Run shell script in Jupyter with live output

ipylivebash is a library to run shell script in Jupyter with live output. Example %%livebash –save log.txt –save-timestamp find . Run find . and show the output in the Jupyter notebook and also save to log-${current_timestamp}.txt %%livebash –ask-confirm –notify set -e deploy_script Before running the deploy_script show a panel to ask for confirmation. Once it is finished, show a notification. Features Run shell script in Jupyter with live output The output in the notebook cell is not saved in the […]

Read more

Function Plotter: a simple application with GUI to plot mathematical functions

Function Plotter is a simple application with GUI to plot mathematical functions. User enter a function and its boundaries and the application plot the function. Application can only draw polynomial functions in which only these operators in the fucntion are allowed: + – * / ^ (where ^ is the power operator). Prerequisites python is needed to be installed on the device. In addition, install these libraries: PyQt5, matplotlib, and numpy using: pip install [library name] How to Run run […]

Read more

Benchmarks of how well different two dimensional spaces work for clustering algorithms

Benchmarks of how well different two dimensional spaces work for clustering algorithms This may be useful for guiding anyone optimizing using clustering for data science or machine learning problems. It also could be used to make cool animations. Benchmarking is done by putting different numbers of points in the space, letting them repel each other for long enough to achieve equilibrium, and measuring how close they get to everything being equidistant. To get metrics run benchmark.py from the command line. […]

Read more

A simple content site framework that harnesses the power of Django without the hassle

A simple content site framework that harnesses the power of Django without the hassle. Features Can be a standalone static site or added to INSTALLED_APPS to integrate into an existing Django site Renders markdown files automatically Can use data from JSON files in templates and content All the power of Django templates, template tags, and filters Can include other Django apps Build HTML output for a true static site (coming soon) Still a little experimental. 😉 Install Create a standalone […]

Read more

API for detecting objects in images and video streams using Tensorflow

Dedicated Open Object Detection Service – Yes, it’s a backronym… DOODS is a REST service that detects objects in images or video streams. It’s designed to be very easy to use, run as a container and available remotely.It also supports GPUs and EdgeTPU hardware acceleration. DOODS2 is a rewrite of DOODS in Python. It supports the exact sameREST api endpoints as the original DOODS but it also includes endpoints for handling streaming feeds with realtimefeedback as annotated video and websocket […]

Read more

Calculate the layout on the wall to hang up pictures

Calculate the layout on the wall to hang up pictures. Installation pip install git+https://github.com/trbznk/wallc.git Getting Started Currently a picture has 4 different parameters: Use the wallc module to initialize the wall and all planned pictures with certain parameters: from wallc import Picture, Suspension, Wall, Layout p1 = Picture(800, 600, Suspension(600, 100)) p2 =

Read more

Centauro – a command line tool with some network management functionality

Ferramenta de rede O Centauro é uma ferramenta de linha de comando com algumas funcionalidades de gerenciamento de rede, tais como: Apesar de ser desenvolvido especialmente para o Windows, que tem problemas em encontrar ferramentas do tipo para download, tenho tentado deixar compatível com o Linux. Por favor comunique qualquer bug encontrado ou mande um pull request com a correção. Toda ajuda é bem-vinda! Scanner de portas TCP; Descoberta de hosts;No prompt de comando, use passe o argumento –help para […]

Read more
1 326 327 328 329 330 977