bitcrafting laboratory

Articles

How to route FreeTV with Edgerouter

I recently had the chance to get the fiber at home. However, due to historical reasons, I want to keep my FreeBox along with the Multiposte FreeTV service where I could watch TV on PCs connected to the network. Having two networks, I purchased and configured an Ubiquiti EdgeRouter Lite in failover mode. It’s quite a struggle to get the FreeTV feature working on this configuration, this is how I managed to do it.

[Read more]

How to display ip on a remote vm before login

Source: taken from (http://offbytwo.com/2008/05/09/show-ip-address-of-vm-as-console-pre-login-message.html)

TL;DR Install with one the following lines (choose either slurdge.org, github.com or gitlab.com) as root. Feel free to checkout the source.

wget https://gitlab.com/snippets/1660984/raw -O - | sh
wget https://gist.githubusercontent.com/slurdge/1fe64837f751101015137c7d2b93ff77/raw/install_ip_prompt.sh -O - | sh
wget https://www.slurdge.org/assets/2017/05/install-ip-prompt.sh -O - | sh

 

[Read more]

How to open everything in a tab in Firefox

To open everything in a tab in Firefox, many steps are required. You will need some extension to achieve the more complicated ones.

TL;DR

Change the followings:

  1. browser.search.openintab to true in about:config
  2. Install userChrome.js and add the following script.
  3. Done.

What decides where something is open ?

When you click or type somewhere in Firefox, there is code that decides where your click or enter should open. This code is mostly javascript, which means we can inspect it and modify it.

[Read more]