<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
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
import java.lang.reflect.InvocationHandler; | |
import java.lang.reflect.Method; | |
import java.lang.reflect.Proxy; | |
import java.util.concurrent.Callable; | |
import javassist.util.proxy.MethodHandler; | |
import javassist.util.proxy.ProxyFactory; | |
import javassist.util.proxy.ProxyObject; | |
import net.sf.cglib.proxy.Enhancer; | |
import net.sf.cglib.proxy.MethodInterceptor; |
https://github.com/junegunn/vim-plug
Vim configuration .vimrc https://github.com/amix/vimrc
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
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" > /etc/apt/sources.list.d/webupd8team-java.list | |
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" >> /etc/apt/sources.list.d/webupd8team-java.list | |
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 | |
apt-get update | |
yes | sudo apt-get install oracle-java7-installer | |
java -version |
curl --form-string "context=<http://example.com/context/url>" \
-F "Content-Type=text/x-nquads" \
-F "source=file" \
-F "content=@$f;type=text/x-nquads" \
http://localhost:8080/openrdf-workbench/repositories/$REPO/add
curl --data "type=native&Repository%20ID=$REPO&Repository%20title=$REPONAME&Triple%20indexes=spoc,posc" http://localhost:8080/openrdf-workbench/repositories/NONE/create
Node.js
installed via nvm
: follow directions at https://github.com/creationix/nvm, then nvm install 0.10
Install grunt and bower globally npm install -g grunt-cli bower
Node, grunt, bower, npm executables are then in e.g. ~/.nvm/v0.10.35/bin
In IDEA go to Settings -> Languages & Frameworks -> Node.js and NPM and set "Node interpreter" to e.g. /home/jakub/.nvm/v0.10.35/bin/node
insert data {
GRAPH <http://jakub/graph> {
<http://id/1> <http://example.com/ont#label> "1" .
<http://id/1> <http://example.com/ont#label> "x" .
<http://id/2> <http://example.com/ont#label> "2" .
}
}
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
history|awk '{print $2}'|sort|uniq -c|sort -rn|head -20|awk '!max{max=$1;}{r="";i=s=60*$1/max;while(i-->0)r=r"#";printf "%15s %5d %s %s",$2,$1,r,"\n";}' |
OlderNewer