Friday, October 19, 2018

HAProxy logging on RHEL7

How to configure RHEL7 rsyslog for haproxy logging.

Problem: The haproxy config (/etc/haproxy/haproxy.cfg) reports how to enable logs; however, this seems to be syslogd specific which is not what is running in RHEL7

Solution: enable logging via rsyslog configs:
Modify /etc/rsyslog.conf to include:

# Provides UDP syslog reception
$ModLoad imudp
$UDPServerRun 514
# Provides TCP syslog reception
$ModLoad imtcp $InputTCPServerRun 514

*note: maybe only UDP or maybe only TCP is needed.

Modify /etc/rsyslog.d/listen.conf

local2.* /var/log/haproxy.log

*note: this could just as easily be /etc/rsyslog.d/haproxy.conf, i chose the prior only because it pre-existed.

*note: local2 is the default in haproxy, but this could be changed if desired.

*note: the -r is required, the -m 0 is not, but meant to reduce junk. If it is looking up DNS and you don’t want, then add -x

Now sudo systemctl restart rsyslog and tail -f /var/log/haproxy.log to see the records.

As always, good luck!

resources used:


Written with StackEdit.

Sunday, October 14, 2018

ubuntu bluetooth mouse laggy

Problem: Ubuntu Bluetooth Mouse Super Laggy

Potential Solution: To reduce or potentially remove Bluetooth mouse lag, disable all unused plugins in the Bluetooth Manager:

If it does not help (or help enough), try this: 


Friday, July 13, 2018


Better Than fdupes!!! thank you @jbruchon



  • Raw speed!
  • Preserve duplicates specific to a folder and delete the rest:
    – option 1: given three folders X,Y, Z: jdupes -nrdNO ./X/ ./Y/ ./Z/ preserve files in folder X and purges duplicates in Y and Z.
    – option 2: given three folders E,F,G: jdupes -nrdNO ./E/ ./G/ ; jdupes -nrdNO ./F/ ./G/ deletes duplicates only from G, retaining any duplicates in E or F.
  • and more…

Written with StackEdit.

Wednesday, July 4, 2018

Prepare or Fix Linux for ButterFlight, BetaFlight, CleanFlight

ButterFlight | BetaFlight | CleanFlight
Failed to open serial port: FILE_ERROR_ACCESS_DENIED

Failed to open serial port: FILE_ERROR_ACCESS_DENIED
betaflight linux failed to open serial port
butterflight linux failed to open serial port
cleanflight linux failed to open serial port
butterflight can’t flash firmware
betaflight can’t flash firmware
cleanflight can’t flash firmware

Linux user accounts require permissions for Serial and USB subsystems.

1) For Failed to open serial port: FILE_ERROR_ACCESS_DENIED :

sudo usermod -a -G dialout $(whoami)
newgrp dialout   #(temp workaround to bypass logout & re-login requirement)

2) For unable to flash firmware to flight controller (FC) :

echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE="0664", GROUP="plugdev"' | sudo tee /etc/udev/rules.d/45-stdfu-permissions.rules
sudo usermod -a -G plugdev $(whoami)
newgrp plugdev   #(temp workaround to bypass logout & re-login requirement)

Follow along:

As always, good luck!

Written with StackEdit.

Sunday, May 13, 2018

SAVE $$$ with TING

OMG! I am saving so much money with TING! My costs are HALF my AT&T bill!!!

TL;DR? $25 credit with my referral:

I dropped AT&T wireless (AT&T Mobile) completely and you can too. Drop Verizon, Drop T-Mobile, Drop Sprint, Drop MetroPCS, Drop Boost, Drop Cricket, Drop everyone else.  Nobody is as affordable as Ting.

TING has the simplest mobile billing ever! – You pay $6 per phone flat-rate, and then you pay only for the services you use. You do NOT pay for more than you actually use. Every month is adjusted automatically.

For example, our typical month goes as follows: We have two phones ($6 + $6). We use less than 500 minutes talk time (+ $9); we use less than 1000 text messages (+ $5); we use less than 1GB of data (+ $16). This calculates to $42 dollars plus fees and taxes. Our monthly bill is typically $46.23 which is approximately HALF my previous AT&T bill.

