Launch Beyond Compare(Win) for Mercurial Merge(Linux) using XServer - mercurial

I've beyondcompare licence for my windows machine and I can't use that licence for linux installation. I work on linux server via putty from my windows system.
I could launch linux visual merge tools like meld using X server. But I'm looking for a way to use X server/X11 to launch beyondcompare from my putty session. In short, I want to launch a windows application itself from the linux env over putty.
My last choice would be to pull changes to my windows machine and do a merge on windows; push it back. But it would be nice if I could launch beyondcompare from linux.
Any Ideas?

It isn't possible to launch a diff/merge in the Windows version of Beyond Compare from a Linux system via SSH. There are three possible workarounds:
Upgrade your license to a multi-platform license and use the Linux
version of Beyond Compare.
Run the Windows version of Beyond Compare on your Windows machine and access the files on the Linux machine using the SFTP support built into Beyond Compare Pro.
Install Mercurial on your Windows machine, then check out files and
diff/merge from there. See the Using Beyond Compare With Version
Control Systems article to configure BC as the
diff and merge tool for Mercurial on Windows.

Related

Ejabberd source code Installation in windows 10

I want to know the procedure to install Ejabberd from source code in windows 10. In their documentation, the installation with source code is only given for the Linux based operating system. I am struggling to find any good documentation on the same.
I think the windows installer is, in fact, compiled and packaged in Linux or other operating system. Following this reasoning, there's a way to get your self-compiled ejabberd running in Windows:
Download and install the latest ejabberd binary package in your Windows server. See what Erlang/OTP version and what ejabberd version you have.
Now, go to a development machine where you know ejabberd can be compiled: GNU/Linux, BSD, maybe Mac.
Download the same Erlang/OTP version, and download the source code of the same ejabberd version
Compile ejabberd
Copy the resulting *.beam files from the development machine to the Windows server, overwriting the originally installed ones

Change a Windows Server 2016 Machine From GUI to Core

We have a Windows machine that when remoted into, the only thing that comes up is a command prompt. I'm under the impression that this machine is set to being Windows Core. I'm looking to do this to another one of our machines (Windows Server 2016) but the machine is already setup and running with the desktop GUI. Is it possible to change / retroactively put the machine back to Windows Core?
install(GUI), unistall (core) Roles and Features -> User Interfaces and Infrastructure

Install MySQL Automatically on WIN, Linux, macOS

I want to use MySQL for an electron app in production and thus, if the client machine doesn't has MySQL already installed on it, then the app will not be able to function. So, is there any way to execute a auto-install MySQL script that installs MySQL on the client machine, even if its not already installed.
Since the app has to be cross-platform, so I am looking for a standard or minimum effort procedure (to speed up the process) to achieve the above, during first-time-app-startup on Windows7+, Ubuntu 14+ and macOS.
I found the following ways to auto-install:
Windows : Link
Linux & macOS: Create a bash script that runs before first-time-startup of the app. (Although, it will check whether MySQL instance is already present on the machine or not)
Looking for a better option than the above mentioned ones.
You may wish to consider the BitNami MySQL distribution; I have always used their VMs when I went after their products, but stand-alone installers are offered for most platforms (including Linux).
(Edit: It seems that the installer for MySQL is offered only for Linux x64)

Switching between developer environment Windows/Ubuntu

I have a PC with a dual boot: Win 8.1 and Ubuntu 14.04 and I have some project in PHP & mySql and sometimes I need to develop under ubuntu (but I usually prefer Windows) but I need to share the files and db's between the two os.
In share I mean if I change some php files or rows in the database that must be visible in both OS. Is it possible?
Extra thing: The most beautiful thing would be if I could get the mercurial in this thing.
Liquibase for proper versioning of DB-changes in both OS
Mercurial in both OS
External Mercurial hosting (Bitbucket?) for intermediate repository and backup
Good editor or IDE, in which you can configure EOL-style (in order to have same EOL in Windows and Linux, different by default)
Code in active OS, commit changes to local Mercurial, push to remote.
Before starting work in another OS - pull collected changes from remote

CUDA Debugging - VS on windows workstation, GPUs on Linux server?

Has anyone had any experience debugging CUDA code on a server while coding on a workstation?
My laptop (Thinkpad T400) doesn't support CUDA, but I have access to a server with pair of NVIDIA GTX 295 cards that runs Linux.
Can I use NVidia's Visual Studio tools to debug remotely on the server?
Failing that, I also have an Ubuntu VM running on my laptop. Is there a debugger that I can use under Linux to debug on the server?
I really don't want to have to buy another laptop with dual NVidia cards.
Developing in c on a remote linux machine (like your server) is quite common. You can ssh onto the server from any client (like your laptop) to compile and run the code just as you would if you were sitting at the machine, and you can use gdb to debug your code in a terminal. You can also use ddd as a graphical front end to gdb or a linux IDE such as eclipse by forwarding X11 over ssh.
You can use cuda-gdb to debug your CUDA code in a terminal in exactly the same way. Unfortunately, there is not a visual cuda debugger for linux yet. However, it appears you can use ddd with cuda-gdb [source], as you have two gpus. I'm not sure about using cuda-gdb in eclipse.
Yes you can but you need to buy the Parallel Nsight Studio from Nvidia
After installing on the remote machine the NsightDebugServer you can upload and debug programs from
your cuda-less laptop.
Update
Turns out This solution requires a WINDOWS server in order to run the NsightDebugServer.
To connect to the linux machine from your laptop, use a remote connection.
install putty and a Xserver for windows and just login with
ssh -X username#cudaserver.
The environment would not be fancy as Visual Studio but you can do the basic steps of debugging.
Eclipse "might" have some support for remote gdb servers. Never experimented that (Emacs + gdb is sufficient for me)