postgres notes
-- use postgres in command line psql -d postgres -U postgres CREATE DATABASE databasename; -- by the way: to unzip zip use: -- unzip zipName.zip -d folderPath or unzip zipName.zip -- import database...
View ArticleCss Absolute Center
.Absolute-Center { width: 50%; height: 50%; overflow: auto; margin: auto; position: absolute; top: 0; left: 0; bottom: 0; right: 0; }...
View ArticleSonarQube for Javascript
Sonar Plugin http://docs.codehaus.org/display/SONAR/JavaScript+Plugin Example: http://nemo.sonarqube.org/dashboard/index/jquery
View ArticleContinuous Testing plugin for Eclipse
Infinitest is a Continuous Testing plugin for Eclipse and IntelliJ. Each time a change is made on the source code, Infinitest runs all the tests that might fail because of these changes.
View ArticleWant to beat the hackers at their own game?
Learn how hackers find security vulnerabilities! Learn how hackers exploit web applications! Learn how to stop them! http://google-gruyere.appspot.com/
View ArticlePlay with hidden field with WebScarab.
Before Check in Webscrab Proxy->Miscellaneous -> Reveal hidden fields in HTMl poages After
View ArticleWhy we (developers) cannot create the perfect application.
Why we (developers) cannot create the perfect application. The answer is simple. Because we don’t have ideal environment. We don’t have enough time, enough knowledge or people in team. In other words...
View ArticleWhy developers have problems with testing?
Why team needs testers to build project ? And I don’t mean guys who test application security or prepare acceptance tests. I mean guys (clickers),who spends their time only by clicking buttons and...
View ArticleMongoDB – Part 1
To start with mongodb you have to download mongo from this site next, you have to create: – folder (/home/USER_NAME/mongodb/) – configuration file (/home/USER_NAME/mongodb/mongod.conf). – and folder...
View ArticleMongoDB – Part 2
Comparison Query Operators The $in operator selects the documents where the value of a field equals any value in the specified array. $in: db.cats.find({color:{$in:['white','black']}}); not in: $nin:...
View ArticleQuickly copy a PostgreSQL database
sudo -u postgres pg_dump -Fc shop > shop_copy.dump sudo -u postgres psql postgres=# create database shop2; postgres=# \q sudo -u postgres pg_restore -d shop2 shop_copy.dump sudo -u postgres psql...
View ArticleVPS, Debian 8 install java 8
Base on post from digitalocean.com wget --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u5-b13/jdk-8u5-linux-x64.tar.gz sudo su mkdir /opt/jdk...
View ArticleVPS, Debian 8 install wildfly 9
Base on eveloper-should-know.tumblr.com Download WildFly and unpack binaries wget http://download.jboss.org/wildfly/9.0.1.Final/wildfly-9.0.1.Final.zip unzip wildfly-9.0.1.Final.zip -d /opt/ Create...
View ArticleVPS, Debian 8, wildfly 9 listening on all interfaces
to fix problem with interface, to expose server to world you have to change two things in standalone.xml add any interface <interface name="any"><any -address></any></interface>...
View ArticleVPS, Debian 8 install PostgreSQL 9.4
Base on digitalocean.com sudo apt-get update sudo apt-get install postgresql-9.4 postgresql-client-9.4 su - postgres or sudo -i - u postgres psql Example database with schema, user and table CREATE...
View ArticleThe lie of responsive app.
Library like boodstrap or foundation.zurb are great and powerful. Developer armed with that tools can create great responsive apps. What does responsively mean ? It means, that our app should looks...
View ArticleDocker. no such file or directory / Is your docker daemon up and running?
Small problem with docker start. Sometimes when we execute this: sudo docker run hello-world We revise this: Post http:///var/run/docker.sock/v1.20/containers/create: dial unix /var/run/docker.sock: no...
View ArticleDocker and jboss
First we have to download base wildfly images to do this, execute this command: sudo docker pull jboss/wildfly After few minutes, when image will be on your disk, you can check if base wildfly images...
View ArticleVPS, Debian 8 install Apache2
Install Apache2 on Debian apt-get update apt-get install apache2 Restart Apache2 service apache2 restart Install mod_proxy sudo apt-get install libapache2-mod-proxy-html apt-get install libxml2-dev...
View ArticleHandbook for Product Manager – How to kill your project.
Rule 1 – Unit tests are evil. Your project doesn’t need them. Development team need time to prepere them and you know that, they have better things to do. More, unit tests doesn’t add any new features...
View Article