Skip to content

Instantly share code, notes, and snippets.

View LakithKarunaratne's full-sized avatar
:shipit:

Lakith LakithKarunaratne

:shipit:
View GitHub Profile
@davidteren
davidteren / nerd_fonts.md
Last active December 23, 2025 03:07
Install Nerd Fonts via Homebrew [updated & fixed]
@cecilemuller
cecilemuller / 2019-https-localhost.md
Last active December 17, 2025 23:35
How to create an HTTPS certificate for localhost domains

How to create an HTTPS certificate for localhost domains

This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.

Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).

@Guidoom
Guidoom / gist:d5db0a76ce669b139271a528a8a2a27f
Last active December 21, 2025 16:31
Sample odoo.conf file
[options]
#
# WARNING:
# If you use the Odoo Database utility to change the master password be aware
# that the formatting of this file WILL be LOST! A copy of this file named
# /etc/odoo/openerp-server.conf.template has been made in case this happens
# Note that the copy does not have any first boot changes
#-----------------------------------------------------------------------------
# Odoo Server Config File - TurnKey Linux
@kylehounslow
kylehounslow / client.py
Last active April 23, 2024 10:58
Send and receive images using Flask, Numpy and OpenCV
from __future__ import print_function
import requests
import json
import cv2
addr = 'http://localhost:5000'
test_url = addr + '/api/test'
# prepare headers for http request
content_type = 'image/jpeg'