Sorti-Py – A CLI tool that sorts the current folder you’re in

Sorti-Py is a CLI tool that sorts the current folder you’re in. It sorts all files into their respective folders, for example, it takes all .pdf files in your current directory, and puts them in a pdf folder. It works for all extensions and will make organizing messy folders a lot easier. cd into the directory you wish sorted type “sortipy” clone this repository cd into sorti-py type “sudo mv sortipy /usr/bin” NOTE: The reason you need sudo privileges is […]

Read more

Luxor-HashrateIndex Python Library and Command Line GraphQL API Client

We’ve decided to open-source our datasets for the community to build features, perform research and bring even more transparency to the Bitcoin mining industry. Feel free to send your projects or questions our way to [email protected] or @hashrateindex on Twitter. Looking forward to see what y’all build! Get Started To get started, you will need the following basic information: Endpoint: https://api.hashrateindex.com/graphql API Key: Reach out to [email protected] to get an API Key. Code Snippet from hashrateindex import API from resolvers […]

Read more

How to send System Exclusive command by using FL Studio

How to send System Exclusive command by using FL Studio Basically I aligned with https://www.image-line.com/fl-studio-learning/fl-studio-online-manual/html/midi_scripting.htm Please read “The basics of working with Script Files:”According to this explanation, I made device_CASIO CTSV1000.py and put into DocumentsImage-LineFL StudioSettingsHardwareCASIO CTS1000V The Script set OnInit() for initialization. I put change Lylic Play Mode of CTS-1000V to “NOTE” from “Phrase(default)” You may want to send SysEX every play cycle. For that purpose, it can use onUpdateBeatIndicator(), this can call every beat while playing. FL Studioを使ったシステムエクスクルーシブの送信 […]

Read more

CLI tool for comparing images

CLI tool for comparing images Installation Install this tool using pip: Image diff To generate an image showing the difference between two images: image-diff first.jpg second.jpg -o diff.png Count differing pixels To count the number of pixels that have changed, use image-diff count: image-diff first.jpg second.jpg This will output a number followed by a newline. Compile an image The image-diff compile command exists mainly to make this tool easier to test. It can be used to compile an image from […]

Read more

All the knowledge of the astrophysics data system and the speed of the command line

An unofficial command line interface for the SAO/NASA Astrophysics Data System. Make queries from the command line as in the webbrowser: $ ads -q “author:^livingston year:2010-2022” Common query elements are implemented as short-hands such as -y|–year,-fa|–first-author, -a|–author: $ ads -fa jenkins -y 2020 Then fuzzy-search the results based on year, author, and title and open the selected article as PDF: Note that entries without open-access PDFs available are dimmed.See ads –help more information. A command-line fuzzy-finder: fzf, version 0.27 or […]

Read more

GUI/CLI Downloader App

NH-DL is (preferably) a GUI utility for downloading from a very special website.Speaking of this website, this is the perfect time for a… DISCLAIMER This tool, that is, NH-DL, is intended for use by adults who are willingly submittingthemself to the possibility that they could potentially view adult (R18) content. NH-DL is (preferably) a GUI, as well as a command-line downloading utility that offersthe ability to download from the website NHentai without an account, and with relative easeby simply typing […]

Read more

Command Line Interface to automate module development for Bisque web application

V1.0.0 Standardizes and automates the process of creating modules that can be integrated in the Bisque web application.This command line interface (CLI) currently supports any input types supported by Bisque but can only display image and table outputs.Custom outputs or interactive parameters will require users to manually edit some files.Regardless of your application, it is a good idea to follow this guide and use the CLI to automate a big part of theprocess and avoid common bugs. Once you have […]

Read more

Library to play with filtering numeric sequences by sums of their pairs, triplets, etc. With a bonus CLI demo

A library to play with filtering numeric sequences by sums of their pairs, triplets, etc. Comes with a bonus CLI to demo the functionality. Requires (and CI tests on) python 3.8 to 3.10.If you need to use python 3.7 then try replacingmath.prod(some_iterable) with functools.reduce(lambda x, y: x * y, some_iterable) Approach We’re thinking of this mostly as a library with the CLI as only for demo purposes.Ways you can see this in the code: logging should really handled by the […]

Read more

A Python CLI tool for finding unused CIDR blocks in AWS VPCs

Overview 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 more
1 2 3 15