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

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

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

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

OneDriveExplorer – A command line and GUI based application for reconstructing the folder structure of OneDrive from the UserCid.dat file

OneDriveExplorer is a command line and GUI based application for reconstructing the folder structure of OneDrive from the ..dat file. Command line To use OneDriveExporer, simply provide the ..dat file to the -f argument OneDriveExplorer.py -f business1d1a7c039-6175-4ddb-bcdb-a8de45cf1678.dat OneDriveExplorer will produce a JSON file called OneDrive.json containing the folder structure. The –pretty option can be used to output the JSON into a more human readable layout. GUI The GUI consists of two panes: the folder structure on the left and details […]

Read more

Helperpod – A CLI tool to run a Kubernetes utility pod with pre-installed tools that can be used for debugging/testing purposes inside a Kubernetes cluster

Helperpod is a CLI tool to run a Kubernetes utility pod with pre-installed tools that can be used for debugging/testing purposes inside a Kubernetes cluster. Pre-requisites Docker (For building and pushing the image) kubectl (Or the kubeconfig file either located in default ~/.kube/config path, or an environment variable named KUBECONFIG pointed to a specific config file path) Usage Install the required libraries python3 -m pip install –user -r requirements.txt Configure container registry information, this can be either done via manually […]

Read more

A manager for the under-utilized mksession command in vim

ℹ️ Reasoning If you use vim or neovim on a daily basis and work in large codebases, it is probably not uncommon for youto have 10+ tabs open at a time, with various splits. Once you close this vim session the layout is lost to the ethers.the mksession command in vim(neovim) can save you, thus saving the session to a directory, promising to return you to yourwork exactly how you left it. However, the problem is most of us accrue […]

Read more
1 2 3 12