I am now attempting to follow Microsoft Tech Support’s recommendation:
- Install a Registry entry. Instructions here.
- Open command prompt and type the following commands:
- Enter credentials and try to sync files again
The Registry Entry part has me download a
.reg file containing the following lines:
Windows Registry Editor Version 5.00
The file downloaded with a
.txt filename extension and so I had to first change this to
.reg. Then, I double clicked the file and OK’d through the dialog boxes. When completed, I got a confirmation message saying that the registry entry was added successfully.
Executing the commands at the command prompt shutdown and restarted the OneDrive client. I have two OneDrive for Business drives sync’d to my desktop — both were shut down by the first command and both were started by the second command.
Upon starting, the OneDrive clients appear to be checking each file for changes.
Next, I logged into portal.office.com via both Internet Explorer and Firefox. I then opened OneDrive and went into my SharePoint library. I first tried clicking the “Sync” link in Internet Explorer, which did not work. I next tried the same in Firefox, and got the following popup:
“Microsoft OneDrive” is the option that worked — “OneDrive.exe” just opened up my existing synced OneDrive on my hard drive.
And now, all is well and the SharePoint library has synced to my local hard drive!
Was having a problem with Atom editor on a new Ubuntu/Xubuntu 16.04 virtual machine. Launching Atom using the
--disable-gpu option seems to fix the problem:
$ atom --disable-gpu
Next, need to figure out how to modify the application launch item in the Whisker Menu so that it executes that command instead of the vanilla
$ atom command.
I am a bit of a
git noob so I had to poke around a bit to figure out how to fix my
user.email setting. Here are some snippets of useful
git config commands and options to illustrate behavior.
git repo in dummy directory:
$ git init
Initialized empty Git repository in /home/mrmagoo/foogit/.git/
List all config items. These were created automatically when we executed the
git init command because at some point in the past I had set them using
git config --global --add:
$ git config -l
user.email global setting:
$ git config --global --unset user.email
$ git config -l
user.email global setting but give it a different value this time:
$ git config --global --add user.email firstname.lastname@example.org
$ git config -l
Add a local
$ git config --add user.email email@example.com
$ git config -l
Hat tip My Web Experiences blog.
This is pretty neat. If you have two (or perhaps more) .m4v files that you want to concatenate, there is an open source package called
gpac available for Ubuntu and Debian. Debian packages are available at the project website, and the source code is on a github repo.
The package is also available via the Ubuntu
apt package manager. As of 2016 Dec 18, the latest release available via
apt is 0.5.2, which is a bit behind the latest project release, 0.6.1.
While the package is called
gpac, the command provided by the package used to concatenate M4V files is called
MP4Box, and the syntax is:
$ MP4Box -cat video1.m4v -cat video2.m4v -new combinedvideo.m4v
This took maybe 5 minutes to combine two approx. 1 GB files on my Intel i5 from 2008.
When you are on the Linux command line and you want to view the contents of a file, you can use the
less is a newer pager program that replaces the older pager program,
more. Hence the joke:
less is new and improved, so in almost all cases it will be preferred over
more (maybe there will sometimes be compatibility issues with very old programs, or shell scripts, in which case
more will be used).
Continue reading “Linux pagers: less is more”
Note: I’m writing from a Python 3.5 perspective.
There are a few different options for doing cryptographic stuff with Python. I have landed on the
cryptography module which has been working out pretty well for me so far. Here is a short account of how I ended up there…
Continue reading “Python Cryptography Module”
DVDs did not play out of the box on my Ubuntu Desktop 16.04 LTS machine. I was able to fix this by doing the following.
First, entered the command:
$ sudo apt install libdvd-pkg
After the package and dependencies finished downloading and installing, it launched a short guided prompt sequence. I answered yes to all prompts — the only one really worth paying attention to was a choice to have the thing automatically update itself. It sounded like it has to build itself from source every time or something, so I guess it is a little non-standard in this regard. The prompts then told me to run the following command, which I did:
$ sudo dpkg-reconfigure libdvd-pkg
This popped up another little pseudo-graphical terminal prompt screen which, if I recall correctly, just asked me if I wanted to install the thing, which I answered in the affirmative.
After I completed these steps, all was well and I can now play the two DVDs I have tested without any problems.
I discovered this fix via a page on the Ubuntu wiki, RestrictedFormats/PlayingDVDs. According to the wiki, the actual software package that does the work is called
libdvdcss2, and the
libdvd-pkg package is a convenience package that makes the install easier.
I’ve encountered a weird little use case for non-breaking hyphens in Microsoft Word, and I have found the way to do it at this blog entry at Allen Wyatt’s Word Tips: Ctrl+Shift+- (or Ctrl+_).
The non-breaking hyphen is used to keep a hyphenated phrase together across a line break. So, for example, the phrase “non-breaking” when occurring at the end of a line would not do this:
Yesterday I posted a note about manually installing the Atom editor on Ubuntu 16.04 using
dpkg. A friend recommended that I try out Visual Studio Code for Python development, and I was pleased to discover that it is available in a
.deb package for install on Linux. I used the same command to install the VS Code
foo@manchoo:~/Downloads$ sudo dpkg -i code_1.4.0-1470329130_amd64.deb
[sudo] password for foo:
Selecting previously unselected package code.
(Reading database ... 303742 files and directories currently installed.)
Preparing to unpack code_1.4.0-1470329130_amd64.deb ...
Unpacking code (1.4.0-1470329130) ...
Setting up code (1.4.0-1470329130) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) ...
Processing triggers for mime-support (3.59ubuntu1) ...