This file contains 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-get install libmotif4 libpng3 xloadimage gnuplot gv xfig libglew1.5 libmotif-dev libtiff4-dev libx11-dev libxaw7-dev libxext-dev libxml2-utils libxp-dev libxpm-dev libxt-dev lynx x11proto-print-dev xsltproc xutils-dev freeglut3-dev libglew1.5-dev libpng12-dev | |
mkdir /home/share/apps/arb | |
cd /home/share/apps/arb | |
wget http://download.arb-home.de/release/arb_5.2/arb.64.ubuntu.OPENGL.tgz | |
sudo tar xvfz arb.64.ubuntu.OPENGL.tgz | |
sudo /bin/sh arb_install.sh | |
sudo ln -s /usr/lib/libXm.so.4.0.3 /usr/lib/libXm.so.3 |
This file contains 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 com.liberorignanese.android.gist; | |
import android.graphics.Canvas; | |
import android.graphics.Paint; | |
import android.text.style.ReplacementSpan; | |
/** | |
* Created by Libero Rignanese. | |
*/ |
This file contains 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
See https://github.com/git/git/blob/master/contrib/completion/git-completion.bash |
This file contains 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
jboolean Java_com_googlecode_tesseract_android_TessBaseAPI_nativeBeginDocument(JNIEnv *env, | |
jobject thiz, jstring title, jlong jRenderer) { | |
const char *c_title = env->GetStringUTFChars(title, NULL); | |
tesseract::TessPDFRenderer* pdfRenderer = (tesseract::TessPDFRenderer*) jRenderer; | |
jboolean res = JNI_TRUE; | |
if (pdfRenderer->BeginDocument(c_title)) { | |
res = JNI_FALSE; |
This file contains 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
" show line numbers | |
set number | |
" show column numbers | |
set ruler | |
" enforce column width | |
set tw=80 | |
" don't auto-indent |
This file contains 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
# Preserve Apertium offline translation | |
-dontwarn com.sun.org.apache.bcel.internal.** | |
-dontwarn java.awt.** | |
-dontwarn javax.swing.** | |
-dontwarn javax.tools.** | |
-dontwarn javax.xml.stream.** | |
-dontwarn org.apertium.ApertiumGUI | |
-keepattributes InnerClasses | |
-keep class org.apertium.** | |
-keepclassmembers class * { |