NOTE: This is a question I found on StackOverflow which I’ve archived here, because the answer is so effing phenomenal.
If you are not into long explanations, see [Paolo Bergantino’s answer][2].
| <!-- layouts/shortcodes/mailgo.html --> | |
| {{ if .Get 1 }} | |
| <span class="icon-link"> | |
| <a href="#mailgo" data-address="{{ .Get 0 }}" data-domain="{{ .Get 1 }}" > | |
| <img src="/icon/mailgo.png" alt="mailgo" {{ with .Get 2 }} height="{{ . }}" {{ end }} /> | |
| </a> | |
| <script src="https://cdn.jsdelivr.net/npm/mailgo@[VERSION]/dist/mailgo.min.js"></script> | |
| </span> |
| #!/bin/bash | |
| # Based on the directions here: https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot | |
| # This will take a while to build, with most of the time spent on QT4. There is some redundancy with creating | |
| # multiple clean chroots, but I think this approach is easier and more reliable for most systems. | |
| # Specify a build directory. Defaults to /tmp: | |
| BUILDDIR="/tmp" | |
| # Install devtools if it's not already installed: |
| ------------------------------------------------------------------------------- | |
| -- Configuration for using Xmonad inside Xfce, KDE and standalone. | |
| -- | |
| -- Xfce: It is recommended to disable/remove xfwm4 and xfdesktop. | |
| -- KDE: Plasma works with xmonad, except | |
| -- 1. Mouse cursor cannot focus on empty monitors. | |
| -- 2. Panel start-menu search field cannot receive input. | |
| ------------------------------------------------------------------------------- |
NOTE: This is a question I found on StackOverflow which I’ve archived here, because the answer is so effing phenomenal.
If you are not into long explanations, see [Paolo Bergantino’s answer][2].
| Music For Hackers | |
| == | |
| To a hacker, there's something distracting about booting up a GUI to listen to your tunes. You live your life in the terminal, you treat the mouse like a high voltage tap. | |
| So give these commands a run in the terminal, and toss on your headphones. | |
| sudo apt-get install mplayer | |
| echo "alias defcon-start='nohup mplayer http://sfstream1.somafm.com:6200 > /dev/null 1>&2 &'" >> ~/.bashrc | |
| echo "alias defcon-stop='killall -9 mplayer'" >> ~/.bashrc |