December 21, 2017

Configure directory for incoming files does not exist






Configure directory for incoming files does not exist ... blueman-services

problem:
Cannot due grayed out.  Rage.

solution:
gsettings set org.blueman.transfer shared-path '/home/USERNAME/Downloads/'


  

December 20, 2017

The host returns esxupdate error code:99





ESXi 6.x + Dell

The host returns esxupdate error code:99. An unhandled exception was encountered. Check the Update Manager log files and esxupdate log files for more details.


TL;DR

    ssh root@host
        esxcli software vib remove --vibname=OpenManage


Long version here: https://lonesysadmin.net/2016/05/27/esxupdate-error-code-99/
Thank you Bob


~~~

  

December 15, 2017

dd clone then resize





When you dd clone a partition to a larger disk...

for example
     sudo dd if=/dev/sdb1 of=/dev/sdc1 bs=1M conv=noerror status=progress
then it will unlikely show the correct size after mounted.

Fix it with
     sudo resize2fs /dev/sdc1


ATTENTION NOOBS:
DO NOT ARBITRARILY TYPE IN THE ABOVE COMMANDS, Be sure to use the verified correct devices or potentially suffer from total data loss.

(If you already swapped disks, then for example it might be /dev/sdb1 again)


  

December 12, 2017

Fight for Net Neutrality | Fight for the Future



The FCC is attempting end net neutrality, breaking the fundamental principle of the open Internet on Dec 14th 2017. Please help to retain current laws and fight FCC Chairman Ajit Pai's creatively mis-represented "Restoring Internet Freedom Order" draft.

 https://www.battleforthenet.com/  -OR-  https://act.eff.org/action/protect-the-open-internet-order


What is "Net Neutrality?"

Network neutrality means your ISP routes data packets without prejudice.

So why is this important?  While current regulations requiring network neutrality might superficially look like restrictions placed upon it, they're actually there to protect the relatively free market that exists on the net.

Without our current Net Neutrality laws, ISPs could easily leverage their state-guaranteed market position to "regulate" the Internet by proxy. They could pick winners in the market for Internet products and services, demand special fees from large ones, and block products and services arbitrarily.

Please contact your representatives to ensure this does not happen.

https://act.eff.org/action/protect-the-open-internet-order  -OR-  https://www.battleforthenet.com/


The Electronic Frontier Foundation  is the leading nonprofit organization defending civil liberties in the digital world

Battle for the Net is a project of:
Fight for the Future
Free Press Action Fund

* Thanks to ZeroTier-One for quotes above.

**********************************************************************
THE FCC HAS REPEALED NET NEUTRALITY
**********************************************************************
SUITS ANNOUNCED

~~~

December 08, 2017

CLI Shell Console SublimeText Alternative

icon

I love SublimeText! With features like Ctrl-D, Multi-Cursor, and RegEx-Search&Replace, it’s just the best editor ever. Add tools from PackageControl.io and it’s unbeatable. Yes, Atom is probably on-par (plus it’s free), but I’ve already acclimated to ST and that’s just how it is.

But sometimes i just prefer/need to edit in the shell. Almost always, i use nano; However, when you suddenly need something more powerful, it’s back to SublimeText.

I had known about slap-edit, but it’s just too slow, especially through ssh tunnels.

Enter Suplemon! Wow, it’s a great CLI editor to supplement your workflow. If you already have python and pip, then just sudo pip3 install suplemon - -That’s it. Launch suplemon and check it out.

demo

Yes, I know everyone will say “Vim”, but i don’t have time be that good.

~~~

Written with StackEdit.

December 05, 2017

LastPass Firefox Extension Repeatedly Asking for Two-Factor Authentication at Every Login

With the recent Firefox 57 release, I had experienced an annoying requirement with my LastPass add-on that required me to two-factor authenticate (2FA) each and every time I restarted Firefox.

At first, I saved a little effort by installing the Two-Factor Authenticator add-on so as to not require pulling my phone out constantly.
https://addons.mozilla.org/en-US/firefox/addon/two-factor-authenticator/

But really, i wanted this solved.

LastPass.com support suggested I purge my ~/.lastpass folder. I did so, but without resolve.

Other sources recommended purging two lastpass folders contained in the user profile:
~/.mozilla/firefox/YOURPROFILE/storage/permanent/indexeddb+++support-at-lastpass-dot-com/ , and
~/.mozilla/firefox/YOURPROFILE/jetpack/support@lastpass.com/
So i did; also without resolve.

More sources reported what I already suspected: The cookies that lastpass uses should not be deleted. So I made sure to whitelist lastpass.com and *.lastpass.com in my cookies cleaner.   In addition to Privacy > History > Keep Until they Expire.

This didn’t work immediately, so I dug into my FireFox preferences and found that un-checking “Offline WebSite Data” seemed to resolve my issue.  I had already unchecked "Cookies" and used "Cookies Auto delete" add-on to control cookies.
https://addons.mozilla.org/en-US/firefox/addon/cookie-autodelete/?src=userprofile

So in hindsight, I believe the combination of saving the lastpass.com cookies and Edit(Tools) > Preferences(Options) > Privacy > History > Settings >
 [UN-CHECK] Offline Website data
 [UN-CHECK] Cookies
is the final solution.

Note: Upon removal/re-installation or auto-update of the add-on, you will likely be required to 2FA again. But otherwise, the 30-day 2FA memory should be retained with the above solution.

Good Luck!
~~~
  

Setting Email Links to Open Gmail in Firefox

gmail icon

Associate email links in Firefox 57 to GMail or Yahoo Webmail (WebUI):

(In Linux):
Firefox > Edit > Preferences > General > Applications Section > mailto >
- Use GMail.
- Use Yahoo! Mail
- Use Other…





~~~