Useful tips for everyday
How do I clean my docker images and containers? Prune unused Docker objects Prune images. The docker image prune command allows you to clean up…
Where is X11 in Linux? /etc/X11 These are usually located in /etc/X11. Additional configuration can come from command-line options, environment variables, auto-detection, and fallback defaults.…
How do you start a for 1 loop? Use slicing to start a for loop at index 1 Use slice notation [start:] with start as…
How do I enable mouse mode in vim? The mouse can be enabled for different modes: n Normal mode and Terminal modes v Visual mode…
What is the ideal buffer size? A good buffer size for recording is 128 samples, but you can also get away with raising the buffer…
How to enable firewall rules for OpenVPN server? Enable the firewall rules by executing this command: And that was for the server part. What’s left…
How do I change the format of a timestamp in SQL? select to_char(sysdate, ‘YYYY-MM-DD’) from dual; To get this format by default, set it in…
How do I change my IP address in CentOS 6? Set a Static IP Address Open the configuration file for the first network interface, eth0,…
How do I know which virtual environment I am using? From a shell prompt, you can just do echo $VIRTUAL_ENV (or in Windows cmd.exe ,…
Can FLAC files be tagged? FLAC has it’s own native tagging system which is identical to that of Vorbis. They are called alternately “FLAC tags”…