Skip to content

Instantly share code, notes, and snippets.

View ethanhs's full-sized avatar
🐍
▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀ꜚ

Ethan Smith ethanhs

🐍
▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀ꜚ
View GitHub Profile
@ethanhs
ethanhs / mjpegserver.py
Last active August 29, 2015 14:27 — forked from tito/mjpegserver.py
MJPEG Server module demo for Kivy
'''
Stream the Kivy window into a MJPEG HTTP server
===============================================
:Configuration:
`ip` : str, default to ''
By default, server will listen on all ips availables
`port` : int, default to 8000
TCP Port to listen
`fps` : int, default to 20
@ethanhs
ethanhs / game_loop.cpp
Created January 21, 2016 02:45 — forked from mariobadr/game_loop.cpp
A basic game loop using std::chrono
/*
* The MIT License (MIT)
*
* Copyright (c) 2016 Mario Badr
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
@ethanhs
ethanhs / README.md
Last active August 30, 2016 01:05 — forked from mottosso/PyQt5_members.json
Missing members of PySide2

Missing from PySide2, relative to PyQt5.

###Summary: A lot of QOpenGl in Qt5, a bit of QtNetworking perhaps, some QtDBus, and QtGui. QtCore has some functions that are not present, but most are utilities, which have Python alternatives.

Using https://doc.qt.io/qt-5/functions.html

These members are present in PyQt5, in these modules, but are missing in PySide2.