This is my actual bill: Simple as simple could be!

Want to save money also? Please use my referral – You will receive a $25 credit to apply to a phone or service. You will not be disappointed with Ting!


Want to get a "free" landline?  Visit my old post:

As always, good luck!!!

Save money
save cash
pay less
save money for phone service
save money for cell phones
save money for mobile phones

Saturday, April 14, 2018

Increase Keyboard Backlight Timeout on Ubuntu Dell XPS


Default = 10s (seconds); Set to 20m (minutes)

Unsure how to disable timeout completely, but setting to a large value could work too.


Thursday, April 12, 2018

In-Production Active Directory Password Expiration Notification

It's been about a year now that we have used this powershell script in-production to email-notify users of their soon-to-expire or already-expired Active Directory passwords.

Maybe it's not perfect, but it works very well! (You have to schedule it to run daily.) Enjoy.

Thursday, April 5, 2018

Installing PowerCLI 10 in Debian 9

Installing PowerCLI 10 in Debian 9

The PowerCLI compatibility matrix states PowerShell 6.0.1 is supported. 6.0.2 and 6.1.0-Preview is not. (reference)

Firstly, install PowerShell [almost] as per documentation: (reference) or (reference)
sudo apt remove --purge powershell
sudo apt install libc6 libgcc1 libgssapi-krb5-2 liblttng-ust0 libstdc++6 libcurl3 libunwind8 libuuid1 zlib1g libssl1.0.2 libicu57 libssl1.0.0 libssl1.0.2 libssl1.1 libicu52 libicu57 curl gnupg apt-transport-https
curl | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] stretch main" > /etc/apt/sources.list.d/microsoft.list'
sudo apt update
sudo apt install -y powershell=6.0.1-1.debian.9
sudo apt-mark hold powershell        #Pin this version... 'unhold' for non-recommended versions

If you get a Segmentation fault you must sudo apt remove --purge libssl1.0.0!

Install PowerCLI inside PowerShell: (reference)
Install-Module -Name VMware.PowerCLI -Scope CurrentUser
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore   #Accept self-signed certificates
You may later update with
Update-Module VMware.PowerCLI

If you want a scope of AllUsers, then you will have to install with sudo pwsh and perform subsequent update with sudo pwsh as well.

Good Luck!

Wednesday, April 4, 2018



This isn't the first time LMI, Inc SUCKED:

First they Made free LMI not free:

Then they made Hamachi SUCK more and more.

They bought Lastpass/XMarks:

"LogMeIn is retiring Xmarks from its line of products as of May 1, 2018. After this date, you will no longer have access to Xmarks."

There are no "good" alternatives! (None of the alternatives have profiles and background syncing.)


Will they destroy the best password manager LastPass too?

Export your data || All your data are belong to LMI SUCKS.

Friday, March 16, 2018

Easiest Walmart Receipt Download with Android

- Android device
- Walmart App
- GDrive app

Step 1) Walmart App > Menu > Purchase History > Search (optional) > Click Receipt > Share > GDrive.
Step 2) Computer > GDrive > find your receipts and Download.

As always, Good Luck!
Please comment or tip me or use any/all of my affiliate links; Thank YOU!

easy walmart receipt download 
walmart receipt save

Thursday, March 1, 2018

Shotcut Video Editor Undo Dissolve & Add Blur


[How to] Undo a Dissolve (Cross-Fade) in ShotCut

  1. Move the clips around or to new tracks if necessary.
  2. Stretch the left-edge and the right edge of each clip to their maximum.

Easy [How to] ShotCut Privacy Blur

  1. Duplicate the clip into a higher track.
  2. Select the duplicate clip in higher track.
  3. Add Inverse Color Filter specifically for visualizing the mask location. Be sure to deselect for final output.
  4. Add Mask Filter. Apply preset default; Operation=Minimum. Adjust as needed.
  5. Add Blur Filter. Adjust as needed.
  6. MUTE duplicate clip audio as needed. If it does not work. Remove filters and re-try applying to top-most track.

As always, Good Luck!

Please comment or tip me or use any/all of my affiliate links; Thank YOU!

Coolest nerd tech ever:

Published with StackEdit.

