This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.journaldev.com/3531/spring-mvc-hibernate-mysql-integration-crud-example-tutorial | |
# mysql databse (edit Person to PERSON) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://hellokoding.com/registration-and-login-example-with-spring-xml-configuration-maven-jsp-and-mysql/ | |
# issues | |
- appconfig-data.xml (windsow->preferences->xml->xml files->validation->uncheck(Honour all xml schema locations) | |
- login/registration/welcome.jsp (rightclick->project->targeted runtimes->check(server) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo modprobe -r psmouse | |
sudo modprobe psmouse proto=imps |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB | |
or | |
gpg2 --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB | |
curl -sSL https://get.rvm.io | bash -s stable --ruby | |
source /home/nimesh/.rvm/scripts/rvm | |
rvm get stable --autolibs=enable | |
rvm install ruby-2.6.6 | |
rvm --default use ruby-2.6.6 | |
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - | |
sudo apt-get install -y nodejs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install python3-venv | |
python3 -m venv testenv | |
django-admin startproject project_name | |
mv project_name/manage.py ./ | |
mv project_name/project_name/* project_name | |
rm -r project_name/project_name/ | |
sendgrid api key | |
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git rm --cached *.pyc | |
# Or, to untrack all .pyc files in a project recursively, | |
$ find . -name '*.pyc' | xargs -n 1 git rm --cached |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# configure | |
sudo apt install python3-dev | |
sudo apt-get install libmysqlclient-dev | |
sudo apt-get install mysql-client mysql-server | |
# for python version > 2 | |
sudo apt install python3-pip | |
pip install mysqlclient | |
# solve access denied error | |
sudo mysql |
OlderNewer