Saturday, June 25, 2016

Ubuntu change to dark theme



sudo add-apt-repository ppa:noobslab/themes  #just for Ubuntu 14
sudo apt-get update
sudo apt-get install ambiance-dark
 
sudo add-apt-repository ppa:noobslab/themes
sudo apt-get update
sudo apt-get install arc-theme

sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak
 
sudo add-apt-repository ppa:ravefinity-project/ppa  #current for me
sudo apt-get update
sudo apt-get install vivacious-colors-gtk-dark
                     

or
 
sudo apt-get install unity-tweak-tool #need to re-start
 

resources:
Dark themes
http://askubuntu.com/questions/454372/dark-gtk-theme-for-ubuntu-14-04


Tuesday, June 21, 2016

Alternatives to Deep Web



resources:

Freenet - a popular darknet friend-to-friend network that can run as an "opennet" (where peer nodes are discovered automatically).
https://freenetproject.org/

Alternatives to torrents

[1] rarbg.is
[2] katcr.co
[3] www.limetorrents.cc

Monday, May 16, 2016

Tuesday, April 26, 2016

Lecture CG-1




http://www.cse.yorku.ca/~kosta/CompVis_Notes/ransac.pdf

http://www.iit.upcomillas.es/pfc/resumenes/4c290fbe9567e.pdf




Sunday, March 27, 2016

Tips for ...



1. Cirugía digital: desvelado el secreto de Hollywood para rejuvenecer a las estrellas  http://www.playgroundmag.net/noticias/actualidad/retoque_digital-hollywood-belleza-actores_0_1437456251.html?utm_source=facebook.com&utm_medium=meme&utm_campaign=Cirug%C3%ADaHollywood

2. Realidad Aumentada + Emoción + Alturas




Personality and Frases

Peronality Test

https://dimajadid.net/what-was-the-first-animal-you-saw/

Frases (esp)

  1.  Todo es relativo. El tiempo que dura un minuto depende de qué lado de la puerta del baño te encuentras.
  2. Errar es humano, persistir en el error es americano, acertar en el blanco es musulmán.
  3. Cualquier idiota es capaz de pintar un cuadro, pero solo un genio es capaz de venderlo.
  4. Robar ideas de una persona es plagio. Robar de varias es “investigación”.
  5. En la vida todo es relativo. Un solo pelo en la cabeza es poco; pero en la sopa, es mucho!
  6. En el borde de un precipicio sólo hay una manera de ir para adelante: dar un paso atrás.
  7. Dime con quién andas, que yo te digo si voy contigo.
  8. Yo quiero morir como mi abuelo, durmiendo, tranquilo, y no gritando desesperadamente… como los cuarenta pasajeros del autobús que él conducía!
  9. Yo cavo, tu cavas, el cava, nosotros cavamos, vosotros caváis, ellos cavan. Es una estupidez, pero bastante profunda.
  10. Cuando te arrojen una piedra, haz con ella un escalón y súbete. Sólo después, cuando tengas una visión plena de toda el área, agarra otra piedra, y clávasela en el culo al que te tiro la primera.
  11. No te preocupes por el peso de los cuernos, preocúpate por el peso de la vaca.
  12. Si eres desagradable y tienes mucha plata, todos pensarán lo contrario de ti.
  13. Panza llena, baño seguro
  14. Si fuera mi hijo, quisiera tener un padre como yo… y una madre como la vecina. Realmente esta buena la condenada.
  15. Si la vida te da la espalda, agarrale las nalgas.
  16. Lo imposible siempre, cuenta un poco más.
  17. Del tamaño que sean tus sueños sera hasta donde llegues.
  18. Yo no robo internet inalambrico, aprovecho los recursos que el aire me ofrece.
  19. Si la montaña viene hacia tí, corre porque es un derrumbe.
  20. Incluso un reloj parado acierta dos veces al día.
  21. Si tu novia perjudica tus estudios, perjudica a tu novia, deja los estudios.
  22. Si te visto, no me acuerdo. Si te desvisto, no me olvido.
  23. Si la vida te la limones, pide plata u otras cosas.
  24. No aceptes regalos de gente desconocida, te puedes comer un juicio por robo.
  25. Si estás “meditando” en el baño, concéntrate en eso, y de paso, estudia o lee algo.
  26. Si eres desagradable y tienes mucha plata, todos te dirán lo contrario y serán tus “amigos”.
  27. Si cantas sólo por cantar “ojala que llueva café” de Juan Luis Guerra en un lugar donde hay mucha gente cerca, un bobo te preguntará si queres Medialunas.
  28. Panza llena, baño seguro.
  29. Si se te sale un “vientito”, asegúrate que no sea en un ascensor.
  30. Nunca te sientas el más idiota del mundo, sólo lee mis comentarios y cambiaras de parecer.
  31. Cuanto más le saques punta a un lapiz, más se romperá la punta.

Saturday, February 13, 2016

MonoDevelop Using mySql Connection


Download mySql Connector [1], uncompress and run next command for register mySql Connector.

$sudo gacutil -i MySql.Data.dll


References:

[1] Driver Connector http://dev.mysql.com/downloads/connector/net/
[2] http://techreadme.blogspot.com.br/2013/04/using-mysql-with-mon-in-monodevelop.html
[3] Example for connect http://www.mono-project.com/docs/database-access/providers/mysql/

Friday, October 02, 2015

Shape Matching



Resources:

[1]  Shape Indexing and Matching Using Shock Graphs
  http://www.cs.toronto.edu/~dmac/source_code.html
[2]  Skeletonization
     http://www.inf.u-szeged.hu/~palagyi/skel/skel.html
[3] K3M
   http://matwbn.icm.edu.pl/ksiazki/amc/amc20/amc2029.pdf




Image Sharpen



References
[1] http://www.idlcoyote.com/ip_tips/sharpen.html

Friday, September 11, 2015

Monday, August 31, 2015

Running 2014


RPP 2014
http://www.pacifictiming.com/result-wizard/?prefix=140921_rpp

Lanpass 10k 2014
http://www.chiptiming.com.pe/resultados.php

Corre PUCP 2014
http://chiptiming.com.pe/resultados-pucp.php


LightSpark Flash Player Alternative


Try traditional installation
$sudo add-apt-repository ppa:sparkers/ppa
$sudo apt-get update

$sudo apt-get install lightspark browser-plugin-lightspark



Make link to library or copy to plugin directory
$sudo cp /usr/lib/lightspark/liblightsparkplugin.so ~/.mozilla/plugins/
$sudo cp /usr/lib/lightspark/liblightsparkplugin.so /usr/lib/mozilla/plugins/

or
$ln -s /usr/lib/lightspark/liblightsparkplugin.so ~/.mozilla/plugins/liblightsparkplugin.so


Note: try run $locate libflashplayer.so , for know where is the plugin directory















Marked Point Processes




[1] https://homepages.laas.fr/slarnier/Automatic_method_for_visual_grading_of_seed_food_product.pdf
[2] Samples
      http://perso.telecom-paristech.fr/~tupin/JTELE/PRES10/Descombes.pdf
[3] Unsupervised detection of Flamingos using Marked Point Processes for estimating the size of populations
Slides http://bib.rilk.com/2781/01/descamps_presentationGdR.pdf


Wednesday, June 24, 2015

Maya Ubuntu


http://forums.autodesk.com/t5/installation-licensing/installing-maya-on-ubuntu/td-p/4905036

Tuesday, June 23, 2015

Microscopy Software

CISMM
http://cismm.cs.unc.edu/downloads/


Reflection/Point-based Global Illumination



  • Reflection and refraction
  • Point-based Global Illumination
  • Anti-aliasing settings
 [1] https://github.com/fxthomas/renderboy
 [2] Global illumination 99 lines
      http://www.kevinbeason.com/smallpt/

Running Wireshark over Ubuntu 14.04


After  installation, execute next steps:

1) sudo dpkg-reconfigure wireshark-common
2) sudo chmod +x /usr/bin/dumpcap
3) sudo setcap CAP_NET_RAW,CAP_NET_ADMIN,CAP_DAC_OVERRIDE+eip /usr/bin/dumpcap


Reference:
[1] https://ask.wireshark.org/questions/16343/install-wireshark-on-ubuntu
[2] http://askubuntu.com/questions/348712/there-are-no-interfaces-on-which-a-capture-can-be-done

Rendering



Matlab Sample (Run in matlab, compiling with mex over Ubuntu)
http://vision.princeton.edu/pvt/RenderPCcamera/

Obj Files
[1] http://people.sc.fsu.edu/~jburkardt/data/obj/obj.html



2. Multi-Resolution Surfel Map (MRSMap) Library
src https://code.google.com/p/mrsmap/
dependencies information
https://github.com/ais-hilgert/mrsmap/wiki/Build-mrsmap

3. Point Cloud Library
https://github.com/PointCloudLibrary/pcl

4. OpenGL tutorial C++ Code
  https://gitlab.com/wikibooks-opengl/modern-tutorials/tree/master

5. Real Time Rendering http://web.cse.ohio-state.edu/~tong/cse781projects/

Tuesday, June 02, 2015

Backtracking



Backtracking
http://www.cs.toronto.edu/~fbacchus/Papers/liu.pdf

Análise de Algoritmos

Algoritmos e Estruturas de Dados II/Recorrências
http://www.deei.fct.ualg.pt/~flobo/aed-II/teoricas/
http://www.fernandolobo.info/aed-II/teoricas/

Programación Dinámica
http://elvex.ugr.es/decsai/algorithms/


Referencias
http://www.dct.ufms.br/~edson/complexidade/recorrencias.pdf
http://www-usr.inf.ufsm.br/~juvizzotto/elc120-2011b/
http://mitpress.mit.edu/algorithms/solutions/chap2-solutions.pdf


Exercícios Complexidade
[1] http://www.inf.ufpr.br/vignatti/courses/ci056/exerc-busca-recursividade.pdf



Sunday, May 31, 2015

Winamp Alternative on Ubuntu Audacious

$sudo apt-get install audacious

If doesn't work, add repository and try again
$sudo add-apt-repository ppa:nilarimogard/webupd8
$sudo apt-get update
$sudo apt-get install audacious


Note:Enable Winamp mode and enalbe equalizer


Resources
[1] http://audacious-media-player.org/download
[2] Equializer from Winamp
     http://ubuntuforums.org/showthread.php?t=1609390
[2] How to install
     http://www.webupd8.org/2014/04/install-audacious-35-in-ubuntu-1404-or.html

Monday, May 25, 2015

SSH Tunneling

$ssh -D 127.0.0.1:8080 -l <user> <Server> -p <22|2222>

$ssh -[N]D 5555 -l <user> <Server> -p <22|2222> 

N Doesn't work in some servers, then remove it.


Firefox Setting

1. Open firefox settings, search for "SOCKS" and open the Network Proxy settings

2. Select "Manual proxy configuration"

3. Enter localhost for the SOCKS host, 9999 for the port, and SOCKS v5 selected. Click "OK" to save it.


use http://www.whatismyip.org/ for verify new ip

References:

[1] https://gist.github.com/brentjanderson/6ed800376e53746d2d28ba7b6bdcdc12 (rev 2024)
[2] http://www.planetb.ca/2010/08/how-to-create-an-ssh-tunnel-with-putty-and-stay-anonymous-on-a-network/

 

 

 

 

 

 

 

 

 

 

Saturday, May 16, 2015

Llamar de Brasil a Perú Prefijo de Salida/Código de operador

El prefijo de salida de Brasil es 00
Código de operador XX que puede ser:
14 - Brasil Telecom,
15 - Vivo,
21 - Claro,
31 - Oi,
41 - TIM,
12 - CTBC ó
25 - GVT.

Osea:
00 + XX + Pais + Ciudad + Número

Ejemplo:

Usando Oi(31) A Perú(51) Arequipa(54) al numero 555555

00315154555555

Referencias:

[1] http://www.aproxima.es/llamando.html?desde=brasil&hacia=peru

Sunday, May 10, 2015

OpenCV 2.4.x over Ubuntu

I installed Opencv 2.4.8 over ubuntu 12.04, works good with images, but i getting error at display/read videos, then i research and use other resources:

[1], is best for me, have scripts for install opencv library, if you like more details about steps, is possible use [2] or [3].


-----------------------------------------

When you like java libraries
Need to do[4]:

$ export JAVA_HOME=/root/jdk1.7.0_07
$ mkdir build
$ cd build
$ cmake -DBUILD_SHARED_LIBS=OFF ../


If you get this message: libv4l2.so.0: error adding symbols: DSO missing from command line collect2, do that:

$grep -rl -- -lv4l1 samples/* modules/* | xargs sed -i 's/-lv4l1/-lv4l1 -lv4l2/g'

If not works, start again using [5].

Resources:

[1] https://help.ubuntu.com/community/OpenCV
[1.1]  https://github.com/jayrambhia/Install-OpenCV/tree/master/Ubuntu/2.4
[2] http://abhitak.wordpress.com/2009/08/29/installing-opencv-on-linux-ubuntu-9-04/
[3] http://www.ozbotz.org/opencv-installation/
[4] http://www.giuseppeurso.eu/en/how-to-compile-opencv-on-centos-with-java-support/
[5] http://www.sysads.co.uk/2014/05/install-opencv-2-4-9-ubuntu-14-04-13-10/

Tuesday, April 21, 2015

Tuesday, March 03, 2015

Laboratories

Computer Vision Laboratories
http://vision.ucsd.edu/project/suv-color-space

Researchers

http://people.csail.mit.edu/celiu/
LBP Expert http://scholar.google.com/citations?user=hzywrFMAAAAJ&hl=es

GraphCut


http://www.morethantechnical.com/2010/05/05/bust-out-your-own-graphcut-based-image-segmentation-with-opencv-w-code/


Original implementation of GraphCut
http://vision.csd.uwo.ca/code/

Other MRF

http://vision.middlebury.edu/MRF/code/

Clique
http://www.cs.berkeley.edu/~fowlkes/BSE/BSE-1.2/partition/

Segmentation Berkeley
http://www.cs.berkeley.edu/~fowlkes/BSE/

Optimitation
http://www.sce.carleton.ca/faculty/chinneck/po.html

Asm Course
http://image.ing.bth.se/ipl-bth/Siamak.khatibi/Image-Analysis07.htm
http://image.ing.bth.se/ipl-bth/Siamak.khatibi/ImageAnalysis07/assigmnets/ASM/ASM-Assignment.pdf

Computer Vision/Graphic Devices

Myo
https://www.thalmic.com/en/myo/order/

OpenCv Training adaboost from file



http://stackoverflow.com/questions/15869954/opencv-c-problems-working-with-cvboost-adaboost-classifer

http://roberto.blogs.cultureplex.ca/2012/01/24/adaboost-on-opencv-2-3/

http://blog.csdn.net/yeyang911/article/details/23126865

LBP Descriptor
Navid Nourani-Vatani
https://github.com/nourani/LBP



http://coding-robin.de/2013/07/22/train-your-own-opencv-haar-classifier.html


Haralick
http://murphylab.web.cmu.edu/publications/boland/boland_node99.html#sec:code_haralick_hela

Image Clasification
https://code.google.com/p/wnd-charm/downloads/detail?name=wndchrm-1.50rc0.tar.gz&can=2&q=


Machine Learning



http://archive.ics.uci.edu/ml/

OpenCV Rect Rotation



http://feelmare.blogspot.com/2013/08/opencv-rotatedrect-draw-example-source.html

Copy from Mask
http://stackoverflow.com/questions/22786072/is-it-possible-to-copy-a-rotated-image-into-a-rotatedrect-roi-of-another-image-w

Snakes
http://eric-yuan.me/active-contour-snakes/





http://sourceforge.net/projects/snakecpp/?source=navbar

Rainbow

http://stackoverflow.com/questions/10050344/opencv-how-to-apply-rainbow-gradient-map-on-an-image

Flamingo Counter

http://www.flamingoatlas.org/dwld_flamingo.php
http://bib.rilk.com/2781/01/descamps_presentationGdR.pdf

Some Computer Vision Books


[1] Understanding Digital Signal Processing by Richard G. Lyons
http://www.amazon.com/Understanding-Digital-Signal-Processing-Edition/dp/0137027419

[2] Digital Signal Processing: Principles, Algorithms, and Applications by J. G. Proakis and D. G. Manolakis
http://www.amazon.com/Digital-Signal-Processing-4th-Edition/dp/0131873741

[3] Digital Image Processing (3rd Edition) by Rafael C. Gonzalez and Richard E. Woods
http://www.amazon.com/Digital-Signal-Processing-4th-Edition/dp/0131873741

[5] Linear Algebra With Applications (Jones and Bartlett Publishers Series in Mathematics. Linear)
http://www.amazon.com/Algebra-Applications-Bartlett-Publishers-Mathematics/dp/0763782483

[4] Image Processing: The Fundamentals by Maria Petrou and Costas Petrou
http://www.amazon.com/Image-Processing-Fundamentals-Maria-Petrou/dp/047074586X


[6] Computer Vision: A Modern Approach (2nd Edition) by David A. Forsyth and Jean Ponce
http://www.amazon.com/Computer-Vision-Modern-Approach-2nd/dp/013608592X

[7] Computer Vision: Models, Learning, and Inference by Dr Simon J. D. Prince
http://www.amazon.com/Computer-Vision-Models-Learning-Inference/dp/1107011795

[8] Algorithms for Image Processing and Computer Vision by J. R. Parker
http://www.amazon.com/Algorithms-Image-Processing-Computer-Vision/dp/0470643854


[9] Feature Extraction & Image Processing for Computer Vision, Third Edition by Mark Nixon
http://www.amazon.com/Feature-Extraction-Processing-Computer-Vision/dp/0123965497

[10] Fuzzy Models and Algorithms for Pattern Recognition and Image Processing (The Handbooks of Fuzzy Sets) by James C. Bezdek
     and James Keller and Raghu Krisnapuram and Nikhil Pal
http://www.amazon.com/Algorithms-Pattern-Recognition-Processing-Handbooks/dp/0387245154

[11] Color in Computer Vision: Fundamentals and Applications by Theo Gevers, Arjan Gijsenij, Joost van de Weijer, Jan-Mark Geusebroek
http://www.amazon.com/Color-Computer-Vision-Fundamentals-Applications/dp/0470890843

[12] Visual Texture (Advances in Computer Vision and Pattern Recognition) by Michal Haindl , Jiri Filip
http://www.amazon.com/Texture-Advances-Computer-Pattern-Recognition-ebook/dp/B00BLPRJRA

[13] Statistical Models of Shape: Optimisation and Evaluation by Rhodri Davies , carole twining , Chris Taylor
http://www.amazon.com/Statistical-Models-Shape-Optimisation-Evaluation/dp/1848001371

Cuda References



http://cms.ac.uma.es/GPU/

 Dr. Manuel Ujaldon
http://cms.ac.uma.es/ujaldon/index.php/en

Wifi Dictionary

18_in_1.lst (maurisdump.blogspot.com)

References
[1] http://maurisdump.blogspot.com/2011/12/best-dictionaries-wordlist-for-wpa.html

Wednesday, February 18, 2015

When you don't access to Windows (Reset Password)

Option 1:

copy c:/windows/system32/sethc.exe to c:/ (backup)
copy c:/windows/system32/cmd.exe c:/windows/system32/sethc.exe
--when you restart, push shift key for 5 second, and put.

c:>net user

Option 2:
#mount /dev/sdax  /mnt/windowsc    (mount windows partition using linux)
#cd /mnt/windowsc/Windows/System32/config
#chntpw -l SAM  (for list users)
#chntpw -u SAM (for options)





References:

[1] https://4sysops.com/archives/forgot-the-administrator-password-the-sticky-keys-trick/

[2] http://www.howtogeek.com/howto/windows-vista/change-your-forgotten-windows-password-with-the-linux-system-rescue-cd/


OpenCL Ubuntu 14.04




References:

[1] http://askubuntu.com/questions/412009/open-cl-in-intel/440195#440195

Tuesday, February 17, 2015

OpenCV Basic Headers


#include "opencv2/core/core.hpp"
#include "opencv2/flann/miniflann.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/photo/photo.hpp"
#include "opencv2/video/video.hpp"
#include "opencv2/features2d/features2d.hpp"
#include "opencv2/objdetect/objdetect.hpp"
#include "opencv2/calib3d/calib3d.hpp"
#include "opencv2/ml/ml.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/contrib/contrib.hpp"
#include "opencv2/core/core_c.h"
#include "opencv2/highgui/highgui_c.h"
#include "opencv2/imgproc/imgproc_c.h"

References
[1] http://opencv-srf.blogspot.com/2010/09/opencv-basics.html

Energy Minimization



References:
========

[1] A Comparative Study of Energy Minimization Methods for Markov Random Fields
    paper: http://vision.middlebury.edu/MRF/eccv06/SZSVKATR-ECCV06.pdf
    webpage: http://vision.middlebury.edu/MRF
[2]

Termografia y sus Aplicaciones


Referencias

[1] http://www.nivelatermografia.net/termografia

Redes Complejas



Referencias:

[1] http://www.fis.unam.mx/~max/English/notasredes.pdf

Tuesday, January 20, 2015

Unable to play YouTube videos in VLC Player


Download file updated youtube.lua [1] and put that in /usr/lib/vlc/lua/playlist/youtube.lua


References:

[1] http://jslover.secsrv.net/VLC/playlist/youtube.lua

Sunday, October 12, 2014

CentOS 6.5 OpenCV compilation & execution problems

$echo `pkg-config --cflags --libs opencv`               
Package opencv was not found in the pkg-config search path.                    
Perhaps you should add the directory containing `opencv.pc'                    
to the PKG_CONFIG_PATH environment variable                                    
No package 'opencv' found  

$ ls /usr/local/lib/pkgconfig
libnl-1.pc  libnl-3.0.pc  libnl-cli-3.0.pc  libnl-genl-3.0.pc  libnl-nf-3.0.pc  libnl-route-3.0.pc  opencv.pc

$export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

$ echo `pkg-config --cflags --libs opencv`

-I/usr/local/include/opencv -I/usr/local/include /usr/local/lib/libopencv_calib3d.so /usr/local/lib/libopencv_contrib.so /usr/local/lib/libopencv_core.so /usr/local/lib/libopencv_features2d.so /usr/local/lib/libopencv_flann.so /usr/local/lib/libopencv_gpu.so /usr/local/lib/libopencv_highgui.so /usr/local/lib/libopencv_imgproc.so /usr/local/lib/libopencv_legacy.so /usr/local/lib/libopencv_ml.so /usr/local/lib/libopencv_nonfree.so /usr/local/lib/libopencv_objdetect.so /usr/local/lib/libopencv_ocl.so /usr/local/lib/libopencv_photo.so /usr/local/lib/libopencv_stitching.so /usr/local/lib/libopencv_superres.so /usr/local/lib/libopencv_ts.a /usr/local/lib/libopencv_video.so /usr/local/lib/libopencv_videostab.so -lrt -lpthread -lm -ldl   


$g++ letter_recog.cpp -o letter_recog `pkg-config --cflags --libs opencv`



$./letter_recog                                                                                              
./letter_recog: error while loading shared libraries: libopencv_calib3d.so.2.4: cannot open shared object file: No such file or directory
                                                                                                                 
$export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib  


Tuesday, June 17, 2014

How to remove Bill Gates botnet (Fedora)



1) identify and kill process running
 #top
 #killall cupsdd
 . . .

2) verify crontab

#ss -t (show current socket connections)
#crontab -l (list entries)
#crontab -e (edit current)
#crontab -r (remove all entries)

3) remove calls from start scripts
#vi /etc/rc.local   (here anotate entries )
#vi /etc/init.d
#rm /etc/*.lock  (bill.lock and gates.lock)
4) remove physical files
  atddd, cupsdd, cupsddh,ksapdd, kysadd,sksapdd, skysapdd

References

[1] http://lpages.info/billgates-linux-botnet/
[2] https://isc.sans.edu/forums/diary//17282
[3] crontab https://help.1and1.com/hosting-c37630/scripts-and-programming-languages-c85099/cron-jobs-c37727/delete-a-cron-job-a757264.html

Monday, June 02, 2014

Audacity Ubuntu 12.04


$ sudo add-apt-repository ppa:audacity-team/daily
$ sudo apt-get update
$ sudo apt-get install audacity

Thursday, May 15, 2014

Grasa Corporal, omron, plicometro

La verdad es que esto de medir la grasa es todo un Expediente X..

Con cada uno es un mundo, y si te la mides hoy, no te da lo mismo que mañana...

Yo opte por utilizar un metodo que me dijo alguien en el gimnasio..

"...Tu mirate al espejo y si te ves de puta madre, tienes mejor estado fisico.. corres 4 kilometros o los que sean, estas bien contigo... que mierda importa la grasa?¿.."

Daniel.

referencias
[1]  http://www.hispagimnasios.com/foro-de-musculacion-y-nutricion-f3/topic55248.html

Friday, May 02, 2014

Plantillas CSS

News Letter
http://www.templatesbox.com/free-newsletter-templates/index.htm

Plantilla Web

[1] (buena calidad) http://www.mejoresplantillasgratis.es
[2] http://www.interspire.com/templates/

http://www.opendesigns.org/view-designs/44/
http://www.ex-designz.net/template/tempdetail.asp?temp_id=301
http://www.freecsstemplates.org/css-templates/23
http://www.free-css-templates.com/css-templates/13

Sunday, April 13, 2014

Package opencv was not found (CentOs 6.5)

$g++ `pkg-config --cflags --libs opencv` anycode.cpp -o anycode

Package opencv was not found in the pkg-config search path.                                             
Perhaps you should add the directory containing `opencv.pc'                                              
to the PKG_CONFIG_PATH environment variable                                                              
No package 'opencv' found

Solution
1) find opencv.pc
$ locate opencv.pc

/mnt/vol3/installers/opencv/opencv-2.4.8/build/unix-install/opencv.pc      
...    
/usr/local/lib/pkgconfig/opencv.pc  

2) then add to enviroment variable the path
$ export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig/



Friday, April 11, 2014

Virtual Machine over Ubuntu 12.04

1) KVM

$sudo egrep '(vmx|svm)' --color=always /proc/cpuinfo
$sudo apt-get install ubuntu-virt-server python-vm-builder kvm-ipxe virtinst libcap2-bin
$sudo adduser `id -un` libvirtd
$sudo adduser `id -un` kvm
$sudo virsh -c qemu:///system list
$sudo apt-get install bridge-utils
$sudo /etc/init.d/networking restart
$sudo vi /etc/network/interfaces
#add this lines
auto kvmbr0
iface kvmbr0 inet dhcp
bridge_ports eth0

$ sudo /etc/init.d/networking restart


References:
[1] http://www.mrxuri.com/2013/11/22/install-kvm-on-ubuntu-server-12-04-lts-and-create-a-virtual-machine.html
[2] http://www.howtoforge.com/virtualization-with-kvm-on-ubuntu-12.04-lts

Thursday, April 10, 2014

Latex recursos

Cuando queremos colocar varias imágenes en una misma fila [4] y [5], nos dan un ejemplo para colocar 3 imágenes en una, cada una usa comandos diferentes.

\begin{figure} 
  \begin{subfigure} [b]{0.3\textwidth}
     \includegraphics{}
  \end{subfigure}
  ...
\end{figure}

\begin{figure}
  \minipage{0.32\textwidth}
    \includegraphics{}
  \endminipage
  ...
\end{subfigure}

Cuando las imágenes se desordenan es decir no conservan el lugar que queremos podemos usar [6], que resumido seria:

\begin{figure}[htpb]
  ...
\end{figure}



Referencias:
[1] TexMaker   http://www.xm1math.net/texmaker/
[2] Other editor http://www.texniccenter.org/
[3] Manual/Lo necesario para trabajar con Latex(Crear Pdf)http://copa.uniandes.edu.co/software/latex/manual.html

[4] Floats, Figures, Captions http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions
[5] http://tex.stackexchange.com/questions/10245/how-to-order-3-images-horizontally
[6] http://stackoverflow.com/questions/518284/problem-with-float-and-pictures-in-latex

Virtual Printer over Ubuntu


$sudo apt-get install cups-pdf
$sudo /etc/init.d/cupsys restart
 
references
[1] http://ubuntuportal.com/2012/04/easy-way-to-create-pdf-printer-in-ubuntu-12-04.html
[2] http://ubuntuforums.org/showthread.php?t=140815

Latex over Ubuntu 12.04/Centos 6.5

Ubuntu
$sudo apt-get install texlive-full
$sudo apt-get install texmaker

Centos
#yum install tetex
#yum install texlive-*



references:
[1] http://www.linuxhispano.net/2010/11/16/instalar-latex-ubuntu/
[2] http://askubuntu.com/questions/392102/how-to-install-latex-in-ubuntu-13-10

Tuesday, April 08, 2014

Photoshop CS6 Over Ubuntu 12.04

1) Prerequisites
wine installed
winetricks installed

2) Add complements (this take many minutes)
$winetricks -q atmlib gdiplus ie6 vcrun2005sp1 vcrun2008 fontsmooth-rgb corefonts msxml3 msxml6 vcrun2010

3) Download Photoshop
https://www.dropbox.com/s/lzg1hdwwjsy0550/Adobe%20Photoshop%20CS6%20Extended-FOR-UBUNTU%20WIN.zip

4) Install using wine
$wine Adobe\ Photoshop\ CS6\ Extended.exe

5) Post install
$winetricks fontsmooth-rgb

 

references:
[1] https://www.winehq.org/download/ubuntu
[2] http://wiki.winehq.org/winetricks
[3] http://ibuxcomputer.wordpress.com/2013/10/24/como-instalar-photoshop-en-ubuntu-13-04/

Sunday, April 06, 2014

OpenCV Centos 6.5 VideoCapture doesn't work with video files

You need recompile

when  you make configure files
#cmake ..
Or
#cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_OPENGL=ON ..


Verify summary

# yum search ffmpeg

ffmpeg-devel.xxxx

gstreamer-ffmpeg.xxxx

# yum search gstreamer
gstreamer-devel.xxxx
gstreamermm.xxxx

install using yum

finally

export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib


references:
[1] http://prateekvjoshi.com/2013/10/18/package-opencv-not-found-lets-find-it/

Firefox open multiple private window

    /opt/firefox/firefox-bin --profile $(mktemp -d) --private-window www.google.com www.bing.com