Skip to content

Instantly share code, notes, and snippets.

Avatar

Daniel Arnett DanielArnett

View GitHub Profile
@DanielArnett
DanielArnett / Social Media Block.md
Last active Jan 9, 2021
Block Social Media in Ubuntu
View Social Media Block.md

This guide shows how to block distracting sites in Ubuntu, and stop yourself from removing the blocks personally. This is helpful in preventing a momentary temptation from turning into an extended distraction. Only do this if you don't need daily root access. Most sudo commands will still work, you just wont be able to switch to root user. You'll be generating a new root password and making it hard to access.

0. Before starting, make sure you've set up a password for the root user on your machine. If you haven't already you can run sudo passwd root to do so. If you want you can go ahead and use the random password in step 7.

1. Switch to root.

su

@DanielArnett
DanielArnett / vive-tracker-ubuntu-instructions.md
Last active Mar 16, 2021
How to use the HTC Vive Trackers in Ubuntu using Python 3.6.
View vive-tracker-ubuntu-instructions.md

This tutorial will guide you through the setup of the HTC Vive Tracker in Python 3.6 on Ubuntu 14.04.

Prerequesites

Up to date graphics drivers

x86 architecture

SteamVR requires >4GB disk space