Category Archives: Linux

How to start tmux with attach if a session exists – Unix & Linux Stack Exchange

The answer is much simpler. Just put this in your ~/.tmux.conf file: # if run as “tmux attach”, create a session if one does not already exist new-session -n $HOST If you run tmux attach and there is a session, then it will attach to that session (whether it’s already attached or not). If there is not a session already then it will create one for you.

Source: How to start tmux with attach if a session exists – Unix & Linux Stack Exchange

Block Ads & Malvertising on pfSense Using pfBlockerNG (DNSBL)

This walkthrough uses the DNSBL portion of pfBlockerNG to remove ads/advertising and more importantly, malvertising. It essentially creates a functionality similar to the pi-Hole project except it doesn’t require a separate piece of hardware. Instead, you just use your pfSense + pfBlockerNG! If you’re interested in a write-up on installing/configuring the pi-hole on Ubuntu, I have one here. Please note this walkthrough is for the new devel version of pfBlockerNG. The pfBlockerNG-devel package is now in the standard list of…

Source: Block Ads & Malvertising on pfSense Using pfBlockerNG (DNSBL)

Get a rock-solid Linux touchpad configuration for the Lenovo X1 Carbon – major.io

The X1 Carbon’s touchpad has been my nemesis in Linux for quite some time because of its high sensitivity. I’d often find the cursor jumping over a few pixels each time I tried to tap to click. This was aggravating at first, but then I found myself closing windows when I wanted them minimized or […]

Source: Get a rock-solid Linux touchpad configuration for the Lenovo X1 Carbon – major.io