Skip to content

Instantly share code, notes, and snippets.

View YF-Tung's full-sized avatar

Yu-Fan Tung YF-Tung

View GitHub Profile
@liam-middlebrook
liam-middlebrook / GLDebugMessageCallback.c
Last active March 26, 2024 13:06
GL Debug Output Message Callback Guide
// This is free and unencumbered software released into the public domain.
//
// Anyone is free to copy, modify, publish, use, compile, sell, or distribute
// this software, either in source code form or as a compiled binary, for any
// purpose, commercial or non-commercial, and by any means.
//
// In jurisdictions that recognize copyright laws, the author or authors of this
// software dedicate any and all copyright interest in the software to the
// public domain. We make this dedication for the benefit of the public at large
// and to the detriment of our heirs and successors. We intend this dedication
@YF-Tung
YF-Tung / brew_install_py36.txt
Created January 30, 2019 10:26
Roll back to python 3.6 on mac with homebrew
#!/bin/bash
brew unlink python
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/f2a764ef944b1080be64bd88dca9a1d80130c558/Formula/python.rb --ignore-dependencies
brew switch python 3.6.5_1