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,862 other subscribers

#220 feature `SKIP_FIRMWARE` by jpluimers · Pull Request #221 · Hexxeh/rpi-update

Posted by jpluimers on 2016/12/13

Reminder to self: Fix #220 feature SKIP_FIRMWARE by jpluimers · Pull Request #221 · Hexxeh/rpi-update

It’s bash. How hard can it be.

(no that was a rhetorical question).

–jeroen

Posted in *nix, *nix-tools, Debian, Development, Hardware Development, Linux, openSuSE, Power User, Raspberry Pi, Raspbian, SuSE Linux, Tumbleweed | Leave a Comment »

Spring4D, Extended floating point values and Mac OS X: the 16-byte stack alignment

Posted by jpluimers on 2016/12/13

Just a few quick notes after solving a stack corruption issue in Spring4D on Mac OS X involving the Extended data type and 16-bit Stack Alignment:

–jeroen

Posted in Algorithms, Delphi, Delphi XE4, Delphi XE5, Development, Floating point handling, Software Development, Spring4D | Leave a Comment »

“the user name or password for imap.gmail is incorrect” – iPad, iPod or iPhone with iOS < 7

Posted by jpluimers on 2016/12/13

If you ever get a “the user name or password for imap.gmail is incorrect” on an iPad, iPod or iPhone with iOS version less than 7, then don’t waste time about entering captchas or fiddling with URLs: it took me 2 hours to find this is caused by GMail enforcing OAuth2 and blocking less secure apps mid 2014 after announcing it in April 2014.

Note that besides iOS < 7, these are also considered unsafe: the Mail-app on Windows Phone-version less than 8.1, some versions of desktop e-mail clients like (tadaaaaa!) Microsoft Outlook and Mozilla Thunderbird.

Almost all searches for the error message lead you into trying to opening Safari on your iOS device visiting http://www.google.com/accounts/DisplayUnlockCaptcha or switching your servers from gmail.com to googlemail.com (or back), but these tricks don’t help.

What does help is (if you really insist on using a less secure app) to enable these less secure apps in your google account: https://www.google.com/settings/security/lesssecureapps. Note this does not work when you have 2-step verification enabled.

I came across this when donating my old iPad 1 devices and the people could not use it for GMail. Since the GMail app in iTunes doesn’t support iOS 5.1.1 any more basically the devices are now glorious photo frames.

–jeroen

Posted in Apple, GMail, Google, GoogleCalendar, iOS, iPad, iPhone, iPod touch, Power User | Leave a Comment »

HDDWatches site. HDD Watch created from a Microdrive HDD. – Kristian Köhntopp – Google+

Posted by jpluimers on 2016/12/12

[WayBackKristian Köhntopp – Google+ – Ist ja bald Weihnachten pointed me to http://www.hddwatches.com/.

If I could wear watches (that’s over since I had RSI in the 1990s), I’d ask one for X-mas.

Which reminds me I still should have a few of these microdrives around.

The manufacturer is based on an Indiegogo project. Here are the links:

–jeroen

Posted in History, LifeHacker, Power User | Leave a Comment »

How to Prevent Windows 10 From Automatically Downloading Updates – metered connections

Posted by jpluimers on 2016/12/12

Prevent Automatic Downloading of Updates on a Specific Connection

When you set a connection as “metered,” Windows 10 won’t automatically download updates on it. Windows 10 will automatically set certain types of connections — cellular data connections, for example — as metered. However, you can set any connection like as a metered connection.

A friend is trying this as he’s on roaming data using a Mobile WiFi hotspot. Lets see if this works…

Source: How to Prevent Windows 10 From Automatically Downloading Updates

–jeroen

Posted in Power User, WiFi, Windows, Windows 10 | Leave a Comment »

Notes and links on proxytunnel, sslh, apache, stunnel, putty, ssh and more

Posted by jpluimers on 2016/12/12

This is based on lots of help from Rui Seabra with a G+ remark I made a while ago: “So what would be a proper way to setup an SSH connection over HTTPS given that the proxy in between is CNTLM providing credentials to an NTLM authenticating proxy that does HTTPS man-in-the-moddle? Clients are Linux or Windows with admin access. On the outside Linux with admin access as well.
This is also becoming more and more relevant with “free” WiFi providers only allowing HTTP/HTTPS and playing HTTPS Man-in-the-Middle.”

So the situation is something like this:

  • client ssh client
  • stunnel client
  • man-in-the-middle HTTP/HTTPS proxy only allowing outgoing traffic on ports 80/443
  • server: sslh
    • server apache daemon
    • stunnel daemon
    • server ssh daemon

Some links:

–jeroen

Posted in Cntlm, Power User, Windows, Windows-Http-Proxy | Leave a Comment »

I can’t think of a better bunch of people to teach this course…

Posted by jpluimers on 2016/12/09

I can’t think of a better bunch of people to teach this course. Understanding the economics of security, especially from the bad guys perspective is a really valuable tool even if you are totally focussed on code.

https://www.edx.org/course/cyber-security-economics-delftx-secon101x

I’m going to try to make room in my agenda to follow this course.

–jeroen

via: [WayBack] Alan Cox – Google+

Posted in Power User, Security | Leave a Comment »

Cleaning up C drive space temporary internet files after upgrading to IE10 or IE11 – via AsiaTech Microsoft APGC Internet Developer Support Team

Posted by jpluimers on 2016/12/09

You’d think Temporary Internet Files from Internet Explorer will be in that directory, right?

After upgrading to Internet Explorer 10 or 11 that is not true any more.

I got the below batch file to cleanup the WebCache directory via C drive space is using up on terminal server after upgrading to IE10 or IE11 – AsiaTech: Microsoft APGC Internet Developer Support Team


echo OFF
net stop COMSysApp
taskkill /F /IM dllhost.exe
taskkill /F /IM taskhost.exe
taskkill /F /IM taskhostex.exe
del /Q %LocalAppData%\Microsoft\Windows\WebCache\*.*
net start COMSysApp
echo ON

–jeroen

Posted in Internet Explorer, Power User, Web Browsers, Windows | 1 Comment »

You cannot create an iTunes Store, App Store, or iBooks Store account without a credit card. You  – Apple Support

Posted by jpluimers on 2016/12/09

So I gave my mom an iPad. But she doesn’t have a credit card. As having one is not usual for Dutch people, especially for elderly Dutch people. Why would you need one if you can pay anything you require online with your Bank Card?

Well: from an iPad, you cannot sign in to iTunes without first adding a credit card. There is no other way. No bank account (which is very common in Europe). No iTunes voucher. No nothing. This is what you have to do:

If you’ve already created your Apple ID, you’ll need to add a payment method when you first use it to sign in to the iTunes Store, App Store, or iBooks Store. But you can optionally remove the payment method after you sign in to the store. You won’t be asked for a payment method again until you make your first purchase.

I haven’t even checked iTunes for on her PC, as iTunes is so utterly user unfriendly (for instance you cannot drag-drop music to your iPad from a folder. You need iTunes and I’d need to explain here about all sorts of clouds other than where rain comes from) that I won’t even try to teach her how to use it.

What I finally did is add my own credit card (apparently they don’t do name or address checks), then remove it.

–jeroen

Source: Create an iTunes Store, App Store, or iBooks Store account without a credit card or other payment method – Apple Support

Posted in Apple, iOS, iPad, iTunes, Mac OS X / OS X / MacOS, Power User | Leave a Comment »

ARM-Based Windows 10 Portable PCs!? Hell Yes! – Thurrott.com

Posted by jpluimers on 2016/12/08

Windows 10 on ARM will supply a long-rumored feature: The ability to run 32-bit Win32/x86 desktop applications—Apple iTunes, Adobe Photoshop, Google Chrome, whatever—directly on the system, unchanged.

Wow, just wow.

[WayBackARM-Based Windows 10 Portable PCs!? Hell Yes! – Thurrott.com

Via:

Posted in ARM, Assembly Language, Development, Power User, Windows, Windows 10 | Leave a Comment »