Skip to content

Instantly share code, notes, and snippets.

@dbirks
dbirks / adminer-apache-ubuntu-16.04.md
Last active April 15, 2024 08:51
Install Adminer with Apache on Ubuntu 16.04

Adminer is in the repos, so install it with:

apt install adminer

Copy the configuration to your available configs folder and enable it.

cp /etc/adminer/apache.conf /etc/apache2/conf-available/adminer.conf
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys , os , random
import cv, cv2
import numpy as np
from numpy.lib.stride_tricks import as_strided
SSD_THRESHOLD = 80
SSD_RATIO_THRESHOLD = 0.95
NCC_RATIO_THRESHOLD = 0.95
@ravidsrk
ravidsrk / Install.md
Last active September 30, 2021 15:46
Deploying django application with gunicorn nginx mysql

Step One: Update Packages

sudo apt-get update
sudo apt-get upgrade

Step Two: Install and Create Virtualenv

sudo apt-get install python-virtualenv
sudo virtualenv /opt/myenv