sudo apt install mysql-server
Login to MySQL and create a new user with the following command
| package main | |
| import ( | |
| "context" | |
| "flag" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "os" | |
| "os/signal" |
| # for live streaming using vlc using rtsp | |
| rtsp://<ip-here>/cam/realmonitor?channel=01&subtype=00 |
| <VirtualHost *:80> | |
| DEFINE BASE /home/ubuntu/project | |
| DEFINE STATIC /home/ubuntu/project/static | |
| DEFINE MEDIA /home/ubuntu/project/media | |
| DEFINE PROCESS_NAME appname | |
| DEFINE INTERNAL Project_Name | |
| ServerName example.com | |
| ServerAdmin [email protected] |
| package com.example.drfUser; | |
| import android.content.Context; | |
| import android.util.Log; | |
| import android.widget.Toast; | |
| import com.android.volley.VolleyError; | |
| import com.civilmachines.drfapi.DjangoErrorListener; | |
| import org.json.JSONObject; |
| while true; do sensors ; sleep 1; clear ; done |