This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.7.0_67/bin/java" 0 | |
| sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.7.0_67/bin/javac" 0 | |
| sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/jdk1.7.0_67/bin/javaws" 0 | |
| sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.5.0_22/bin/java" 0 | |
| sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.5.0_22/bin/javac" 0 | |
| sudo nano /etc/profile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| VERSION="4.0.3" | |
| FILENAME="flyway-commandline-$VERSION-linux-x64.tar.gz" | |
| LINK="https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/$VERSION/$FILENAME" | |
| echo "$LINK" | |
| wget --no-check-certificate "$LINK" | |
| mkdir flywaydb | |
| tar -zxvf $FILENAME -C flywaydb --strip-components 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt install git curl -y | |
| curl -sSL https://get.docker.com | sh | |
| sudo -i | |
| curl -L "https://github.com/docker/compose/releases/download/1.8.1/docker-compose-$(uname -s)-$(uname -m)" > /usr/local/bin/docker-compose | |
| chmod +x /usr/local/bin/docker-compose | |
| exit | |
| sudo usermod -aG docker ubuntu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #endpoint: http://dbpedia.org/sparql | |
| PREFIX owl: <http://www.w3.org/2002/07/owl#> | |
| PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
| PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
| PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
| PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
| PREFIX dc: <http://purl.org/dc/elements/1.1/> | |
| PREFIX : <http://dbpedia.org/resource/> | |
| PREFIX dbpedia2: <http://dbpedia.org/property/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Grab('com.hp.hpl.jena:jena:2.6.4') | |
| @Grab('com.hp.hpl.jena:arq:2.8.8') | |
| import groovy.sparql.Sparql | |
| // Can also take a Jena model as an argument | |
| def sparql = new Sparql("http://dbpedia.org/sparql") | |
| def query = """ | |
| SELECT ?abstract |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #general stuff | |
| sudo apt install git zsh curl google-chrome-stable unzip xclip -y | |
| #chrome | |
| wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
| sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' | |
| sudo apt update | |
| sudo apt install google-chrome-stable -y | |
| #visual studio code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #general stuff | |
| sudo apt install git zsh curl google-chrome-stable unzip xclip -y | |
| #chrome | |
| wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
| sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' | |
| sudo apt update | |
| sudo apt install google-chrome-stable -y | |
| #visual studio code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "temp", | |
| "version": "1.0.0", | |
| "description": "", | |
| "main": "index.js", | |
| "scripts": { | |
| "test": "echo \"Error: no test specified\" && exit 1" | |
| }, | |
| "author": "", | |
| "license": "ISC", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=Apache ActiveMQ Artemis | |
| [Service] | |
| User=artemis | |
| PIDFile=/var/lib/apache-artemis/gissaBroker/data/artemis.pid | |
| ExecStart=/var/lib/apache-artemis/gissaBroker/bin/artemis-service start | |
| ExecStop=/var/lib/apache-artemis/gissaBroker/bin/artemis-service stop | |
| ExecReload=/var/lib/apache-artemis/gissaBroker/bin/artemis-service restart | |
| Restart=always |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict' | |
| const r = f => require('../../app/' + f) | |
| const tokenType = r('tokenType').Type, | |
| cnf = r('cnf').convert, | |
| ast = r('ast'), | |
| or = r('formula').or, | |
| h = r('helper'), | |
| resolution = r('resolution/resolution'), |