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

Inline code highlighting in reStructuredText – Stack Overflow

Posted by jpluimers on 2017/08/15

To inline code inside reStructuredText embed it with back-ticks and pre-pend the first back-tick with :code:

This is how some text with :code:`a = b + c` embedded will look like.

This is how some text with a = b + c embedded will look like.

Source: Inline code highlighting in reStructuredText – Stack Overflow [WayBack]

The above is in addition to the a = b + c that renders to default code as described for instance by reST – reStructuredText — Sphinx/Rest Memo v1.0-14-ga2798e1 documentation [WayBack]

–jeroen

Posted in Development, Lightweight markup language, reStructuredText, Software Development | Leave a Comment »

Mikrotik UDP port 5678 usage is for MikroTik Neighbor Discovery Protocol (MNDP)

Posted by jpluimers on 2017/08/14

Just in case you see UDP port 5678 in the firewall log of your MikroTik device: it’s usage of the MikroTik Neighbor Discovery Protocol (MNDP) [WayBack] protocol.

You can either block Neighbour Discovery [WayBack] in the firewall or turn it off on the MikroTik Services [WayBack] or inspect any of these protocols:

Read the rest of this entry »

Posted in Hardware, Internet, MikroTik, Network-and-equipment, Power User, routers, WinBox | Leave a Comment »

Play to Chromecast from VLC 3.0 on Mac OS X (OS X, macOS, or whatever other names apple comes up with)

Posted by jpluimers on 2017/08/14

On my Mac OS X machine, I got this to work with the 20170731 nightly of VLC 3.0.

[WayBackHow to stream from VLC to Your Chromecast (3.0 Updated Version) – VLC Media Player only explains the steps for Windows and Android, probably because they were the first platforms supported by VLC to render on Chromecast: [WayBackHow to Stream Videos from VLC to Chromecast (Including on Windows, Mac & Android) / [WayBackHow to Stream From VLC to Your Chromecast

To make it easier for end-users, on other platforms the menu entries are different.

  • Windows: Menu Video -> Render
  • Mac: Menu Playback -> Renderer (not Render as shown in some posts)
  • Linux: No UI yet.

I found this via [WayBackLatest VLC 3 Nightly Streams to Chromecast Perfectly! : Chromecast and [WayBackHow do I stream to Chromecast using VLC? – Unix & Linux Stack Exchange

On Linux, there is the command-line for now (which works on OS X and Windows as well), or if you insist: use MKChromecast as described in [WayBackHow To Cast Video from Ubuntu to a Chromecast – OMG! Ubuntu!. [WayBack]Mkchromecast This is a program to cast your macOS X, or Linux audio to your Google Cast or Sonos devices with sources at https://github.com/muammar/mkchromecast

On Windows and Mac OS X, after choosing the Render, the steps are the same:

  1. Choose Render discovery on
  2. Choose a Chromecast device
  3. Accept the security certificate for it

Download: [WayBackhttps://nightlies.videolan.org/build/macosx-intel/vlc-3.0.0-20170731-0451/vlc-3.0.0-20170731-0451-git.dmg via [WayBackhttps://nightlies.videolan.org/build/macosx-intel/vlc-3.0.0-20170731-0451/

I didn’t need [WayBack] https://nightlies.videolan.org/build/macosx-intel/vlc-3.0.0-20170731-0451/vlc-contrib-x86_64-apple-darwin15-20170731.tar.bz2 

–jeroen

Posted in Chromecast, Google, Media, Media Streaming, Power User, Video | Leave a Comment »

wget for nirsoft

Posted by jpluimers on 2017/08/11

Since they require a referer:

wget --referer=http://launcher.nirsoft.net/downloads/ -m -np http://download.nirsoft.net/nirsoft_package_1.20.10.zip
wget --referer=http://launcher.nirsoft.net/downloads/ -m -np http://download2.nirsoft.net/nirsoft_package_enc_1.20.10.zip

The latter has password nirsoft9876$

The filenames change over time (the 2016 archive of http://launcher.nirsoft.net/downloads/ shows http://download.nirsoft.net/nirsoft_package_1.20.5.zip and http://download2.nirsoft.net/nirsoft_package_enc_1.20.5.zip

Need to check out if I can automate this, as they seem to keep a SysInternals link http://download.nirsoft.net/sysinternals4.nlp

–jeroen

Posted in NirSoft, Power User, SysInternals, Windows | Leave a Comment »

Pass: The Standard Unix Password Manager

Posted by jpluimers on 2017/08/11

Anyone having experience with “Pass is the standard unix password manager, a lightweight password manager that uses GPG and Git for Linux, BSD, and Mac OS X.”?

Source: Pass: The Standard Unix Password Manager

–jeroen

Posted in Power User | Leave a Comment »

How-To: Automatically change your Mac’s display resolution when running specific apps [Video] – via: 9to5Mac

Posted by jpluimers on 2017/08/11

Yet another reason I love SwitchResX: : How-To: Automatically change your Mac’s display resolution when running specific apps [Video] | 9to5Mac

A few years ago, SwitchResX helped me switch my Mac machine to 1360×768 and 1888×1062 « The Wiert Corner – irregular stream of stuff

–jeroen

Posted in Apple, iMac, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks | Leave a Comment »

Experiments in Uniform Memory Management – grijjy blog

Posted by jpluimers on 2017/08/10

TL;DR of [WayBackExperiments in Uniform Memory Management – grijjy blog:

the closest we can get to uniform memory management is to use object interfaces

The reason is that cross platform memory management in Delphi is a mess.

Via: [WayBackErik van Bilsen – Google+ I share some results of my quest for a uniform memory management model across all platforms. For some reason, it also touches on old-school linked lists and new-school messaging…

–jeroen

 

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

Delphi Error: E1026 File not found: ‘Controls.res’ – Google Search

Posted by jpluimers on 2017/08/10

As since E1026 is [WayBackdocumented as x1026 since Delphi 2007 probably because it can manifest itself as W1026 as well, I thought Delphi Error: E1026 File not found: 'Controls.res' also be related to F1026: When the Delphi XE5 commandline compiler fails with error F1026: File not found: ‘False.dpr’

But it wasn’t.

Then I thought it might have to do with Unit Scope names.

Often an upgrade of a pre-XE2 project where old names of units (like Controls [no WayBack]) were used in stead of Unit Scoped [WayBack] prefixed units (like Vcl.Controls [WayBack]) wrongly makes the Unit Scope Names list in Project > Options > Delphi Compiler empty.

Such an empty list causes the normal mapping of unit name to scoped unit name as described in Unit Names Alphabetical List with Unit Scopes [WayBack] to fail. That results in a F2613 Unit ‘%s’ not found [WayBack] or rarely a F1027 Unit not found ‘%s’ or binary equivalents (%s) (Delphi) [WayBack].

So that wasn’t the cause either.

Read the rest of this entry »

Posted in Delphi, Delphi XE2, Development, Software Development | Leave a Comment »

Using BC4 OSX with Version Control Systems

Posted by jpluimers on 2017/08/10

A great thread about Using BC4 OSX with Version Control Systems, -Tools and IDEs.

Some highlights:

–jeroen

Posted in Beyond Compare, CVS, Development, DVCS - Distributed Version Control, git, Mercurial/Hg, Power User, Software Development, Source Code Management, SourceTree, Subversion/SVN, TFS (Team Foundation System) | Leave a Comment »

Always a good idea to run firewalled

Posted by jpluimers on 2017/08/09

I just tried to quit Delphi when Refactor Rename screwed up again:

jeroen

Posted in Delphi, Delphi XE8, Development, Software Development | Leave a Comment »