Tuesday, April 10, 2018

Microsoft Visio 2007/2013 Startup Delay

If your Visio takes an annoyingly long time to start up every time, popping up with Windows "Please wait while Windows configures..." dialog, follow these simple steps:

  • Start -> Run (or Windows key + R): type regedit, click OK
  • Delete following registry key: HKEY_CURRENT_USER\Software\Classes\.vsd

Visio should start without delay post change.  Thanks to user Michal0007 over at Technet.

Thursday, December 14, 2017

Allow http through firewall on CentOS 7

$ firewall-cmd --permanent --zone=public --add-service=http
$ firewall-cmd --reload

Missing ifconfig on recent Fedora-based distributions (RHEL, CentOS, Scientific Linux)

In the absence of ifconfig, use the following to reveal your IP address:
$ ip addr

Thursday, December 07, 2017

RHEL yum update

If you know your way around CentOS or Fedora and find yourself in front of a new RHEL system, you might find you're unable to run yum update or yum install due to subscription errors.

You need a redhat.com account for this to work, simply issue:
$ sudo subscription-manager register
Follow the prompts and then:
$ sudo subscription-manager attach

You'll then be able to yum update to your heart's content.

Thursday, November 02, 2017

youtube-dl - 'list' is not recognized as an internal or external command, operable program or batch file.

Struggled for a while with youtube-dl trying to retrieve a playlist and converting to mp3 with this pilfered syntax:

youtube-dl -i --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" youtubeurlhere

Kept getting pesky error in the subject - just put the URL in double quotes ("youtubeurlhere").


-i parameter allows retrieval of media to continue in the event of error ("not allowed in your country", etc).

Copying ffmpeg bin's and youtube-dl.exe to %Windows%\System32 as well as the working folder seemed to help.

Source

Friday, October 27, 2017

Ubuntu Grant Sudo Access

I created a new Ubuntu user for a colleague using command "adduser username", but noted that the new user doesn't get sudo permissions by default (sensibly enough).  Easily rectified:

$ sudo usermod -a -G sudo username

Obviously in both cases replace "username" with the actual user's login.  The new user needs to log off and back on for the change to take effect (tested to confirm).