Skip to content

Instantly share code, notes, and snippets.

View plembo's full-sized avatar

Phil Lembo plembo

View GitHub Profile
@plembo
plembo / RcloneMountOneDrive.md
Last active June 20, 2024 15:14
Rclone mount onedrive

Using rclone to mount OneDrive on Linux

Introduction

Yes. Use rclone to mount OneDrive to a folder in your home directory on Linux. "How to Mount OneDrive In Linux Using Rclone (Supports Business and Personal Accounts". Linux Uprising, 17 March 2020, https://www.linuxuprising.com/2018/07/how-to-mount-onedrive-in-linux-using.html.

I really like this solution. The availability of 1 Gb/s bandwidth (thank you, Google Fiber!) at home has made the difference for me. Although I currently have this set up on both my personal desktop and laptop, it obviously doesn't work as well outside the high bandwidth envelope of my home network.

Rclone is my weapon of choice because it has proven itself both stable and performant over the years. It also has many options to improve both, and the doc for rclone mount is excellent.

Procedure

@plembo
plembo / BrightenNavbarText.md
Last active November 26, 2018 16:11
Brighten up navbar text

Brighten up navbar text

By default, the "brightness" for bootstrap 4 navbar text is halved as compared with the background. That makes text against the standard background "themes" (dark, primary, success, etc) hard for my old eyes to see. It's basically a 20-something eye chart.

A better way would be to brighten it up a bit and let the text be pure white (or black, if you're using a light background), and let it dim on hover.

An example. First, the HTML:

@plembo
plembo / NumixOnUbuntu1804.md
Last active November 28, 2018 20:54
Making Numix work on Ubuntu 18.04

Making Numix work on Ubuntu 18.04 LTS

Ubuntu 18.04's package repos include the Numix Project's gtk theme and icon theme, but these have an undocumented dependency on gnome-icon-theme, which is not installed by default.

So to make Numix work you need to first:

sudo apt install gnome-icon-theme numix-gtk-theme numix-icon-theme
@plembo
plembo / GnomeExtForUbuntu.md
Last active January 27, 2025 14:59
Gnome Extensions for my Ubuntu desktop

List of Gnome Shell Extensions for my Ubuntu desktop

  • Appindicator and KStatusNotifierItem Support
  • Dash to Dock
  • Gtk4 Desktop Icons NG (DING)
  • Lock Keys ([email protected])
  • OpenWeather

Disable or remove all other extensions to avoid conflicts and/or performance issues in Gnome Shell (like slow logins).

@plembo
plembo / dotnetonubuntu.md
Created December 5, 2018 19:27
Installing and Updating .NET Core on Ubuntu Linux

Installing and Updating .NET Core on Ubuntu Linux

The best way to install and maintain .NET Core on Linux is to use Microsoft's package repository.

Instructions on how to do that can be found here (toggle the drop-down to select for different distributions).

So with Ubuntu 18.04, for example:

@plembo
plembo / storeonenoteononedrive.md
Last active June 26, 2021 16:43
Storing OneNote notebooks on OneDrive

Storing OneNote notebooks on OneDrive

The Windows 10 OneNote app will soon be the only desktop version of OneNote. Microsoft will not be bundling OneNote with Office starting with Office 2019. The procedure for storing notebooks off the local hard drive was never well understood or publicized in part because OneNote's interface was a moving target.

Here's the simple scoop: The easiest way to keep your notebooks on OneDrive is to use the web interface for OneDrive to create them there in the first place. Simply drill down to the folder where you want to store the notebook, right click and select New... OneNote notebook. Then open the OneNote app and click ... More Notebooks, select the new notebook and open.

To move and existing notebook, follow these steps:

@plembo
plembo / gb-bxbt-1900.md
Last active June 1, 2024 19:48
Gigabyte BXBT-1900 as a HTPC

Using a Gigabyte BXBT-1900 as an HTPC

Gigabyte mini PC with Intel Baytrail J1900 Celeron.

NOTE: I do not endorse the use of this machine as an HTPC. It's way too underpowered for that. Over time, I have found that a non-mobile i5 with 4 cores is the absolute minimum hardware required for an HTPC.

4 core CPU, but weak GPU. Old tech released in 2014, optimized for Windows 8.

Known for locking up without warning. That condition supposed to have been fixed by BIOS F8 (03/02/2016).

@plembo
plembo / vboxdesktop.md
Last active December 27, 2018 19:19
VirtualBox for desktop virtualization

VirtualBox for Desktop virtualization

Oracle's VirtualBox runs on Windows, Linux and MacOS desktops and supports a variety of Intel host operating systems including Windows, Linux and MacOS. The core product is free and open source software licensed under GPLv2.

By default, VirtualBox sets up news guests on a private internal network that communicates with the outside world through the host's network interface using NAT.

There are VM specific hardware drivers for most guests that can be installed by mounting the built-in Guest Additions CD, which is distinct from the proprietary VirtualBox Extensions Pack.

@plembo
plembo / AvoidNpmExtraneous.md
Last active March 31, 2019 18:48
Avoid npm ERR! extraneous
@plembo
plembo / mongodb-on-ubuntu-lts.md
Last active February 14, 2019 17:42
Install MongoDB Community Server on Ubuntu LTS