Git Add user to local repository

user@Sys208:~/works/Project1/data-entry/Data-entry-tool$ git add -A && git commit -m “Initial Commit.” *** Please tell me who you are. Run git config –global user.email “you@example.com” git config –global user.name “Your Name” to set your account’s default identity. Omit –global to set the identity only in this repository. fatal: unable to auto-detect email address (got ‘user@Sys208.(none)’) To set…

Samples on Play

http://ics-software-engineering.github.io/play-example-mysql/ http://pedrorijo.com/blog/play-slick/   https://github.com/daxyonis https://alexgaribay.com/2014/06/16/authentication-in-play-framework-using-java/ Chat Application http://matthiasnehlsen.com/blog/2013/06/23/angularjs-and-play-framework/ Reactive, real-time log search with Play, Akka, AngularJS and Elasticsearch Forums built with Play https://github.com/hakandilek/publicplay https://devhub.io/repos/eljaydub-play2-crud http://www.programcreek.com/java-api-examples/index.php?source_dir=play2-crud-master/project-code/app/play/utils/crud/views/Utils.java#showField-FieldMetadata-fieldMetadata-Object-o Improving Play! 2.1 with Knockout.js   http://vyazici.blogspot.in/2012/03/chat-application-with-play-framework.html http://www.vdzon.com/2015/08/24/creating-a-web-application-with-play-akka-and-java/ http://geeks.aretotally.in/tag/play-framework-2/ https://dzone.com/articles/persistence-and-dao-testing-0 https://github.com/ianrae/mettle-framework https://www.toptal.com/java/building-modern-web-applications-with-angularjs-and-play-framework https://github.com/unterstein/play-knockout-sample http://www.ibm.com/developerworks/library/wa-playful-web-dev-1-trs-bluemix/   Optimizing Static Asset Loading with Play Framework FORMS https://github.com/JoseVte/template-api-rest-java-playframework.git https://github.com/opensas/play-demo/wiki/Step-6—styling-form JPA Neat Explanation of using JPA…

Real time scenarios on GIT

git clone https://github.com/beingsagir/play-java-spring-data-jpa.git git add -all : add all files new and modified locally git add -A && git commit -m “Comment formatting, 24 hour cache loader, api/contact.” add all files new and modified locally, commit them locally. How to see what has changed before actually doing commit # show differences between index and working…

Ubuntu not showing eclipse menu

Open your eclipse.desktop file: sudo -H gedit /usr/share/applications/eclipse.desktop (If you can’t find it in this path, try in ~/.local/share/applications/eclipse.desktop. Otherwise, you could have to find yours using locate command). Replace the Exec= line with this: Exec=env UBUNTU_MENUPROXY= eclipse Where “eclipse” is the path to your eclipse executable. In this case it’s just “eclipse” since there’s…

Setting up Play Development Environment on Ubuntu

# Configure apt for java # http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html apt-get update apt-get install -y python-software-properties add-apt-repository -y ppa:webupd8team/java echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections # Update apt sources apt-get update apt-get install -y unzip wget git vim oracle-java8-installer oracle-java8-set-default # Install scala cd /opt wget http://www.scala-lang.org/files/archive/scala-2.12.0.tgz tar -zxvf scala-2.12.0.tgz # end scala #Installing playframework on ubuntu…

How to Install MySQL – Ubuntu

  apt-get install –print-uris mysql-server > desktop http://in.archive.ubuntu.com/ubuntu/pool/main/libe/libevent/libevent-core-2.0-5_2.0.21-stable-2_amd64.debhttp://in.archive.ubuntu.com/ubuntu/pool/main/m/mysql-5.7/mysql-common_5.7.16-0ubuntu0.16.04.1_all.debhttp://in.archive.ubuntu.com/ubuntu/pool/main/liba/libaio/libaio1_0.3.110-2_amd64.debhttp://in.archive.ubuntu.com/ubuntu/pool/main/m/mysql-5.7/mysql-client-core-5.7_5.7.16-0ubuntu0.16.04.1_amd64.debhttp://in.archive.ubuntu.com/ubuntu/pool/main/m/mysql-5.7/mysql-client-5.7_5.7.16-0ubuntu0.16.04.1_amd64.debhttp://in.archive.ubuntu.com/ubuntu/pool/main/m/mysql-5.7/mysql-server-core-5.7_5.7.16-0ubuntu0.16.04.1_amd64.debhttp://in.archive.ubuntu.com/ubuntu/pool/main/m/mysql-5.7/mysql-server-5.7_5.7.16-0ubuntu0.16.04.1_amd64.debhttp://in.archive.ubuntu.com/ubuntu/pool/main/libh/libhtml-template-perl/libhtml-template-perl_2.95-2_all.debhttp://in.archive.ubuntu.com/ubuntu/pool/main/m/mysql-5.7/mysql-server_5.7.16-0ubuntu0.16.04.1_all.deb This will print out a bunch of URLs. You can download these from another computer, and transfer them to your Ubuntu machine, putting the .deb files into /var/cache/apt/archives. sudo apt-get install mysql-server And apt will find the package files you’ve downloaded, and install mysql.

Installing SBT on Ubuntu

Sbt is the default build tool for Scala. This post talks about steps to install sbt on ubuntu.   Steps to Install SBT on Ubuntu #Add typesafe repository wget http://apt.typesafe.com/repo-deb-build-0002.deb ` #Install the repository sudo dpkg -i repo-deb-build-0002.deb #Refresh sudo apt-get update #Install sbt sudo apt-get install sbt #check whether sbt is installed sbt Add…