View gist:5df678b164ef4e1ba177a56d8a37715a
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install all the cross-compilers that come up from "fakeroot debian/rules editconfigs" | |
get the architecture name that debian uses (i686 -> i386, aarch-64 -> arm64) - for reference / guesswork look into linux-hwe_5.3.0-42.34~18.04.1.dsc | |
use "fakeroot dpkg-buildpackage -ai386 -d [-nc] --no-sign" | |
There can be errors in the module list. Add missing modules in the <debian>/<arch>/.ignore list. For retry, use -nc to avoid a cleanup. There needs to be some manual intervention if a scratch directory is not empty. |
View gist:0f8586f9dff6b00820e028a10d75cba5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for k in $(ls); do cd $k && for i in $( ls | grep [A-Z] ); do git mv -f $i `echo $i | tr 'A-Z' 'a-z'`; done && cd ..;done |
View ioSafeN2_to_DS218P.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
View fsnotifier-linux-aarch64.gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
View gist:a1fdf55c80a1cfc882af31c978507fa6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |