Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma
You can get the list of supported formats with:
ffmpeg -formats
You can get the list of installed codecs with:
| awk '{ print "\""$0"\""}' barra.txt | |
| for file in $(cat ~/barra.txt); do mv "$file" /media/pi/Barracuda/yes; done | 
Do you need a refresher on git? Go through Codecademy's git course.
Using your terminal/command line, get inside the folder where your project files are kept:
cd /path/to/my/codebase.
→ You cannot do this simply by opening the folder normally, you must do this with the command line/terminal.
→ Do you need a refresher on using your command line/terminal? I've compiled my favorite resources here.
Check if git is already initialized: git status
In this tutorial, we will setup GUI in WSL2, and access it using VNC. No additional software outside WSL (like VcXsrv) is required, except, of course, a VNC Viewer (RealVNC, TightVNC, TigerVNC, UVNC, etc, all of them might work flawlessly).
The key components we need to install are tigervnc-standalone-server and systemd-genie.
For this setup, I will use Ubuntu 20.04 LTS (Focal Fossa), and install GNOME Desktop. Since the key components aren't bound to Ubuntu or GNOME, you can use your favorite distro and GUI. Check the Sample screenshots section for examples.
So let's go. First, we need a working [WSL2](https://docs.microsoft.com/pt-br/windows/wsl/w
| sudo tailscale up --exit-node=100.77.128.43 --exit-node-allow-lan-access | |
| Evel | |
| Mar '21 | |
| Wow it was not clear to me that the options needed to be passed like this together. That could have been a lot more clear on the quick start page. | |
| Site A | |
| tailscale up --advertise-routes=10.201.150.0/24,10.201.200.0/24 --accept-routes=true --snat-subnet-routes=true | |
| Site B | |
| tailscale up --advertise-routes=192.168.86.0/24 --accept-routes=true --snat-subnet-routes=true | 
Thanks for checking out dawtool.
If you are just casually browsing, here are some points of interest to check out:
| Mac Network Commands Cheat Sheet | |
| After writing up the presentation for MacSysAdmin in Sweden, I decided to go ahead and throw these into a quick cheat sheet for anyone who’d like to have them all in one place. Good luck out there, and stay salty. | |
| Get an ip address for en0: | |
| ipconfig getifaddr en0 | |
| Same thing, but setting and echoing a variable: | 
HackerNews discussed this with many alternative solutions: https://news.ycombinator.com/item?id=24893615
I already have my own domain name: mydomain.com. I wanted to be able to run some webapps on my Raspberry Pi 4B running
perpetually at home in headless mode (just needs 5W power and wireless internet). I wanted to be able to access these apps from public Internet. Dynamic DNS wasn't an option because my ISP blocks all incoming traffic. ngrok would work but the free plan is too restrictive.
I bought a cheap 2GB RAM, 20GB disk VM + a 25GB volume on Hetzner for about 4 EUR/month. Hetzner gave me a static IP for it. I haven't purchased a floating IP yet.
| # The following functions append/prepend the specified directory to the path variable specified by name | |
| # If the directory is already in the path, it is first removed and then appended/prepended. | |
| # Examples: | |
| # | |
| # Prepend `~/bin` to `$PATH`: | |
| # prepend_path PATH ~/bin | |
| # | |
| # Append `~bin` to `$PATH` instead: | |
| # append_path PATH ~/bin | |
| # (this will remove `~/bin` from the beginning of `$PATH` first) | 
The purpose of this document is to make recommendations on how to browse in a privacy and security conscious manner. This information is compiled from a number of sources, which are referenced throughout the document, as well as my own experiences with the described technologies.
I welcome contributions and comments on the information contained. Please see the How to Contribute section for information on contributing your own knowledge.