Skip to content

Instantly share code, notes, and snippets.

View fearblackcat's full-sized avatar
💭
I may be slow to respond.

Steven Russell fearblackcat

💭
I may be slow to respond.
  • Norfolk
View GitHub Profile
import org.graalvm.polyglot.*;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.util.Arrays;
public class Main {
public static void main(String[] args) throws Exception {
try (Context context = Context.create("js")) {
context.eval("js", "" +
@fearblackcat
fearblackcat / install-elasticsearch-centos.sh
Created November 5, 2015 14:20 — forked from ondrej-kvasnovsky/install-elasticsearch-centos.sh
Commands for ElasticSearch installation on CentOS 6.4
# install missing libraries (if any)
cd ~
sudo yum update
yum install java-1.7.0-openjdk.x86_64
yum install unzip
yum install mc
yum install wget
yum install curl
# get and unpack elasticsearch zip file