Register custom DVC plugin to FreeRDP client - rdp

I want to port a DVC (dynamic virtual channel) plugin from standard Microsoft RDP to FreeRDP for multiplatform use. But I have run into a brick wall regarding connecting the plugin into the FreeRDP client. While for Microsoft RDP on Windows you use Windows Registry for this, the documentation is quite lacking regarding usage of custom DVC on FreeRDP. Command-line interface has /dvc and /a for connecting plugins, and there's a drdynvc plugin which could possibly be used for this, but I am having a hard time reverse-engineering the code to learn how to use it (again, documentation is lacking info on drdynvc).
I would appreciate any information on this issue.

For any future FreeRDP DVC enthusiasts:
To attach a plugin, you have to use /dvc:<name> cli option, with the name of the plugin, and move the desired plugin lib to folders:
On Windows 7+ it looks in a static path C:\Program Files (x86)\FreeRDP\lib\freerdp2\<name>-client.dll
On MacOS: <FreeRDP install path>/lib/freerdp2/lib<name>-client.dylib
if it's build from source then /usr/local/lib/freerdp2/lib<name>-client.dylib
If unsure, you can check the cmake-generated file build-config.h in \include\freerdp\.

Related

Jaeger standalone without docker

Cannot find any information if Jaeger can be executed without docker?
Does a standalone jar exist, or will there be a release in the future for Jaeger like Zipkin has ?
The Downloads page (https://www.jaegertracing.io/download/) lists both the Docker images and the raw binaries built for various platforms (Linux, macOS, windows). You can also build binaries from source.
Just to add to Yuris answer, you can also download the source from github - Github - Jaeger This is useful for diagnosing issues, or just getting a better understanding of how it all works.
I have run both the released apps and custom versions on both windows and linux servers without issues. For windows I would recommend running as a service using Nssm. Nssm details

Can I internalize VSCode Extentions for my company

Sadly we dont have direct access to the internet in my company. We can handle automatically downloading and packaging VSCode itself using our internal chocolatey but but providing extentions is still a big problem. Partly because they install into the user directory.
Is there a way I can either:
a) Internalize vscode extentions, like a setting that points to an internal nuget server (much like the full visual studio gallery)
b) Place extentions on a pc in some system level location. Eg C:\ProgramData\VSCode\Extentions and then we can install extentions for all users on a given computer using chocolatey.
Private extension galleries are not supported as of VSCode 1.13 but we are tracking the feature request here: https://github.com/Microsoft/vscode/issues/21839
You can manually install and share extensions as vsix files though. See https://code.visualstudio.com/docs/editor/extension-gallery#_common-questions for details

automate setup of IBM RAD and Websphere

In a project we a forced to use IBM RAD and Webspher Application Server (6.1).
Setting up the development environment is currently described in about 10 pages of wiki documentation and takes about a day if you don't do any mistake. The main parts are:
Installing the IBM Installer;
Use it to install RAD
Install a patch to the Installer;
use it to install half a dozen patches to RAD
create a network drive pointing to ...
checkout project source to ...
install WAS
configure the a WAS instance with two jdbc drivers, 6 datasources, a queue ...
I think you get the idea
I'd like to automate that process (or at lest 95% of it) to something like.
start script x.
On prompt enter a directory with at least yGB of memory available.
Get yourself a cup of coffee
start working.
What are the proper tools to get this working? Should I use something like puppet and chef? Or is that overkill and I can just zip the installation directory and change 2 registry entries?
Has anybody experience with this? Any pointers to get started?
You can script the configuration of WAS using wsadmin:
http://pic.dhe.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=%2Fcom.ibm.websphere.base.doc%2Finfo%2Faes%2Fae%2Fwelc6topscripting.html
It is some effort to learn how to do so but in the end it saves a lot of time. You need to use Jython or Jacl to do so.
WAS profiles can be created headless with a response file. Use manageprofiles.bat in bin directory of WAS to do so.
Regarding RAD installation you can install the IBM Installation Manager version you need to install the patches right away and then install everything in one shot. Add the fixes you need as Repositiories right from the beginning. The fixes will be installed instead of the old versions in this case. You should have the base images and all fixes on the local disk to do so.
The installation of RAD itself can also run in headless mode but I don't have any experience in doing this.
The configuration of the RAD workspace is the next thing you want to automate. This is not so simple to do. The simplest thing you can do is to export the workspace preferences of a workspace that contains all settings to an eclipse preference file (.epf). File -> Export
This is not a complete solution but may help you a bit. Be sure to keep all settings in just one file and import that into a fresh workspace.
Use Notepad++ TextFX plugin to sort the settings in the epf file. You can then figure out which settings you need just by looking at them.
More control over the workspace settings and automated conifiguration requires accessing eclipse internal APIs and some coding.
Regarding the the project sources it depends on the SCM you are using.

Is it possible to edit an IntellijIDEA project remotely via a web browser?

I am looking for something similar to RStudio-server (r-studio), but for programming in Java/Scala.
RStudio-server accessed via web is the same as the desktop version.
May be there are other equivalent solutions, given that my problem is scarce local resources to run my programs, but plenty of resources in a remote computer.
The more seamless, the better.
It would be also good if I could just run my program remotely seamlessly (outputing like if it was local and inside the IDE).
I recently starting using Chromoting to remote into a different machine that has IntelliJ. It's convenient in that it's built into chrome and I can pretty much do this anywhere because everyone has Chrome these days. It's a very good remoting tool but it still is remoting, it has its delays and minor problems (some keyboard shortcuts don't get sent through and those options haven't been added yet).
Just an idea for something to try.
It is not seamless, but I just managed to solve the problem using the right workflow:
In the local machine:
edit files in IDEA
[optional] set the output path, if any, to your favorite file hosting service (dropbox in my case)
commit with your favorite VCS (bzr in my case, it can need a push to the remote machine)
In the remote machine:
update with your favorite VCS
compile and run with your favorite build tool (sbt in my case):
sbt 'run-main experiments.AtomicBombMain'
[optional] In the local machine again:
[optional] get the generated files at the output path at the shared folder of your favorite file hosting service
Link with more details about the entire process since instalation until compiling:
sbt-intellij-idea-scala-debian-wheezy-how-to

creating an OpenCascade Module for SALOME in the Windows Development Environment

I read a tutorial on how to do that in LINUX, but it looks like this cant be ported to windows so easily. SALOME gives us a development environment for windows and claims its crossplattform:
http://www.salome-platform.org/downloads/current-version
But the documentation does not specify the module creation process in windows (the documentation is only downloadable so i cant link it). To follow the LINUX tutorial, one has to find and edit several files that are missing in the windows distribution. Mainly these are files that are used in the make process of the linux salome module creation.
I hope anyone has some experience in this field.
SALOME doesn't support Windows currently, as the 3rd parties dependencies.
http://www.salome-platform.org/forum/forum_9/975821878