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 2,086 other followers

Archive for May 14th, 2020

html frames and iframes from other sites that won’t load: some links

Posted by jpluimers on 2020/05/14

Back in the days, framing stuff from other sites would just work. Nowadays, often they don’t because of a variety of reasons, often the site not wanting to be embedded, which is OK with me.

But it pays knowing what they do and how they do it, to ensure it is not an accidental setting of the address bar URL to the wrong value like in

  if(top != window) {
    top.location = window.location
  }

So here are some links for me to dig deeper when I encounter framing issues again:

My basic idea for a workaround is to go through a proxy.

It looks like others had this idea too, so some links future reading via cors proxy – Google Search:

–jeroen

Read the rest of this entry »

Posted in Development, Software Development, Web Development | Leave a Comment »

Delphi 2007 – move from signature in interface to signature in implementation section

Posted by jpluimers on 2020/05/14

I always thought this was the Ctrl+Shift+Up / Ctrl+Shift+Down in ModelMaker Code Explorer, but it is not: the CnPack navigation is the one that comes most close:

[WayBack] Is there a way in the editor to move from the interface section declaration of a method to its implementation (signature)?… – Bill Meyer – Google+

–jeroen

Posted in Delphi, Development, Software Development | 3 Comments »

appletv – How can I show a read-only version of Google Calendar on Apple TV 4th generation? – Ask Different

Posted by jpluimers on 2020/05/14

Two calendars and three weather frames.Based on [WayBack] appletv – How can I show a read-only version of Google Calendar on Apple TV 4th generation? – Ask Different there is one choice that might work on Apple TV 3rd generation and 4th generation:

This is the only practical solution I dissected from [WayBackHow to surf the web and use Safari on Apple TV – Macworld UK: Here is how to browse the internet and watch web services on your Apple TV.

Installing requires a few steps as described at

Limiting to only Apple TV 4, another solution is also possible:

However the last solution is not a real web browser, so it does not allow a layout I’m using for the calendar, or actually two calendars:

  • weekly calendar on the left so my brother sees his detailed activities for the upcoming days
  • monthly calendar on the top right for an overview of the past and upcoming weeks
  • three weather frames on the bottom right with two weather radars from different sources and a weather overview for the upcoming days

The reason I need this is because my brother is mentally retarded having problems with abstract concepts like relative time and scheduling. Like me he is also easily distracted and not good at repeating tasks. So looking at a schedule at least once a day is tough for him.

He is very good at concrete topics, especially ones he can put to practice right away like “will it rain on my way to work”. That makes him look at this web page in the first place.

Currently this calendar is shown on a monitor by a Raspberry Pi attached to it.

But I might go for the Apple TV 3 route later on.

–jeroen

Posted in Apple, Apple TV, Development, iOS, iOS Development, Mobile Development, Power User | Leave a Comment »

Posted by jpluimers on 2020/05/14

Patch Windows now. Attackers can exploit CVE-2020-1048 with a single PowerShell command:
Add-PrinterPort -Name c:\windows\system32\ualapi.dll

Attackers can exploit CVE-2020-1048 with a single PowerShell command:
Add-PrinterPort -Name c:\windows\system32\ualapi.dll
On an unpatched system, this will install a persistent backdoor, that won’t go away even after you patch.
See https://windows-internals.com/printdemon-cve-2020-1048/ for more details.

Posted in Uncategorized | Leave a Comment »

 
%d bloggers like this: