Skip to content

Instantly share code, notes, and snippets.

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

Cedric Lusiba cdvx

🏠
Working from home
  • kampala, Uganda
View GitHub Profile
@cdvx
cdvx / gist:730a65ae54b478656a522e0b83ed9968
Created September 4, 2024 13:00 — forked from thiagosf/gist:eb2ba7d24968873e745c61d2ee72c0d8
Export ERD (diagrams) from SequelPro

Export ERD (diagrams) from SequelPro

Install graphviz

sudo brew install graphviz

Open SequelPro, choose database and export dot file. Now, run the command:

@cdvx
cdvx / sudokuSolver.py
Created April 17, 2020 20:14
Sudoku solver python
import numpy as np
grid = [
[5,3,0,0,7,0,0,0,0],
[6,0,0,1,9,5,0,0,0],
[0,9,8,0,0,0,0,6,0],
[8,0,0,0,6,0,0,0,3],
[4,0,0,8,0,3,0,0,1],
[7,0,0,0,2,0,0,0,6],