Skip to content

Instantly share code, notes, and snippets.

View kengoon's full-sized avatar
:octocat:
Awake to steal

Kenechukwu Akubue kengoon

:octocat:
Awake to steal
View GitHub Profile
@kengoon
kengoon / opengl-fix-hd-graphics-windows-10.md
Created December 11, 2022 07:06 — forked from rb-dahlb/opengl-fix-hd-graphics-windows-10.md
OpenGL fix for Intel HD Graphics 3000 on Windows 10

Fix for Open GL on Intel HD Graphics 3000 - Windows 10

The drivers for Intel HD Graphics 3000 in Windows 10 does not expose all Open GL capabilities of the GPU. So software relying on Open GL features not present in Open GL 1.1 will not work. Using older versions of Windows or Linux might work since the chip have more features than the driver exposes.

The fix is to add a compatibility shim using the Windows ADK software.

1. Download and install Windows ADK

Link: https://docs.microsoft.com/en-us/windows-hardware/get-started/adk-install

@kengoon
kengoon / kivy_pdf.py
Created February 4, 2022 03:50 — forked from tshirtman/kivy_pdf.py
a very limited pdf viewer implemented directly with kivy widgets, using pdfminer to get the content
# adapted from https://github.com/dpapathanasiou/pdfminer-layout-scanner
from os.path import exists
from tempfile import mkdtemp, mkstemp
from shutil import rmtree
from binascii import b2a_hex
from os import write, close
from threading import Thread
from pdfminer.pdfpage import PDFPage
@kengoon
kengoon / List-Of-Emergency-Telephone-Numbers
Created April 2, 2021 08:23 — forked from immujahidkhan/List-Of-Emergency-Telephone-Numbers
List of emergency telephone numbers JSON
[
{
"Country": {
"Name": "Afghanistan",
"ISOCode": "AF",
"ISONumeric": "4"
},
"Ambulance": {
"All": [
"112"
@kengoon
kengoon / install-pygtk.sh
Created January 19, 2021 04:34 — forked from mehcode/install-pygtk.sh
Install pygtk inside of a virtualenv
# Ensure we're in a virtualenv.
if [ "$VIRTUAL_ENV" == "" ]
then
echo "ERROR: not in a virtual environment."
exit -1
fi
# Setup variables.
CACHE="/tmp/install-pygtk-$$"
@kengoon
kengoon / calc.kv
Created October 12, 2020 21:02 — forked from tshirtman/calc.kv
BoxLayout:
orientation: 'vertical'
Label:
size_hint_y: None
height: '50dp'
id: calc
text: ''
GridLayout:
cols: 4