Skip to content

Instantly share code, notes, and snippets.

:octocat:
Merge done. Now for the cleanup...

Jens Glathe jglathe

:octocat:
Merge done. Now for the cleanup...
Block or report user

Report or block jglathe

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jglathe
jglathe / ioSafeN2_to_DS218P.txt
Last active Jun 30, 2019
Replace a faulty IOSafe N2 Mainboard (2013) with one from a DS218+
View ioSafeN2_to_DS218P.txt
Well, apparrently this works and can be sort of the cheaper option. The ioSafe N2 has a mainboard from the DS 2xx series. I
bought mine somewhere around the end of 2013, and I got one with a DS213 board in it. It showed flakyness after a few years of
flawless operation. I resoldered the RJ45 socket and USB socket, and I got another 18 months out of it. Now, this fix didn't
work the second time. In search for a replacement board the results turned up pretty thin. I bought a used DS213+ and a shrink
wrapped DS218+ and took the chances in the hope that one of these can be fitted without much changes on the casing.
As it turned out, the backside placement of sockets is identical for DS213+ and DS218+, although my N2 has no eSATA connector.
Doesn't matter, the socket is mounted sunk-in, if you don't have the hole stencilled out it won't be usable, but it is
physically possible to mount this PCB into the N2 case.
All other dimensions appear to fit nicely, the holes match, the microswitches and LEDs are nearly at t
@jglathe
jglathe / fsnotifier-linux-aarch64.gist
Last active Jun 8, 2019
Modify PyCharm-CE to run with native fsnotifier on aarch64 (nVidia Jetson Nano)
View fsnotifier-linux-aarch64.gist
This is my how-to on getting PyCharm-CE or IDEA to run on a Jetson Nano. Tested with PyCharm-CE 2019.1 Build 191.7479
The linux install package runs on a jetson nano, but with some performance impact:
1. There is no native fsnotifier for linux-aarch64 in the package, and it won't be selected by the application if it would
be there.
2. inotify configuration is missing/not sufficient for PyCharm. Install https://gist.github.com/bittner/c7d1d49fe0c9af907f24
To get a native fsnotifier, you need to compile it from source, and you need to convince the application to select and start it.
This is currently implemented in https://github.com/JetBrains/intellij-community/pull/1140. As long as it is not yet integrated
@jglathe
jglathe / gist:a1fdf55c80a1cfc882af31c978507fa6
Last active May 2, 2019
Service Tier Administration Tool NAV2018+ add service port 7049 for service tier
View gist:a1fdf55c80a1cfc882af31c978507fa6
I use Service Tier Administration Tool for managing my service tiers for development. It's a great tool, but currently it is not
fit to handle NAV2018 and above service tiers. After creation with the tool ("create instance") they fail to come up.
To make a newly created service work, you need to add urlacl rights for an additional port (7049) and the user the service is
running on.
Use a cmd session with administrative rights:
netsh http add urlacl url=http://+:7049/P4TA_2018_W1_RTM/ user="NT AUTHORITY\NETWORKSERVICE" listen=yes delegate=no
P4TA_2018_W1_RTM is the service instance name, replace it with yours. Likewise the username, if you don't use the built-in one.
You can’t perform that action at this time.