Skip to content

Instantly share code, notes, and snippets.

View tato469's full-sized avatar
🎯
Focusing

Fernando Valle tato469

🎯
Focusing
View GitHub Profile

Keybase proof

I hereby claim:

  • I am tato469 on github.
  • I am tato469 (https://keybase.io/tato469) on keybase.
  • I have a public key ASCX4BjyX0hdfSObofjPR8WZ9uMVePSSLiU3jbxXOjVnAgo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am tato469 on github.
  • I am tato469 (https://keybase.io/tato469) on keybase.
  • I have a public key ASCtAwCEfTfbyHX_zUDAvWIEjz6HW07E1WJvQeUVZCI8owo

To claim this, I am signing this object:

@tato469
tato469 / resize_to_jpg.sh
Created March 11, 2016 07:59
Script for change extension and resize images with imagemagick
for file in $(ls);do convert $file -resize x480 -quality 80 $(basename ${file%.*}).jpg;done
sudo apt-get update
sudo apt-get install curl
\curl -L https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
rvm install ruby
rvm use ruby --default
rvm rubygems current
gem install rails
@tato469
tato469 / gist:6061397
Created July 23, 2013 10:24
How to generate automatic UML in your Android project + eclipse with javadoc
How to generate UML in your Android project + eclipse with javadoc:
First download apiviz from: https://code.google.com/p/apiviz/
0. extract the zip, for example in y case I did: C:\Program Files\Java\apiviz-1.3.2.GA
1. Project -> Generate JavaDocRight-click on a Java project.
2. Choose the 'Use custom doclet' radio button.
Enter 'org.jboss.apiviz.APIviz' in the 'Doclet name' field.
In 'Doclet class path' field set the location of the jar. C:\Program Files\Java\apiviz-1.3.2.GA\jar\apiviz-1.3.2.GA.jar
3. Click the 'Next' button. (Do not click the 'Finish' button yet.)
#!/bin/sh
# build.sh
GLOBAL_OUTDIR="`pwd`/dependencies"
LOCAL_OUTDIR="./outdir"
LEPTON_LIB="`pwd`/leptonica-1.68"
TESSERACT_LIB="`pwd`/tesseract-3.01"
IOS_BASE_SDK="5.1"
IOS_DEPLOY_TGT="4.3"