Getting VLC on Heroku? - 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.

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

Installation of gstreamer bad plugins and opencv3.3 on Ubuntu 16.04 arm64

I have been working on some video playing/streaming pipelines for Computer Vision work on Nvidia Jetson TX2. It had Ubuntu 16.04 with latest Jetpack.
I have already installed opencv 3.3 and to test some of the pipelines, with .MP$ video files, I need h264parse plugin which is a part of gst-bad-plugins. However, when I try to install it using apt-get, it shows that following packages will be installed:
freepats gstreamer1.0-plugins-bad-faad gstreamer1.0-plugins-bad-videoparsers
libbs2b0 libde265-0 libflite1 libfluidsynth1 libgstreamer-plugins-bad1.0-0
libmimic0 libmjpegutils-2.1-0 libmms0 libmpeg2encpp-2.1-0 libmplex2-2.1-0
libofa0 libopenal-data libopenal1 libopencv-calib3d2.4v5
libopencv-contrib2.4v5 libopencv-core2.4v5 libopencv-features2d2.4v5
libopencv-flann2.4v5 libopencv-highgui2.4v5 libopencv-imgproc2.4v5
libopencv-legacy2.4v5 libopencv-ml2.4v5 libopencv-objdetect2.4v5
libopencv-video2.4v5 libsoundtouch1 libspandsp2 libsrtp0 libvo-aacenc0
libvo-amrwbenc0 libwildmidi-config libwildmidi1 libzbar0
Here it tries to install an older version of opencv and this really messes up with my current opencv (v3.3) install.
Does anyone have any idea on how should I overcome this problem. I would not want the option to just ignore all the dependencies. But somehow, if it detects the installed opencv version, that would be awesome.
Any help is appreciated.
Thanks!
I am working on Jetson Tx1 , and have problem installing opencv 3.3 in virtual environment onto it due to space issues. I tried to compile the build file from external sd card and make from there. Then Sym-link (cv2.so) file to appropriate path. Can you tell me how you were able to install opencv3.3 ??

Maven on Windows Subsystem For Linux

I'm trying to run maven on Windows Subsystem for Linux, and getting "cannot allocate memory" errors. However, free -m shows that I have plenty of memory available, and the same build on Cygwin succeeds.
Anyone have any tips for dealing with this? I'd prefer to change my settings.xml over my pom.xml's, but I'm open to almost anything.
Try to install maven by downloading it, not by doing an apt-get install maven. On my Ubuntu machines I've never been able to get the "apt" version to work right and have always resorted to downloading it directly from the Maven download instead. I tried that on my WSL and was able to build a pretty good sized JEE project with no issues.

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

How to install couchDB on a media temple server?

The biggest issues im running into starting a project with CouchDB is the nightmare involved in getting it up and running.
Any tips for getting couchDB up on a media temple server or any server really?
I am not entirely sure what a media template server is but I think it is a pretty standard Linux server (centos?). The best option at the moment is to compile CouchDB from the latest source in SVN.
You will need to log onto your server using ssh then follow the instructions at:
http://wiki.apache.org/couchdb/Installing_on_RHEL5
I know this says it is for RHEL5 but will work exactly the same for a recent version of Centos. If you need instructions for a different os try:
http://wiki.apache.org/couchdb/Installation
The "Install" link above does not work anymore.
However - successfully installed CouchDB on MediaTemple and 1und1 following step1 here:
http://www.thegeekstuff.com/2012/06/install-couch-db/
When you are in a virtual host environment:
Make sure you provide the path to your vhost in /etc/couchdb/local.ini
It is described in the .ini file.
MediaTemple uses a modified version of CentOS. But don't try the official RHEL documentation to install - It is broken because the Spidermonkey libs wont work.
Try this. I just intalled Couch on MediaTemple 10 minutes ago -
Install CouchDB on CentOS

Resources