logstash plugin for stomp - plugins

I am using logstash-1.4.2, and follow the tutorial here:
http://logstash.net/docs/1.4.2/contrib-plugins
to install contrib plugins for my stomp.
but when I follow the tutorial in "Automated Installation" part, run:
plugin.sh install contrib
I will have the following:
C:\logstash\logstash-1.4.2\logstash-1.4.2\bin>plugin.sh install contrib
Welcome to Git (version 1.9.0-preview20140217)
Run 'git help git' to display the help index.
Run 'git help <command>' to display help for specific commands.
which does not look that my plugins have been added.
Anyone has a solution for this, Thanks.

The current logstash contrib automated installation only works for Linux/Mac OS, which is why this is failing for you. There are a couple of approaches you can take:
There has been some code checked in for doing this on Windows, just
not yet merged into the production release. Check here:
https://github.com/elasticsearch/logstash/pull/1356
You can just download and extract the files into your logstash
directory ( in your case the one above bin). Discussion of that
approach here:
https://groups.google.com/forum/#!topic/logstash-users/KbLwrgC4qSk

Related

Requesting steps to install packages from Github to PyCharm

I am new to Pycharm and Python in general. I am starting with Data science self study using the book Data Science from scratch by Joel Grus. The author has a Github page which has all the required packages to run the code given in the book. I am using Pycharm as my IDE to practice coding in Python.
The author's GitHub page is below.
https://github.com/joelgrus/data-science-from-scratch
I am trying to install files in PyCharm using the following command in the Pycharm terminal:
pip install git+https://github.com/joelgrus/data-science-from-scratch.git
When I do so, I get an error shown below:
Pycharm Terminal error message
Can someone help me to fix the steps?
Thanks,
Rohit
Why don't you just download the requirements.txt / clone the whole repository first
then run pip install -r /path/to/requirements.txt
you want to get the repository anyway right.
Downloaded the module from author github page.
The
File --> Settings --> Project Structure --> Add content Root
I added the file path to the module that was downloaded.
Pycharm settings screenshot

I want to know how to use Github in open source

I am a programming starter to try github for the first time.
https://github.com/froala/design-blocks
I completed the clone as described in the main link.
I have also completed the npm installation as described in the text and have successfully run it.
But if i simply want to use source code, do i not need to install the module using npm?
Why do I install the module using npm?..
How do I use the packages I installed using npm?
Even if I did a search on Google, there was no post for beginners like me.
I really appreciate your advice.

Installation of VS code on RaspPi to be used with openhab2

I just tried to install VS code and the openhab extension via this site (https://code.visualstudio.com/docs/setup/linux) and followed all the steps until "sudo apt-get install code-insiders". Then it failed.
It tells me: Package code-insiders cannot be found.
Any ideas? Do I need to insert a code number?
Furthermore, how can I install the required openhab2 extension? I don´t find the required add-on in the selection menus.
Thanks for your help,
db
When you installed Visual Studio, you probably did so by downloading the package and installing it directly, instead of following their instructions for including Microsoft's repository on your system. Or maybe there was a hiccup when you followed their instructions, and something didn't get installed correctly.
You have two choices. You can include Microsoft's repo in your apt by following their instructions here (refer to the section under Debian titled "The repository and key can also be installed manually with the following script:"), or you can download the code-insiders package from here and install it manually. (I'd recommend the first option, as Microsoft should be a trustworthy company to add into your apt repository list.)

Oh My Zsh - how to use GitHub plugin?

Just enabled github plugin in .zshrc:
plugins=(… guthub …)
After this autocomplete works fine, when I press tab I see:
But then, if, I try to run actual command, e.g.
github create test-repo
I'm getting
zsh: command not found: github
Until now I used simple plugins only with aliases and I'm sure that I'm missing something here :)
The github plugin contains this comment:
# in order to make this work, you will need to have the github gem installed
# http://github.com/defunkt/github-gem
So to use it you'll need to install Ruby, then gem install github.

Installing vagrant-vsphere plugin

so I recently installed the vagrant-aws plugin with vagrant plugin install vagrant-aws, after quite the adventure with ruby versions and dependencies. Anyway, for our deployment pipeline I need to find a way to spin up vSphere machines with vagrant, and there is a vagrant-vsphere plugin on github, but I have no idea what to do with it. I'm really new to ruby/programming/devOps in general, and it doesn't look like vagrant will allow you to install plugins from local files.
I saw in the vagrant docs you can require a plugin in your vagrant file with require 'my_plugin', and I tried the path to the .gemspec file where my_plugin is, but can't seem to figure out how to work this. If anyone has help or pointers to places on the internet I can look, I would very much appreciate it :) I'll be scouring the web for a long time to find a solution.
You should be able to install it after bulding it from source:
mkdir ~/tmpbuild
cd ~/tmpbuild
git clone git://github.com/nsidc/vagrant-vsphere.git
cd vagrant-vsphere
gem build vSphere.gemspec
vagrant plugin install vagrant-vsphere-0.0.1