Wednesday, February 28, 2018

Fix Brave Browser Sandbox in Debian/Ubuntu

Brave is a super-quick privacy-focused ad-blocking modern web-browser.

Problem: Cannot run Brave web-browser
$ brave
[7970:7970:0228/] No usable sandbox! Update your kernel or see for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.

sudo su
echo 'kernel.unprivileged_userns_clone=1' > /etc/sysctl.d/00-local-userns.conf
service procps restart


Please consider my Brave affiliate links to support my Youtube publications:
Excuse Me While I Nerd
Thibodaux Area Aerials

As always, Good Luck!

Please comment or tip me or use any/all of my affiliate links; Thank YOU!

Saturday, February 24, 2018

Lost or Stolen Mobile Device Location Services (Find My Device)

Lost or Stolen Mobile Device Location
(Modern Devices 2014 2015 2016 2017 2018)

In the event of lost or stolen devices, it is best to have your device prepared ahead of time.

Below are the "native" ways to do, but I will also present two other free services afterward.  Generally your device has to be powered on and have connectivity.  Some services offer a last seen location.


To prepare your Android device, install "Device Manager" from the Google Play Store. Login with your Google account and approve location sharing if necessary. You may need to turn on Settings->Location Access+GPS+WiFi. If you have multiple Android devices, this app will also help locate your other devices.

In the event of a lost or stolen device, visit and login with your Google account that was used to setup the device. Device Manager allows you to locate, ring, lock or erase your device. (You may have to "Setup Lock & Erase" First.)


To prepare your iPhone or iPad, go to Settings->iCloud. Login if necessary (use your Apple account) and pan down to "Find my iPhone" (or iPad) and turn it on. Also turn on "Send Last Location". You may need to turn on Settings->Privacy->Location Services also.

In the event of a lost or stolen device, visit to locate your device.

3rd Party

Now although the above certainly work, I personally don't want to be limited to only this.

