Skip to content

Instantly share code, notes, and snippets.

View Mooussa's full-sized avatar
🙂

Moussa Coulibaly Mooussa

🙂
  • Bamako, Mali
  • 03:34 (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 October 23, 2024 13:56
How to delete `C:\ProgramData\Docker` and fixing "Access denied" errors

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

I created this gist on May 25, 2021. It is still an issue as of October 23, 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 August 16, 2024 10:22
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