Skip to content

Instantly share code, notes, and snippets.

View Mooussa's full-sized avatar
🙂

Moussa Coulibaly Mooussa

🙂
  • Bamako, Mali
  • 21:00 (UTC -12:00)
  • X @Ingmocly
View GitHub Profile
@Mooussa
Mooussa / face_test1.py
Created June 24, 2022 19:29
Real time face recognition
#_____________________________________________________________________#
import face_recognition.build.lib.face_recognition.api as face_recognition
import cv2
import numpy as np
obama_image = face_recognition.load_image_file("obama.jpg")
obama_face_encoding = face_recognition.face_encodings(obama_image)[0]
@nicolaskopp
nicolaskopp / killDocker.md
Last active June 24, 2024 09:38
How to delete `C:\ProgramData\Docker` and fixing "Access denied" errors

How to delete C:\ProgramData\Docker and fixing "Access denied" errors

Still an issue in January 2024. Welcome to the future of web development. Take this Gist to rest and calm down.

Here is how to delete C:\ProgramData\Docker.

  1. Uninstall docker the normal way (yeah you may have already done that)
  2. Copy this:
@Syed-Hassaan
Syed-Hassaan / Set Up and Configure a Cloud Environment in Google Cloud Challenge Lab.txt
Last active March 5, 2024 08:39
Set Up and Configure a Cloud Environment in Google Cloud: Challenge Lab # GSP321
######################################################################################
## Set Up and Configure a Cloud Environment in Google Cloud: Challenge Lab # GSP321 ##
######################################################################################
====================== TASK 1: Create development VPC manually ======================
gcloud compute networks create griffin-dev-vpc --subnet-mode custom
gcloud compute networks subnets create griffin-dev-wp --network=griffin-dev-vpc --region us-east1 --range=192.168.16.0/20
@tommyod
tommyod / mealplanner.py
Last active August 8, 2022 22:58
Automatic planning of cheap, varied, nutritional meals
# -*- coding: utf-8 -*-
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
MEAL PLANNER - Automatic planning of cheap, varied, nutritional meals
---------------------------------------------------------------------
Summary
-------
This Python module uses optimization (Linear Programming) and stochastic methods to