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
package example; | |
// imports | |
class Example { | |
public static void main(String[] args) throws Exception { | |
// Travelling to Japan | |
StackWatch tripWatch = new StackWatch("TripToJapan"); |
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
/opt/google/chrome/chrome --headless --disable-gpu --dump-dom $URL |
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
[INFO] Installing C:\Users\kinow\Development\java\workspace\jena\jena-db\target\jena-db-3.5.0-tests.jar to C:\Users\kinow\.m2\repository\org\apache\jena\jena-db\3.5.0\jena-db-3.5.0-tests.jar | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building Apache Jena - DBOE Base 3.5.0 | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ jena-dboe-base --- | |
[INFO] | |
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce) @ jena-dboe-base --- | |
[INFO] |
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
------------------------------------------------------- | |
T E S T S | |
------------------------------------------------------- | |
Running org.apache.commons.compress.archivers.zip.Zip64SupportIT | |
Tests run: 79, Failures: 16, Errors: 0, Skipped: 0, Time elapsed: 771.153 sec <<< FAILURE! - in org.apache.commons.compress.archivers.zip.Zip64SupportIT | |
writeSmallStoredEntryKnownSizeToFileModeAlways(org.apache.commons.compress.archivers.zip.Zip64SupportIT) Time elapsed: 0.101 sec <<< FAILURE! | |
org.junit.internal.ArrayComparisonFailure: arrays first differed at element [4]; expected:<64> but was:<-1> | |
at org.apache.commons.compress.archivers.zip.Zip64SupportIT.withTemporaryArchive(Zip64SupportIT.java:2323) | |
at org.apache.commons.compress.archivers.zip.Zip64SupportIT.writeSmallStoredEntryKnownSizeToFileModeAlways(Zip64SupportIT.java:1618) | |
Caused by: java.lang.AssertionError: expected:<64> but was:<-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
@prefix dc: <http://purl.org/dc/elements/1.1/> . | |
@prefix : <http://example.org/data/> . | |
:en1 | |
dc:title "tsahurin kieli"@fi ; | |
dc:title "açafrão"@pt ; | |
. | |
:en2 |
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
# 2550 mb in kb | |
ulimit -v 2550000 | |
# 2 gb in kb | |
ulimit -m 2000000 | |
# Confirm limits | |
ulimit -a | |
gdb $HOME/Development/cpp/workspace/krita_install/bin/krita |
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
cp ~/.m2/repository/net/imagej/ij/1.51j/ij-1.51j.jar ~/.jenkins/war/WEB-INF/lib/ | |
import java.awt.Color | |
import java.awt.image.BufferedImage | |
import ij.ImagePlus | |
import ij.io.FileSaver; |
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 | |
## Alias GAuth to copy current to clipboard | |
function gauth() { | |
[ ! -z "${1}" ] && { | |
/Users/$(whoami)/go/bin/gauth |grep -i "aws ${1}" |sed 's/AWS //' |awk '{print$3}' |pbcopy | |
echo -e "Copied $(pbpaste) clipboard!" | |
} || { | |
/Users/$(whoami)/go/bin/gauth | |
} |
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
alias gitl='git log --branches --remotes --tags --graph --decorate --stat' |
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
#!/bin/bash | |
cmake -G "Eclipse CDT4 - Unix Makefiles" ../krita -DCMAKE_INSTALL_PREFIX=/home/kinow/Development/cpp/workspace/krita_install/ -DWITH_GMIC=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPRODUCTSET=ALL -DPACKAGERS_BUILD=ON -DBUILD_TESTING=OFF -DKDE4_BUILD_TESTS=OFF | |
make | |
exit 0 |