Skip to content

Instantly share code, notes, and snippets.

View joellobo's full-sized avatar

Joel Lobo joellobo

View GitHub Profile
curl -O https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.0.6.tgz
tar -zxvf mongodb-linux-x86_64-3.0.6.tgz
cd mongodb-linux-x86_64-3.0.6/bin
sudo ./mongod --dbpath /home/joellobo/Dev/database/mongodb/3.0.0/db
./mongo
http://askubuntu.com/questions/617097/mongodb-2-6-does-not-start-on-ubuntu-15-04
-----------------------
php -S localhost:8000
594 | 27/10/15 - 15:31:07 | node -v
595 | 27/10/15 - 15:31:44 | npm -v
596 | 27/10/15 - 15:34:43 | bower
597 | 27/10/15 - 15:34:51 | bower help
598 | 27/10/15 - 15:35:05 | sudo npm -g bower
599 | 27/10/15 - 15:35:22 | ,
600 | 27/10/15 - 15:35:39 | sudo npm -g install bower
601 | 27/10/15 - 15:37:18 | bower help
602 | 27/10/15 - 15:40:44 | cd ~/Desktop/joellobo/dev/
603 | 27/10/15 - 15:40:45 | ls
-- Linux information
cat /etc/lsb-release
-- List commands
compgen -c
-- renomear todos os arquivos de um diretorio
for f in * ; do mv "$f" "93_$f" ; done
-- contar quantidade de arquivos em um diretorio
@joellobo
joellobo / JPA
Created November 30, 2015 13:11
Especificação:
- JPA
Implementações:
- Hibernate
- OpenJPA
- EclipseLink
- BatooJPA
Bibliotecas:
- QueryDSL http://www.querydsl.com/
- uaiCriteria http://uaicriteria.com
jboss-eap-6.1/modules/system/layers/base/javax/faces/api/main/jboss-jsf-api_2.1_spec-2.1.19.1.Final-redhat-1.jar
jboss-eap-6.1/modules/system/layers/base/com/sun/jsf-impl/main/jsf-impl-2.1.19-redhat-1.jar
jboss-eap-6.2/modules/system/layers/base/com/sun/jsf-impl/main/jsf-impl-2.1.19-redhat-2.jar
jboss-eap-6.3
jboss-eap-6.4/modules/system/layers/base/javax/faces/api/main/jboss-jsf-api_2.1_spec-2.1.28.Final-redhat-1.jar
jboss-eap-6.4/modules/system/layers/base/com/sun/jsf-impl/main/jsf-impl-2.1.28.redhat-8.jar
Book
http://www.amazon.com/s/ref=sr_st_relevancerank?keywords=data+compression&rh=n%3A283155%2Ck%3Adata+compression&qid=1452035393&sort=relevancerank
http://pdf.th7.cn/down/files/1312/Handbook%20of%20Data%20Compression,%205th%20Edition.pdf
Wiki
https://en.wikipedia.org/wiki/Data_compression
https://en.wikibooks.org/wiki/Data_Compression
Conference
http://www.cs.brandeis.edu/~dcc/index.html
https://speakerdeck.com/fstab/java-8-efficient-use-of-multi-core-processors-with-lambdas-and-streams
JBoss EAP 6.1
├── commons-annotations
│   └── main
│   ├── hibernate-commons-annotations-4.0.1.Final-redhat-2.jar
│   └── module.xml
├── envers
│   └── main
│   ├── hibernate-envers-4.2.0.Final-redhat-1.jar
│   └── module.xml
├── main
@joellobo
joellobo / gist:84c71a012f8a1cca1331
Last active March 14, 2016 19:33
Versão do JSF no JBoss EAP 6.1 local
/home/64943127304/.m2/repository/com/sun/faces/jsf-api/2.1.0/jsf-api-2.1.0.jar
/home/64943127304/.m2/repository/com/sun/faces/jsf-impl/2.1.16-jbossorg-1/jsf-impl-2.1.16-jbossorg-1.jar