Collection of useful command line utilities and snippets to help you organise your workspace and improve workflow.

Related tags

CLI Tools hewtils
Overview

Hewtils

Utility library

Scripts

To install scripts into your bin folder, simply run:

python install.py

Note that this requires you to either add ~/.local/bin to path, or specify a custom bin path (e.g. sudo python install.py /usr/bin). This will simply copy all scripts to that directory without their .py extension.

Clone

If you ever needed to quickly clone 3rd party git repositories or simply structure your current repositories, you'll definitely find this utility useful.

This utility allows you to automatically organise your repositories by their domain names, then owners, and then the repository names:

Git/
    github.com/
        td0m/
            hewtils
            dragons
            q
        facebook/
            react

You can clone repositories as easily as:

clone github.com/td0m/hewtils

You can also set a default domain name and clone other repositories without having to specify the domain name (this case github.com):

clone facebook/react

Or specify your default username and clone your own repositories such:

clone hewtils

Snippets

Always git clone with ssh keys

This will rewrite all your https git urls to use ssh. Useful if you are always prompted for credentials in the terminal, as it will use your ssh keys instead.

git config --global url.ssh://[email protected]/.insteadOf https://github.com/

Clean downloads folder on reboot

A great way to force yourself to organise your downloads is deleting the Downloads/ folder regularly. The following cronjob (add via crontab -e) will remove all files in the downloads directory on reboot:

@reboot gio trash $HOME/Downloads/*

Or if you don't use the trash folder:

@reboot rm -rf $HOME/Downloads/*

Add 'Open in VsCode' to Nautilus context menu

wget -qO- https://raw.githubusercontent.com/harry-cpp/code-nautilus/master/install.sh | bash
You might also like...
A cd command that learns - easily navigate directories from the command line

NAME autojump - a faster way to navigate your filesystem DESCRIPTION autojump is a faster way to navigate your filesystem. It works by maintaining a d

AML Command Transfer. A lightweight tool to transfer any command line to Azure Machine Learning Services

AML Command Transfer (ACT) ACT is a lightweight tool to transfer any command from the local machine to AML or ITP, both of which are Azure Machine Lea

Ros command - Unifying the ROS command line tools
Ros command - Unifying the ROS command line tools

Unifying the ROS command line tools One impairment to ROS 2 adoption is that all

Make tree planting a part of your daily workflow. 🌳

Continuous Reforestation Make tree planting a part of your daily workflow. 🌳 A GitHub Action for planting trees within your development workflow usin

A ZSH plugin that enables you to use OpenAI's powerful Codex AI in the command line.
A ZSH plugin that enables you to use OpenAI's powerful Codex AI in the command line.

A ZSH plugin that enables you to use OpenAI's powerful Codex AI in the command line.

This is a CLI utility that allows you to view RedFlagDeals.com on the command line.
This is a CLI utility that allows you to view RedFlagDeals.com on the command line.

RFD Description Motivation Installation Usage View Hot Deals View and Sort Hot Deals Search Advanced View Posts Shell Completion bash zsh Description

Wordle helper: help you print posible 5-character words based on you input

Wordle Helper This program help you print posible 5-character words based on you

Get latest astronomy job and rumor news in your command line
Get latest astronomy job and rumor news in your command line

astrojobs Tired of checking the AAS job register and astro rumor mill for job news? Get the latest updates in the command line! astrojobs automaticall

Command line tool to keep track of your favorite playlists on YouTube and many other places.

Command line tool to keep track of your favorite playlists on YouTube and many other places.

Owner
Dominik Tarnowski
Computer Science student & Software Developer. Linux. Vim. Go. Rust. React.
Dominik Tarnowski
A command-line based, minimal torrent streaming client made using Python and Webtorrent-cli. Stream your favorite shows straight from the command line.

A command-line based, minimal torrent streaming client made using Python and Webtorrent-cli. Installation pip install -r requirements.txt It use

Jonardon Hazarika 17 Dec 11, 2022
pyGinit is a command line tools that help you to initialize your current project a local git repo and remote repo

pyGinit pyGinit is a command line tools that help you to initialize your current project a local git repo and remote repo Requirements Requirements be

AlphaBeta 15 Feb 26, 2022
Command line, configuration and persistence utilities

Zensols Utilities Command line, configuration and persistence utilities generally used for any more than basic application. This general purpose libra

Paul Landes 2 Nov 17, 2022
eBay's TSV Utilities: Command line tools for large, tabular data files. Filtering, statistics, sampling, joins and more.

Command line utilities for tabular data files This is a set of command line utilities for manipulating large tabular data files. Files of numeric and

eBay 1.4k Jan 9, 2023
A python Ethereum utilities command-line tool.

peth-cli A python Ethereum utilities command-line tool. After wasting the all day trying to install seth and failed, I took another day to write this.

Moon 55 Nov 15, 2022
Enriches Click with option groups, constraints, command aliases, help sections for subcommands, themes for --help and other stuff.

Enriches Click with option groups, constraints, command aliases, help sections for subcommands, themes for --help and other stuff.

Gianluca Gippetto 62 Dec 22, 2022
A collection of command-line interface games written in python

Command Line Interface Python Games Collection of some starter python game projects for beginners How to play these games Clone this repository git cl

Paras Gupta 7 Jun 6, 2022
Tidier - a simple command line tool that helps you make your files tidy up

Tidier - a simple command line tool that helps you make your files tidy up

AmirMohammad Hosseini Nasab 8 Aug 16, 2022
Standalone script written in Python 3 for generating Reverse Shell one liner snippets and handles the communication between target and client using custom Netcat binaries

Standalone script written in Python 3 for generating Reverse Shell one liner snippets and handles the communication between target and client using custom Netcat binaries. It automates the boring stuff like URL encoding the command and setting up a listener.

Yash Bhardwaj 3 Sep 27, 2022
Ralph is a command-line tool to fetch, extract, convert and push your tracking logs from various storage backends to your LRS or any other compatible storage or database backend.

Ralph is a command-line tool to fetch, extract, convert and push your tracking logs (aka learning events) from various storage backends to your

France Université Numérique 18 Jan 5, 2023