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
Download jars and asc files. | |
Then check the files: | |
for x in *.jar; do gpg --verify "${x}".asc; done | |
Import the key if necessary | |
gpg --keyserver pgpkeys.mit.edu --recv-key $KEY |
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 | |
xrandr --output eDP1 --mode 1368x768 --output DP1-2 --right-of eDP1 --auto --output DP1-1 --left-of eDP1 --auto | |
exit 0 |
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
JAVA_HOME=/usr/lib/jvm/java-7-oracle/ mvn org.apache.maven.plugins:maven-release-plugin:2.5:prepare |
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 | |
r=$(( RANDOM%10 )) | |
for ((i=1; i<=r; i++)); do | |
echo "Creating file result_$i.tap" | |
cat > "result_$i.tap" <<EOF | |
1..1 | |
ok 1 | |
EOF |
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
public static void main(String[] args) { | |
int accumulator = 0; | |
byte b = 0; | |
int nbBitsUsed = 100; | |
/* classic version */ | |
while (nbBitsUsed >= 8) { /* each while test is a branch */ | |
accumulator <<= 8; | |
accumulator += b++; | |
nbBitsUsed -= 8; | |
} |
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 | |
options=$(ls -1 /usr/lib/php/20151012/ | \ | |
grep --invert-match xdebug| \ | |
# remove problematic extensions | |
egrep --invert-match 'mysql|wddx|pgsql|opcache'| \ | |
sed --expression 's/\(.*\)/ -d extension=\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
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-2spdv72w/mecab-python3/ | |
install | |
sudo apt-get install mecab -y | |
sudo apt-get install libmecab-dev -y | |
sudo apt-get install mecab mecab-ipadic-utf8 -y | |
pip install mecab-python3 |
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
121 MB | |
default: 10 | |
00:00:04.581 | |
1 thread | |
00:00:11.699 | |
2 threads | |
00:00:07.894 |
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 |