Skip to content

Instantly share code, notes, and snippets.

View elinteerie's full-sized avatar
🏠
Working from home

Igwe Ugochukwu Michael Sylvester elinteerie

🏠
Working from home
View GitHub Profile
sudo mkdir /etc/ssl/private
sudo chmod 700 /etc/ssl/private
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/nginx-selfsigned.key -out /etc/ssl/certs/nginx-selfsigned.crt
##
sudo apt update
sudo apt install certbot python3-certbot-nginx
sudo certbot --nginx -d studentsdecides.com.ng -d www.studentsdecides.com.ng
@yrevar
yrevar / imagenet1000_clsidx_to_labels.txt
Last active June 19, 2024 11:32
text: imagenet 1000 class idx to human readable labels (Fox, E., & Guestrin, C. (n.d.). Coursera Machine Learning Specialization.)
{0: 'tench, Tinca tinca',
1: 'goldfish, Carassius auratus',
2: 'great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias',
3: 'tiger shark, Galeocerdo cuvieri',
4: 'hammerhead, hammerhead shark',
5: 'electric ray, crampfish, numbfish, torpedo',
6: 'stingray',
7: 'cock',
8: 'hen',
9: 'ostrich, Struthio camelus',