-
Encrypt Device With Veracrypt From the Command Line
You have a drive that you want to encrypt and use in Linux and other OSes. Then Veracrypt, the successor of Truecrypt, is a good choice. In this tutorial, I will show you how to quickly encrypt a drive and mount and unmount it from the command line.
Read more… -
Make Less Options Permanent or the Missing Lessrc
Let’s have a look at how we can make certain
Read more…less
preferences permanent, like-I
, for example, which will make search case insensitive. -
Make a Backup With Rsync
We want to make a backup of data, for example to an external hard drive. Rsync to the rescue.
Read more… -
Partition and Format Drive With NTFS
Say we bought an external hard drive to back up some stuff from a crashed computer. We can use a Live USB to get at the data and put the data on the external hard drive. Because the data needs to be accessible by Windows, we are going to use format the drive with NTFS.
Read more… -
Create Arch Linux Live USB
Creating a Arch Linux live USB is easy. In this post, I will walk you through downloading and verifying the image, finding your USB drive and copying the image onto it, all from the convenience of the command line.
Read more… -
Spring Basics Conditional Bean Wiring
In Spring, it’s possible to wire a bean only when some condition is met.
Read more… -
Spring Basics Dynamically Inject Values With Springs Value
If we do not want to hard-code values into our source code, we can use properties files. With the
Read more…@Value
annotation, Spring gives us an easy means to get properties from properties files and inject them into our code. -
Spring Basics XML Setter Injection With Custom Method Names
Let’s have a look at how to inject beans using setters with a custom method name.
Read more… -
Spring Basics Wiring Beans With Xml Configuration
If you have to work with legacy Spring applications, chances are you will have to know how XML-based configuration works. Although Java configuration is preferred for new applications, sometimes you just don’t have a choice, so you’d better be comfortable with it.
Read more… -
Quick Vim Tip: Change Text Between White Space
private List<String> strings;
When the cursor is on the
Read more…S
ofString
, useciW
to deleteList<String>
and start insert. Obviously, you can use any other command with that movement, for example yank the text (yiW
) or delete it (diW
).