Transcription of xkcd 2601 to runnable logo code

This is a project to transcribe xkcd #2601, the April Fools post for 2022, to runnable logo code. Running the code: There are options. jslogo One of the developers of #2601 helpfully shared that the logo they used to develop the code was jslogo, which can be found online here. To run the current iteration of the transcription in it, copy/paste the code into the window, then stick a line that says xkcd at the bottom of it all. If […]

Read more

A script that gets data from IPMA and publishes it on VOSTPT’s social networks

WHAT IT DOES This script fetches data from IPMA every day, at 10am, and generates a meteo report for mainland PT, Azores, and Madeira Data Sources This script uses IPMA Data directly and via Fogos API v2 by João Pina Template for Mainland Portugal Final Result Fork repo Create repo on your machine Create a virtual environment on your machine run pip install -r requirements.txt –no-index –find-links file:///tmp/packages GitHub View Github    

Read more

Use `forge` and `cast` commands in Python scripts

foundrycli.py is a Python library I’ve made for personal use; now open source. It let’s you access forge and cast CLIs from Python scripts and correctly handles the output, with some handy features: Features Run any command as if you were using the terminal # Get VB’s address vitalik = foundry_cli(‘cast resolve-name “vitalik.eth”‘) Use in scripts with composable commands # Calculate VB’s $$$ in stables for coin in stables: sum += foundry_cli(f’cast call {

Read more

Script to draw an image onto r/place

About Script to draw an image onto r/place (https://www.reddit.com/r/place/) Requirements Python 3 (https://www.python.org/downloads/) How to Get App Client ID and App Secret Key You need to generate an app client id and app secret key in order to use this script. Steps: Visit https://www.reddit.com/prefs/apps Click “create (another) app” button at very bottom Select the “script” option and fill in the fields with anything Python Package Requirements Install requirements from ‘requirements.txt’ file. pip3 install -r requirements.txt Get Started Create a file […]

Read more

Previewer for VapourSynth scripts

Fork of Endilll’s vapoursynth-preview (not maintained anymore) This program is meant to be paired with a code editor with integrated terminal like Visual Studio Code. Python (3.9+ required) Make sure to install Python to your PATH. Vapoursynth (R57+ required) pip install -U git+https://github.com/Irrational-Encoding-Wizardry/vs-preview.git It can then be used by running vspreview script.vpy or your preferred way in your IDE. GitHub View Github    

Read more

A script that lists all current Bisq offers in the terminal

A script that lists all current Bisq offers in the terminal Bisq is a decentralized bitcoin exchange that allows us to buy or sell bitcoin peer-to-peer. This script shows all current buy or sell offers in the Bisq network in our preferred fiat currency. We can indicate the following paramenters in our script header: avoid_methods: payment methods to hide in order to get a cleaner output lsbisq.py -t -f -d Where: : (string) BUY or SELL (example: -t BUY). Default […]

Read more

POC script for Malware Hunting over the WWW

POC script for Malware Hunting over the WWW To start with Malware Hunting, execute: python3 ./lovac.py. The script will start looking for random domain names, download first page to ./lovac_download/ folder and parse interesting strings to the ./lovac_output/ folder. After the tool is done, you can analyze output files manually and run the antivirus scan on download folder. The tool will save current status of discovery process in ./lovac_discovered.txt and ./lovac_tried.txt files. Discover “co.rs” domains, with minimum length 2 and […]

Read more

3x+1 recreated in Python

3x+1 recreated in Python If a number is odd it is multiplied by 3 and 1 is added to the product. If a number is even it is divided by 2. These rules are applied directly to any positive natural number. All numbers till 2 to the power 62 have been found and all end up at 1. Since 1 is odd multiplying by 3 and adding 1 becomes 4, dividing by 2 gives 2, and dividing again gives 1, […]

Read more
1 2 3 18