Skip to content

Instantly share code, notes, and snippets.

View dogukanarat's full-sized avatar
🎲
Programming

Doğukan Arat dogukanarat

🎲
Programming
View GitHub Profile
@arrieta
arrieta / lexer.cpp
Last active June 5, 2024 17:22
Simple C++ Lexer
// A simple Lexer meant to demonstrate a few theoretical concepts. It can
// support several parser concepts and is very fast (though speed is not its
// design goal).
//
// J. Arrieta, Nabla Zero Labs
//
// This code is released under the MIT License.
//
// Copyright 2018 Nabla Zero Labs
//
@lukas-h
lukas-h / license-badges.md
Last active June 9, 2024 16:08
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.

Notes

  • The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.

Translations: (No guarantee that the translations are up-to-date)

@dimitrs
dimitrs / flatten_label.py
Created June 15, 2014 13:32
Detect and flatten a label on a jar. Use both OpenCV-Python and SciKit-image since both are based on Numpy.
#Import both skimage and cv
from skimage import transform as tf
from skimage import io
import cv2
import numpy as np
from scipy import optimize
import matplotlib.pyplot as plt
# Could use either skimage or cv to read the image