git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| # --- import the required packages | |
| import tensorflow | |
| from tensorflow.keras.preprocessing.image import ImageDataGenerator | |
| from tensorflow.keras.callbacks import EarlyStopping | |
| from tensorflow.keras.models import Model, Sequential | |
| from tensorflow.keras.layers import Conv2D, GlobalAveragePooling2D, MaxPool2D, Dense, Flatten, Dropout | |
| from tensorflow.keras.optimizers import Adam | |
| from tensorflow.keras.applications import VGG16 | |
| from keras.preprocessing import image | |
| import os |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| func InsertStudent(w http.ResponseWriter, r *http.Request) { | |
| var response Response | |
| db := Connect() | |
| defer db.Close() | |
| err := r.ParseMultipartForm(4096) | |
| if err != nil { | |
| panic(err) | |
| } |
| package controllers | |
| import ( | |
| "encoding/json" | |
| "log" | |
| "net/http" | |
| . "sip/configs" | |
| . "sip/models" | |
| ) |
| I'm using Ubuntu 12.04 and I'm following the Debian/Ubuntu way of dealing with config files. I presume you know how to work with sudo and such | |
| - Install last stable version of WordPress (in my case 3.6) with Subversion into /opt/wordpress/3.6 | |
| - create a symlink /opt/wordpress/stable ==> /opt/wordpress/3.6 | |
| - create a directory sites in /var/www/sites | |
| - create a directory specific for your site using the domain name e.g. /var/www/sites/example.com | |
| - create a directory wp-content in /var/www/sites/example.com | |
| - create a directory wordpress in /etc | |
| - create a directory named as you site's domain name, e.g. in /etc/wordpress | |
| - copy from /opt/wordpress/stable/wp-config-sample.php to /etc/wordpress/example.com/wp-config.php |