dougie.io - Coding & Business
5
March
2020
The Perfect Desktop Linux Distribution
The three most important principals for a desktop Linux distribution in my opinion: Have a stable base (kernel, system libraries, etc) Have an up-to-date desktop...
5
February
2020
How to Update All of Your Python Packages With pip Using One Simple Command
Don’t want to read and just want the solution? Click here to jump to the solution pip doesn’t have a built-in command to update all...
5
February
2020
How to Make Bundler Install Gems In Your Home Folder (Instead of In Your Root/System Directories)
Tired of Bundler prompting you for your root password when running bundle install? This one-line command will permanently solve your woes. bundle config --global path...
20
July
2019
"Could Not Connect" Airpods + Kindle Paperwhite FIX (Works with Kindle Oasis too)
I just got a Kindle Paperwhite that supports Audible. At first I had no luck connecting it to bluetooth. The error was something along the...
13
July
2019
Here's How to Open a Terminal App in Your Current Emacs Working Directory
So you want to open a terminal from Emacs. While Emacs comes with various modes such as shell, ansi-term, and eshell, sometimes you just want...
16
January
2019
How to run the Django Shell in Emacs
Demo Code (defun django-shell () (interactive) (let ((python-shell-interpreter (read-file-name "Locate manage.py ")) (python-shell-interpreter-args "shell")) (run-python (python-shell-calculate-command) nil t))) Commentary I was looking for an easy...
5
August
2018
How to Indent a Selection in Emacs
Creating a keybinding The most intuitively way I have found to indent your selection in Emacs is with the following keybinding: (global-set-key (kbd "C->") 'indent-rigidly-right-to-tab-stop)...
3
August
2018
Vue-Router Blank Page? Here's The Fix
So, there’s no error. Just a blank page. You can’t find any obvious typos and your code looks quite indentical to the documentation. Here are...
18
July
2018
Using Lisp to Help With Tasks Such as...Creating Spreadsheet Formulas?
Writing big Excel/Libreoffice formulas can be a pain. They’re all meant to be one line and unfortunately you’re sometimes forced to duplicate big, repetitive code...
18
July
2018
Formula to Get a Domain Name from a URL in Libreoffice, Excel, and Google Sheets (With Generator!)
Enter the cell that contains your URL and the formula to get the domain name will be generated below. Javascript is disabled in your browser!...
16
July
2018
The Ultimate Guide To Indentation in Emacs (Tabs and Spaces)
TL;DR: The Full Configuration: Breaking It Down Functions for Enabling/Disabling tabs Using Tabs or Spaces in Different Files Changing the tab width Making Indentation Behave...
29
June
2018
A Flawless i3wm experience on a HiDPI/Retina display
Create / Edit ~/.Xresources with the following values: Xft.dpi: 192 URxvt.font: xft:FiraMono-Regular:size=10 Xft.autohint: 0 Xft.lcdfilter: lcddefault Xft.hintstyle: hintfull Xft.hinting: 1 Xft.antialias: 1 Xft.rgba: rgb Create...
10
June
2018
How to Get Vim to Use the Background color of your Terminal Emulator instead of the colorscheme
So, you’d like to get Vim to use the syntax colors from your colorscheme but you would like the background to match the color of...
10
June
2018
How To Set Up Qt5 & Qt Creator on Fedora
Step 1: Install the Qt5 Developer libraries sudo dnf install qt5-devel Step 2: Change your qmake location Change your qmake location from /usr/bin/qmake-qt5.sh to /usr/bin/qmake-qt5,...
4
June
2018
Why I Don't Use OpenSUSE
Update - February 6, 2020 So, I actually used OpenSUSE as a daily driver for a few months. What I loved about it was: Stable...
2
June
2018
Using Wget, Grep, and Sed to Download Public Domain Wallpapers From a Web Page
So here’s the situation. You come across a page with a lot of cool images that would make for great desktop wallpapers. Of course, you...
1
June
2018
How to Stop Your Dark Linux Theme From Interfering With CSS in Firefox
If you use a dark GTK theme on Linux and also use Firefox you might have run into this situation before. It can be very...
20
May
2018
FIX "Unknown collation: utf8mb4_unicode_520_ci" MySQL Import Error
Migrating a site from one server to the next is usually a pain. It’s not that it’s a difficult task in itself. It’s just that...
26
February
2018
Jack Ma's 1999 IPO Speech Introducing Alibaba [Transcript]
I really like Jack Ma’s speech, introducing Alibaba. It shows a rare glimpse of a startup at its very beginnings, before it blew up to...
28
January
2018
Getting Krita to Work With Your HiDPI Display
Krita and Gimp are the most popular free and open-source image editors for Linux. However, if you are using a HiDPI/Retina display you will notice...
blog 20 20