The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,470 other followers

Archive for December 21st, 2018

linux – Keeping the fancy sudo warning forever – Super User

Posted by jpluimers on 2018/12/21

Be careful what you do: blindly following Super User can make sudo unavailable: [WayBacklinux – Keeping the fancy sudo warning forever – Super User.

Following the answer archived in the WayBack machine gets you into this situation:

sudo -i
>>> /etc/sudoers.d/privacy: syntax error near line 1 <<<
sudo: parse error in /etc/sudoers.d/privacy near line 1
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin

The cause:

I forgot to put a line terminator at the end of the line in the privacy file.

If you do that, then it works fine: add this line INCLUDING A LINE TERMINATOR to /etc/sudoers.d/privacy (any file in that directory will do):

Default lecture=always

Related

–jeroen

Posted in *nix, *nix-tools, Power User | Leave a Comment »

URL query string for searching own GitHub Gists (via: Stack Overflow)

Posted by jpluimers on 2018/12/21

Is there a URL query string for searching own GitHub Gists? – Stack Overflow.

Yes, there is, and search terms search within your gists too:

More search parameters are at https://github.com/random-parts/til/blob/master/github/gist-search-cheatsheet.md

–jeroen

via: https://github.com/isaacs/github/issues/1097

Posted in Development, DVCS - Distributed Version Control, gist, git, GitHub, Power User, Source Code Management | Leave a Comment »

How to Force Google Chrome to Use Google.com Instead of Country Specific Version

Posted by jpluimers on 2018/12/21

Steps:

  1. visit this URL once: https://google.com/ncr (to fix google.com as search engine)
  2. define a Google.com search shortcut in chrome://settings/searchEngines

You can use example search shortcuts from Forcing Chrome to use google.com as search engine.

If you forget the first step, then often your search still will go a localised place (except when you are in the USA).

–jeroen

Posted in Google, GoogleSearch, Power User | Leave a Comment »

Google Now launcher replacement?

Posted by jpluimers on 2018/12/21

I missed this earlier this year, but while switching phones found out: Google Now is not available for most devices any more.

So I’ am looking for a replacement that has:

  • 5×5 application/group icons on each home screen page
  • 4 application/group icons on the bottom static row
  • support for Google Search
  • support for Google Assistant voice control

This I totally missed:

–jeroen

Read the rest of this entry »

Posted in Android Devices, LifeHacker, Power User | Leave a Comment »

 
%d bloggers like this: