- use this tutorial: http://fancybox.net/howto
- if it's an image
- if the URL of the fancyBoxed doesn't end with it's extention, e.g. .png, .jpg
- you need to specify the image type on your js:
- $(document).ready(function() {
$(".fancybox").fancybox({type : "image"});
});
Monday, November 17, 2014
How to use fancyBox
Tips:
Monday, November 10, 2014
How to install and run QtiPlot on Linux
Download Demo/Evaluation version on this website:
http://www.qtiplot.com/download.html
For running, just execute the qtiplot executable file under the root directory
./qtiplot-0.9.8.7/qtiplot
I had the following problem. Due to x86 x64 compatibility, the library libGLU.so.1 x86 version was not installed.
./qtiplot-0.9.8.7/qtiplot: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory
To solve:
sudo apt-get install libglu1-mesa:i386 - or try to get libglu-1XXX (other version)
http://www.qtiplot.com/download.html
For running, just execute the qtiplot executable file under the root directory
./qtiplot-0.9.8.7/qtiplot
I had the following problem. Due to x86 x64 compatibility, the library libGLU.so.1 x86 version was not installed.
./qtiplot-0.9.8.7/qtiplot: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory
To solve:
sudo apt-get install libglu1-mesa:i386 - or try to get libglu-1XXX (other version)
Thursday, October 30, 2014
Mint 15
General
Add on "Vimium"
Add on "BlockSite"
Unity (sudo apt-get install unity gnome-session)
Preload (Software Manager)
Video
Bumblebee Project
Configs
Desabilitar Plugin:
No terminal, digite: gksu gedit. Edit > Preferences > Plugins > and uncheck the File Browser Panel
Add on "Vimium"
Add on "BlockSite"
Unity (sudo apt-get install unity gnome-session)
Preload (Software Manager)
Video
Bumblebee Project
Configs
Desabilitar Plugin:
No terminal, digite: gksu gedit. Edit > Preferences > Plugins > and uncheck the File Browser Panel
Sunday, October 26, 2014
How to reverse engineer from a Mysql database with Hibernate
http://www.mkyong.com/hibernate/how-to-generate-code-with-hibernate-tools/
Thursday, October 23, 2014
Aprendizados da aula SBVB 23/10
- Não usar o netbeans com a pasta CATALINA_HOME na pasta oculta do netbeans (~/.netbeans/...).
- adicionar mysql.driver
- No tomcat, adicione o driver .jar na pasta tomcat/lib
- No netbeans, ir em libs e adicionar o driver (isto no menu lateral esquerdo, na aba "Projects"
- Depois, usar o código "Class.forName...". OBS: Se os dados da conexão estiverem errados, vai dar um erro de classNotFoundException
- "automatic Lucas's method"
- Usar o "automatic Lucas's method" para quando buildar, copiar automaticamente o arquivo para a pasta do tomcat
- vá no seu projeto>nbproject>axis2-build
- na tag xml '<target name="axis2-deploy-dir"...' copie toda a tag interna "<copy>" e cole dentro da tah '<target name="axis2-aar" depends="compile">'.
- Agora, da tag '<copy>' copiada, altere a propriedade 'toDir' para o diretório aonde o arquivo .aar do seu service deve estar (o meu foi: /usr/share/tomcat-7.0.34/webapps/axis2/WEB-INF/services)
Sunday, October 19, 2014
How to install netbeans with axis2 and tomcat
https://www.youtube.com/watch?v=PQw4YJ20x4o
Attention:
Download netbeans >7.4 (older than 7.4)
Remember to alter the users from the netbeans folder, not from tomcat
YOURACCOUNTNAME/.netbeans\7.1.2\apache-tomcat-7.0.22.0_base\conf (explanation: http://stackoverflow.com/questions/14942691/403-access-denied-on-tomcat-7-to-access-host-manager)
Attention:
Download netbeans >7.4 (older than 7.4)
Remember to alter the users from the netbeans folder, not from tomcat
YOURACCOUNTNAME/.netbeans\7.1.2\apache-tomcat-7.0.22.0_base\conf (explanation: http://stackoverflow.com/questions/14942691/403-access-denied-on-tomcat-7-to-access-host-manager)
Subscribe to:
Posts (Atom)