thoughts, memories, ideas and snippets.
Deleting Multiple Messages from Google Voice
Update: This is no longer the case. Google voice app now has a multi-select and delete button If you wanted to delete a bulk of messages in google voice, you’re out of luck. Once you select multiple messages, it doesn’t show you a delete button. Only the archive button. You have to open individual messages and select delete from the drop-down and click a confirmation box for every single message. But, if you want to delete multiple entries of anything else, say voicemails, you can do so. ...
GPG cheatsheet
To generate keypair : gpg --gen-key Listing: To list all public keys gpg --list-keys gpg -k To List private keys - gpg --list-secret-keys gpg -K Encrypt/Decrypt: The option -a is for armor (Base64 output) To encrypt gpg -a -e -r <recipient> [file] To decrypt gpg -a -d [file] Sign: To create a signed version of the file gpg [-a] -s <file> To create a separate signature gpg --detach-sign -a <file> Verify and decrypt are the same thing. Or use the specific verify option gpg --verify file.asc file ...
Java Config with YAML
If you have ever worked with Spring Framework in Java, know the comfort and flexibility of the application configuration that comes with Spring. Have the configuration stored in properties or YML files Overriding default configuration based on profiles Overriding that with environment variables Adding to these it also has other ‘springy’ features like value injection and couple of other property sources. But if you need a small, light weight, handy application you definitely don’t want to go with a spring boot application. Spring-boot apps are known to have a delayed startup and leaves you with a bulky jar. ...
Low cost, Low energy home server
I wanted to have a small Linux server at home that can help in a couple of things. Plex media server A backup server A Web server Desired Specification Low cost This is more like a hobby project so I wanted to keep the cost really low - like, below $200. Less power consuming This server will be up 24/7 all year long. So even 1 watt-hour of power usage translates to 24 x 365 = 8760 watt-hour or 8.76 kWh. The server will just be idle doing nothing for most of the time. Therefore one of the main consideration was that the power consumption when idling should be really low. ...
Terminal Shortcuts
For reference Shortcuts in Bash Ctrl + L Clears the screen Ctrl + c Terminate the command Ctrl + R Search command history backwards Ctrl + a go to the start of the command line Ctrl + e go to the end of the command line Ctrl + k delete from cursor to the end of the command line Ctrl + u delete from cursor to the start of the command line Ctrl + w delete from cursor to start of word Alt + b move backward one word (or go to start of word the cursor is currently on) Alt + f move forward one word (or go to end of word the cursor is currently on) Alt + d delete to end of word starting at cursor Alt + c capitalize to end of word starting at cursor Alt + u make uppercase from cursor to end of word Alt + l make lowercase from cursor to end of word Alt + t swap current word with previous !! run last command !word – run the most recent command that starts with ‘word’ Shortcuts Pantheon Terminal ...