Skip to content

Instantly share code, notes, and snippets.

View DanielArnett's full-sized avatar

Daniel Arnett DanielArnett

View GitHub Profile
@DanielArnett
DanielArnett / Social Media Block.md
Last active January 8, 2023 02:55
Block Social Media in Ubuntu

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 February 1, 2024 22:20
How to use the HTC Vive Trackers in Ubuntu using Python 3.6.

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