Month: April 2019

How to install and run youtube-dl from actual source code, so that you can apply patches as needed

If you use the program youtube-dl, you may have noticed that from time to time things stop working. Usually it’s because something changes on a site and youtube-dl needs to be patched to deal with it. But what sometimes happens is that someone will submit a patch and then the youtube-dl developers will ignore that patch for many months before they finally get around to merging it into the program. The speed at which the youtube-dl developers fix issues with sites can seem glacial at times.

What’s frustrating is that if you browse through the issues section of the youtube-dl support area using an appropriate search term, you may find the fix for your problem, and maybe it’s just been sitting there for quite some time. But, since youtube-dl is distributed as a compiled binary you may think you have no way to apply it. But that’s not really true – at its core, the entire program is simply a multitude of Python scripts, and it can be run without first being compiled. And if you use it that way, then you can apply patches as needed to any of the python modules, whether they are patches you have written or patches that you have found in the issues area, or elsewhere on the Internet.

So here is how you can install and use youtube-dl using actual source code.

Source: How to install and run youtube-dl from actual source code, so that you can apply patches as needed – Two “Sort Of” Tech Guys

How to Use Raspberry Pi as a VPN Gateway

A VPN (Virtual Private Network) protects your privacy by routing all your Internet traffic through an encrypted server that your ISP (or hackers) can’t see. Setting up and using a log-free VPN service from your PC desktop is straightforward enough, but other devices in your home such as your game console and set-top box don’t let you install VPN software.

One solution is to buy a router that can connect directly to a VPN service, protecting all the traffic on your home network a single stroke. But it could be cheaper (and simpler) just to route all your traffic through a Raspberry Pi that remains connected to the VPN at all times.

Source: How to Use Raspberry Pi as a VPN Gateway – Tom’s Hardware

How to boot your Raspberry Pi from a USB mass storage device

In this tutorial, we will show you how you can boot your Raspberry Pi using a USB port instead of the micro-SD card slot!

Please note: This method of booting is experimental and is not guaranteed to work with all USB mass storage devices.

Source: How to boot your Raspberry Pi from a USB mass storage device (ModMyPi)

Recent Posts

Recent Comments

Archives

Categories

Meta

GiottoPress by Enrique Chavez