Posted by jpluimers on 2015/06/11
In case I get something similar to this again:
Mar 11 12:54:06 filesrepo sshd[22021]: Accepted publickey for SOMEUSER from xxx.xxx.xxx.xxx port xxxxx ssh2: RSA xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
Mar 11 12:54:06 filesrepo kernel: type=1006 audit(1394542446.943:117): pid=22021 uid=0 old auid=4294967295 new auid=1019 old ses=4294967295 new ses=116 res=1
Mar 11 12:54:06 filesrepo sshd[22021]: pam_unix(sshd:session): session opened for user SOMEUSER by (uid=0)
Mar 11 12:54:06 filesrepo dbus[421]: [system] Activating systemd to hand-off: service name='org.freedesktop.login1' unit='dbus-org.freedesktop.login1.service'
Mar 11 12:54:31 filesrepo sshd[22021]: pam_systemd(sshd:session): Failed to create session: Connection timed out
Mar 11 12:54:31 filesrepo dbus[421]: [system] Failed to activate service 'org.freedesktop.login1': timed out
Mar 11 12:54:31 filesrepo dbus[421]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Mar 11 12:54:32 filesrepo svnserve[22061]: DIGEST-MD5 common mech free
Mar 11 12:54:32 filesrepo sshd[22021]: pam_unix(sshd:session): session closed for user SOMEUSER
I have been noticing this for last few days but I thought systemd update should solve this (bug report was raised against systemd)
I updated system today (I have not given it a reboot yet) and I still see those logs.
Rebooting fixed this issue.
But I’m not sure about the cause.
–jeroen
via: [closed] pam_unix(sshd:session) timeouts / Networking, Server, and Protection / Arch Linux Forums.
Posted in *nix, Linux, openSuSE, Power User, SuSE Linux | Leave a Comment »
Posted by jpluimers on 2015/06/11
I wish I had known this years ago. Thanks This is why I code!
This is why I Code Shared publicly: #Git A flowchart to help you with your git decisions http://justinhileman.info/article/git-pretty.
This is the blog post; the chard is below.
Git pretty
This chart is from the presentation Changing History, or How to Git Pretty. Check it out to learn how to use this IRL.
Here’s a printable PDF version, if you’re into that sort of thing.
interactive git chart
If you like a more interactive way of decision making, this one is more elaborate: On undoing, fixing, or removing commits in git.
Note that on Windows, git does not like this:
git reset HEAD^
But does like this equivalent:
git reset HEAD~1
–jeroen
via A flowchart to help you with your git….

Posted in Development, DVCS - Distributed Version Control, git, Source Code Management | Leave a Comment »
Posted by jpluimers on 2015/06/10
After reading Converting Hg repositories to Git directed me into reading Bitbucket: Converting Hg repositories to Git I hoped moving my Mercurial repository on BitBucket to a Git repository would be something like following the steps.
It wasn’t.
First of all, hg-git on a Windows system requires Python or TortoiseHg. Neither of these I wanted to install for a one-off conversion.
So I took a throw-away Linux VM, and did the steps below. But let me first explain why.
Motivation
My motivation for moving away from BitBucket to GitHub, especially for projects containing markdown documentation.
When writing documentation in Markdown, being able to in-line reference pictures or have relative-references to other documents. This works perfectly in local Markdown tools (like MarkdownPad 2 or LightPaper).
Read the rest of this entry »
Posted in *nix, *nix-tools, BitBucket, Development, DVCS - Distributed Version Control, git, GitHub, Linux, Mercurial/Hg, openSuSE, Power User, Source Code Management, SuSE Linux | Leave a Comment »
Posted by jpluimers on 2015/06/09
Now that github stopped showing my README.rst as reStructuredText here is the htmlpreview link of the pandoc rendered reStructuredText:
revue: getting Tumbleweed on it.
It is about installing and configuring Tumbleweed which is a tad bit more frustrating than I hoped for.
In practice unixoids aren’t as heavenly as many geeks pretend them to be.
I got the htmlpreview solution via css – How to see an html page on github as a normal rendered html page to see preview in browser, without downloading? – Stack Overflow.
I might try the github pages in the future.
Sourcecode of htmlpreview is at htmlpreview/htmlpreview.github.com.
–jeroen
via:
Posted in *nix, Development, DVCS - Distributed Version Control, git, GitHub, Linux, openSuSE, Power User, Software Development, Source Code Management, SuSE Linux | Leave a Comment »
Posted by jpluimers on 2015/06/08
When using Windows VMs on my MacBook Retina, often they’d start using excessive CPU after I switched back to my OS X screen.
This is very distracting, for instance during presentations, as it also starts humming the fans at close to 100 Hz (for non techies: nearly 6000 rpm).
When switching back to the VM, and going to Task Manager soon enough, I observed a MsMpEng+high+cpu+usage.
Since I knew this was caused by Windows Defender, I first tried to “Excluded files and locations” MsMpEng.exe, but that did not help.
My second thought was that it was caused by idle behaviour. Disabling that was indeed the cause. Since doing that was kind of hard to circumvent, here is how:
Read the rest of this entry »
Posted in Microsoft Security Essentials, Power User, Uncategorized, Windows, Windows 8, Windows 8.1, Windows Defender | Leave a Comment »
Posted by jpluimers on 2015/06/06
Note you need to scroll quite a bit down in chrome://settings/content to enable this. In the man time, nothing beats The Great Suspender: a plugin that just suspends inactive tabs to they do not use any CPU or memory at all.
Chrome will pause plugin content (e.g. Flash animations) to improve battery life: http://bit.ly/1dQj2o9 – give it a try!
“This feature will be enabled by default on Chrome’s latest desktop Beta channel release starting today, and will be rolling out soon to everyone else on Chrome desktop. If you need to manually enable it, just head to Chrome’s content settings and select ‘Detect and run important plugin content’.”
–jeroen
via: Chrome will pause plugin content (e.g. Flash animations) to improve battery….
Posted in Chrome, Google, Power User | Leave a Comment »
Posted by jpluimers on 2015/06/05
The Automatic Repair Wizard is very limited and – worse – sometimes plain wrong.
So, this important tip from Tim Anderson can be a real life saver:
if this happens to you, I recommend looking at the logs. It is the only way to get real information about what it going wrong. In some cases you may need to boot into the recovery console from installation media, but if your hard drive is working at all, it should be possible to view those files.
I had the same happening with Windows 81., and I asseume other Windows versions react the same way.
–jeroen
via: When Windows 8 will not boot: the Automatic Repair disaster | Gadget Writing.
Posted in Power User, Windows, Windows 8, Windows 8.1 | Leave a Comment »
Posted by jpluimers on 2015/06/04
Interesting book:
Quote:
This is a comprehensive tutorial on thread programming, containing over 50 example pieces of source code.
Improvements to Version 1.1 include:
Read the rest of this entry »
Posted in Delphi, Delphi 5, Delphi 6, Delphi 7, Development, Software Development | 2 Comments »