How do I add a c++ library to my c9 project? - cloud9-ide

I want to add curl and jansson to my c9 c++ project. I can't find any c9 documentation for this task so is this even supported?

Think of Cloud9 workspaces like Ubuntu machines that you have sudo access to. They come with a lot of libraries pre-installed, but it shouldn't stop you from installing and using most other libraries.
Since each workspace is uses Ubuntu, installation instructions for Ubuntu should work as-is on Cloud9 workspaces.

Related

Using snapd instead of flatpak in Linux Mint

I installed IntelliJ and WebStorm on my Linux Mint distro. The problem I have is that I cannot use the integrated terminal on both of the software. In both of them there is a problem with my bash binary location. I researched and saw that the software manager in Linux Mint installs flatpak software by default, and that it works as a sort of a container. I tried to change the location of my bash binary to var/run/host.. but it didn't seem to work.
I read that people solve this by installing the tar version of the software or using snapd. Since snapd is not supported by Linux Mint, what are my alternatives? Can I somehow give access to my software to use my bash, npm, etc... and if not, why is it that flatpak makes these things so difficult?..
Flatpak works as a sandbox environment - each pack has its own runtime environment and because of security reasons, flatpak apps do not have direct access to host files. There could be a lot of problems due to this.
Please try reinstalling the IDE using one of the officially recommended options (https://www.jetbrains.com/help/webstorm/installation-guide.html) - download the tar.gz from https://www.jetbrains.com/webstorm/download/#section=linux, or use the toolbox app to manage installations

Where is Qt Maintenance Tool in Homebrew

I have installed Qt with Homebrew. Everything is working fine for Desktop Application Development. But I do not find Maintenance Tool. Do I need to install that separately with brew ?
It does not exist, since homebrew tries to be a package manager like they exist on linux environtments. Just like cygwin/msys2 for windows. So they provide one qt build and that's it.
You can still install the official binary distribution from Qt which contains the Maintenance Tool. You can think of the Maintenance Tool as Qt's internal package manager, that can install official Qt binaries.

How to run eclipse on bash on Ubuntu on Windows?

I have eclipse installed on my windows machine, but I can't seem to use it with bash so I installed eclipse on the bash terminal by using "sudo apt-get install eclipse". It installed fine, but I can't figure out how to launch the eclipse GUI from the linux subsystem so I can use it like the windows version. I tried using Xming and exporting DISPLAY, but that didn't work. Any ideas?
from what i understood from the link below, you require to update .bashrc to direct the GUI display to a X Server process. I installed xMing to run X Server from Windows 10. i also had to install gtk components that allowed me to run sublime text GUI from within WSL.
https://medium.com/#pck/how-to-use-sublime-text-3-from-command-line-with-ubuntu-bash-terminal-in-windows-10-subsystems-for-aa2ad59d088c
hope this helps
IMHO you should not install eclipse by apt but simply get your desired eclipse product from from https://www.eclipse.org/downloads/packages , download and unzip it to your wanted location and just start eclipse.
Reasons:
I do not know any Linux distribution containing a newer eclipse bundled, so you are always having older versions being slower and having less features
You can update your eclipse installation directly inside eclipse Check for updates
You can have multiple installations at same time
If you want to get rid of a eclipse installation just remove the folder and you are done.
But of course you can also use bash directly in Windows with Eclipse.
Please look at
https://stackoverflow.com/a/62724163/2590615 or take a glimpse at You Tube Video about Bash Debugging with Bash Editor eclipse plugin on a Windows 10 machine
PS: I am the maintainer of the mentioned eclipse plugin

Install Go CLI application without having Go installed

If I already have Go installed on my computer, I can easily install a CLI application using this github repository. I need to install a CLi application on a machine that does not have Go installed (like the CloudFoundry CLI) - how can I do that?
Go compiles to one executable, the end user does not need go installed.
You could try a newly released tool like goget.sh

Getting VLC on Heroku?

I need to be able to stream media from a heroku server. To do this I have had pretty good success using VLC on my dev system. Now I am "ready" to deploy it to heroku, but am unsure how about how to install VLC on heroku. Is this doable? If so, what are the steps? For which OS of VLC would I download?
It looks like this is possible with Bindle: http://bindle.me/blog/index.php/405/running-binaries-on-heroku
From the article:
Running binaries on heroku is possible if they are in the bin/ directory of your app. This is not officially supported, so use at your own risk. Heroku runs on Ubuntu 10.04 LTS 64bit, so you’ll want to download it to compile your program on a VM. Install Ubuntu as normal, then download the source code for the program you are interested in.
If the program has dependencies that are not standard on Ubuntu you'll need to compile them to be statically linked as described in the article.

Resources