I also recommend both Prey ( and Lookout (

Prey is a free location/anti-theft app for up to three devices including laptop computers. If lost or stolen, visit where you can locate, lock, erase, send an alert, or sound an alarm. Prey may also be able to access the front facing camera.

Lookout is a free antivirus, backup, and device-location app with additional paid backup features. Once installed and configured, visit to locate, lock, erase, or sound an alarm.

Plan B ( offered by may also help you locate your Android device if you have not configured any previous location services.

Thursday, February 22, 2018

Custom Mime File Type Icon in XFCE Thunar

I wanted to associate a custom icon for my old .PSP files in XFCE, but had no clue how.  Thanks to, I was able to do it easily.

Firstly create a custom icon, then save it into ~/.local/share/icons/.  (Alternatively, with sudo/root access try /usr/share/icons/. For example, mine was ~/.local/share/icons/pspimage.png.

Then create a new mime xml in your user’s ~/.local/share/mime/packages/. For example, mine was ~/.local/share/mime/packages/pspimage.xml. (Alternatively, for system-wide, try /usr/share/mime/packages/.)

Which contained:
<?xml version="1.0"?>
<mime-info xmlns=''>
  <mime-type type="application/octet-stream">
    <comment>PaintShop Pro Image</comment>
    <glob pattern="*.psp"/>
    <glob pattern="*.pspimage"/>
    <generic-icon name="pspimage"/>
    <icon name="pspimage"/>

Then simply update your system: (Alternatively, as sudo/root, perform same as below in /usr/share/mime/packages/.)
cd ~/.local/share/mime && update-mime-database $PWD

Refresh your Thunar view and viola.

As always, good luck!

Coolest nerd tech ever:

Tuesday, February 20, 2018

2 Ways to Linux CommandLine Thesaurus Synonyms


[How to] Linux CommandLine Thesaurus | Linux CommandLine Synonyms

I wanted to use my linux commandline to lookup synonyms (thesaurus) recently but didn’t know how.

After some searching I was able to find 2 alternatives that worked very differently, yet helped me tremendously on each account.

Method 1 - DICT

sudo apt install dict dictd dict-gcide dict-moby-thesaurus
sudo systemctl enable dictd
sudo systemctl start dictd
dict --help # or try 'man dict'
#dict -d moby-thesaurus YOURWORDHERE
alias thes='dict -d moby-thesaurus'
thes engineer

Method 2 - WordNet

sudo apt install wordnet
man wn | grep -B1 synon
#wn YOURWORDHERE -syns#, where # is n, v, a, or r
wn # or try 'man wn'
wn engineer -synsn | grep -v ^$   #grep just strips empty lines from output
wn engineer -synsv | grep -v ^$

Script for both:

if [ "$1" = "" ] ; then
   echo "usage: $0 WORD"
wn $1 -synsn | grep -v ^$
wn $1 -synsv | grep -v ^$
wn $1 -synsa | grep -v ^$
wn $1 -synsr | grep -v ^$
dict -d moby-thesaurus $1

As always, good luck!

Coolest nerd tech ever:

Friday, February 9, 2018

[Solved] PulseAudio stopped working in Debian 9


[Solved] PulseAudio stopped working in Debian 9 Stretch on Dell Optiplex 9020

After some recent updates, unknown when and unknown why, PulseAudio stopped working properly. Sometimes it would work and sometimes not, it was the fight of all fights.

Multitudes of resources that failed to resolve only aggravated my situation. My final solution came from multiple sources, some of which i have already forgotten, but i will link some that helped.

Specifically to my Dell Optimplex with built-in Intel HD 4000 graphics, HDMI Audio was always a problem to the extreme. It always got in the way. If found a resource that spoke about making an NVidia HDMI work, but in actually this resource helped me disable it. Please refer to:

When I performed the command aplay -l, I found my Intel HDMI Audio to be card 0. I created/modified my /etc/modprobe.d/sound.conf to contain options snd-hda-intel probe_mask=0xfff2 as per the post. Maybe that doesn’t even do anything. But then I chose the best thing ever. The post said to sudo rmmod snd_hda_intel then sudo modprobe snd_hda_intel, but screw that, i just sudo rmmod snd_hda_intel without reinserting it. Afterward aplay -l did not show card 0, hells yeah!

PulseAudio still caused me super rage mode, it just didn’t work as expected if it worked at all. i had to rm -rf ~/.config/pulse/ and rm ~/.asoundrc multiple times. Mostly the daemon would not start under my user account, but ran much better as root after the above “fix”.

So i decided, I need to run pulseaudio as root always (really this is called running under “system”). I found the command needed to be sudo pulseaudio --system --daemonize --disallow-exit. Warning: official documents say do not do this for security reasons, but F**K, it’s a pile of S**T and fails to work, so i’m doing it.

When I ran this, it seemed to work, but then would flake out. It seemed pulseaudio wanted to re-launch under my useraccount occasionally, so I eventually found to modify /etc/client.conf to include autospawn = no.  Of course  I had to sudo killall pulseaudio multiple times too.

Now everything seemed to work, so I proceeded to make it autostart at reboot this way. I ran sudo crontab -e and inserted @reboot pulseaudio --system --daemonize --disallow-exit. I rebooted and GLORY.

Additional Notes:
I should note that I had to verify my user/groups were in order too with sudo usermod -a -G pulse,pulse-access,audio $(whoami). I also did it for the user pulse but i really think that was overkill. Regardless attempting pulseaudio as user was still B******T. Also note, that modifying group memberships requires a reboot. (There are ways to avoid reboot, but reboot is wisest.) ~~~

As always, good luck!

Coolest nerd tech ever:

[SOLVED] NFS stopped mounting in Debian 9 Stretch

icon icon

NFS stopped mounting in Debian 9 Stretch

After some recent updates, unknown when and unknown why, NFS mounting to my Synology device stopped working.

Thanks to these resources, I re-configured it and it works at boot-up again.

My /etc/fstab now looks like this: /mnt/synology nfs noauto,x-systemd.automount,x-systemd.device-timeout=10,rsize=8192,wsize=8192,timeo=14,hard,intr,noatime 0 0


As always, good luck!

Coolest nerd tech ever:

Monday, January 29, 2018

trojan:powershell/peasecto.A powercli false positive vmware powercli

Trojan:Powershell/Peasecto.A - VMWare PowerCLI False Positive

Available Resources:

This is what i did:
2) Find-Module "VMWare.*" | Install-Module -AllowClobber -Verbose -Scope AllUsers -Force
3) Find-Module "VMWare.*" | Update-Module -Verbose -Confirm:$false

See for my original PowerCLI install post.

As always, good luck!

Coolest nerd tech ever:

Wednesday, January 24, 2018

Practically "Free" Landline service with ObiHai and Google voice (VOIP)


I have purged myself from paying for a traditional landline.

I can hardly believe that's it's been this long.  Since November of 2013, I have had practically free landline service by using Google Voice via an device over my Internet Service.  (Yes, I do pay separately for Internet.)  Google Voice calling is free nation-wide. (If you need to call overseas, they offer extremely low international rates.)

If I had retained my traditional phone service costing about $30 per month, I would have paid over $360+fees+taxes per year. However, I have only paid 80 cents per month for my optional e911 from, plus the initial cost of hardware.

How i did it:

I purchased the OBi200 from Amazon for less than $50.  You may also choose the Obi202, which is 2-port version. You should also purchase the replacement warranty 3rd party service for less than $5.  OBIHai Officially supports Google Voice. Also see the OBIHai+GoogleVoice Overview.

I then acquired a Google Voice phone number and configured my ObiHai to use it.  (Technically, I ported my existing number for a cost, but such is optional.  If you find you cannot port your landline number, you can circumvent the system by porting it to a mobile device SIM, then to Google -- This was a $30 and 5 day process for me -- again this is optional as I preferred to retain my existing number.)

My family has utilized "FREE" VOIP phone service for years now and it is of the same quality as any phone service from a traditional provider.  It works perfectly with my multi-phone cordless base-set much like this one.  Additionally, with Google Voice, I am able to receive voicemail recordings and missed call notifications direct to my Gmail.  I can also block numbers easily via web interface and use other awesome features such as having Calling Circles for filtering calls direct to voicemail.

Most telephony service providers are now only offer VOIP anyway.  With Google and OBiHai you can now remove the middle-man and have the same service without the $20-30 monthly costs associated with it.

Google Voice does NOT provide 911 service; however, provides me with e911 for a mere 80 cents per month.

Please consider using my Amazon affiliate Ad for the OBi200 above and optionally my referral code 7384061.

For a little more detail on the ObiHai device, see this nice article:

As Always, Good Luck!

Please comment or tip me or use any/all of my affiliate links; Thank YOU!
You can thank me with bitcoin.    

Buy OBi200 or OBi202, or research other products.
free phone
free landline
free landline
free voice
free google phone
free google voice
quit ATT
quit AT&T
stop paying

Tuesday, January 23, 2018

Open DNG raw files in GIMP

Problem: GIMP (GNU Image Manipulation Program) cannot open my .DNG raw file. (Debian/Ubuntu)

Solution: Install UFRaw: sudo aptitude install gimp gimp-ufraw

Written with StackEdit.

Friday, January 19, 2018

YouTube hates YOU

wrinkled YT icon
YouTube HATES small channels | YouTube hates YOU

Where is the “YOU” in YouTube now? CorporateTube?

April 6, 2017: YouTube demonetized all channels with fewer than ten thousand views. The 10K threshold must be achieved before your channel is reviewed for re-monetization. Small "tubers" spend the next 9 months diligently trying too increase traffic.

January 16, 2018: Forget all your hard efforts!  New thresholds: Get reviewed after reaching 4,000 watch hours in the previous 12 months and 1,000 subscribers.

Small-Timers, YouTube does not want to monetize you, so hit them back by disabling Ads in your demonetized account:

TURN OFF “Allow advertisements to be displayed alongside my videos”

Sign this Petition to Not Demonetize:

More Extreme, Fire Susan Whatshername (Did not participate):
Written with StackEdit.

fuck youtube , youtube hates me

The Best Add-On for YouTube


Enhancer for YouTube is one of the best add-ons ever.

Do you want to watch podcasts at 1.3x speed? Or long-ass drone videos at 10x speed?

Want to control volume (and/or speed) with the mouse wheel?

Want to demonetize everyone with an AdBlocker?

Want cinema mode?

I could not live without :