This file contains 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
download and install android studio | |
Open android studio click configure icon, select SDK Manager | |
Download needed SDK platform | |
add your path to terminal ~/.bash_profile | |
export PATH=${PATH}:/Users/donny/Documents/android/sdk/platform-tools:/Users/donny/Documents/android/sdk/tools | |
export ANDROID_HOME=/Users/donny/Documents/android/sdk |
This file contains 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
install rest frame work | |
``` | |
pip install djangorestframework | |
``` |
This file contains 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
activate source | |
``` | |
pip install django-otp | |
``` |
This file contains 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
1. activate your django virtual environment | |
2. navigate your project directory (not necessary) | |
3. install ipython via pip | |
``` | |
pip install ipython | |
``` | |
4. install django extension via pip | |
``` | |
pip install django-extensions | |
``` |
This file contains 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
ng serve --host=192.168.0.113 |
This file contains 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
clone mezzanine any directory | |
``` | |
https://github.com/stephenmcd/mezzanine.git | |
``` | |
create you virtualenv for your project | |
``` | |
virtualenv -p /usr/local/bin/python3.6 virtual_project_name | |
``` | |
activate your source |
This file contains 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
``` | |
psql -h localhost -d dummy; | |
``` | |
``` | |
dummy=# create role ammaindia with CREATEDB CREATEROLE CREATEUSER LOGIN PASSWORD 'ammaindia'; | |
``` | |
``` | |
create database dabase_name owner ammaindia |
This file contains 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
google block email from low security application, so we want to enable access email from low security application | |
login as your email and click the below link and and test your application | |
now email send successfully | |
https://accounts.google.com/DisplayUnlockCaptcha | |
and make sure you enable access to lower security applications. |
This file contains 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
``` | |
npm install -g @angular/cli | |
``` | |
``` | |
npm install @angular/cli | |
``` | |
``` | |
ng update @angular/cli |
This file contains 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
gps timestamp | |
``` | |
t = '1530430370491' | |
``` | |
``` | |
gps_time_stamp = (int(t) / 1000) | |
time_stamp = datetime.fromtimestamp(gps_time_stamp) | |
``` |
OlderNewer