Bash brace expansion is an incredibly valuable feature once you commit it to memory and begin using it on a regular basis. It will save you immense amounts of typing. This also works in Zsh.
If you have a script or application you want to run but don't have a desktop or dock launch icon for it, you can create a custom one yourself.
This will work in Gnome, KDE, and other desktops that follow the specifications at freedesktop.org.
For more options, you can read more about Desktop Entry Specifications.
Dialog boxes are a commonly used GUI element to provide feedback to the user and also to prompt the user for information or to take an action. Some examples of common dialogs are:
- A simple message: "Press OK to continue"
- Ask for "OK or cancel"
- Ask for "Yes, no or cancel"
We will look at several different methods for creating dialog boxes in Python including cross-platform options like tkinter and PyAutoGUI, as well as a couple Windows specific options.
ssh application is essential to just about everyone.
Are you using it as efficiently as possible?
Check out these tips and config settings that will make your life easier,
including aliases, specifying identify files, forwarding ports, and
using jump hosts.
Debian Package tool
dpkg is used on Debian, Ubuntu, Kali, Linux Mint,
and other Debian based Linux distributions.
This tutorial covers the basics of creating custom
and managing them with
We will cover the process of creating your own
deb file to distribute
your package easily.
Docker is useful for containerizing and managing processes. It is a great tool for developers and devops teams. Docker is good for creating reproducible environments. It is easy to customize images and document how an environment should be configured. We will look at how to:
- Install Docker
- Manage images, containers, and volumes
- Create custom images
- Pushing images to DockerHub and running custom registry
- and more!
It can be helpful to rebind the CAPS LOCK key for convenience.
For Emacs users, it's helpful to rebind
CAPS LOCK to the
For vim users, rebinding
CAPS LOCK to the
ESCAPE key makes it easier to switch modes.
This a simple cheatsheet and reference page for vim commands.
In Ruby 2.3, they introduced a getpass method on the IO::console class. There are no dependencies since it part of the standard library, but it's only available in versions higher than 2.3. For older versions, we'll look at an alternative method. The getpass method is similar to gets except it will not echo back what you are typing in. This is good for getting a password without printint it to the screen when you type it in. This will demonstrate how to use the method. See the official documentation for IO::console#getpass for more details. We will also look using $stdin.noecho() to wrap Kernel.gets to get a password.