Skip to content

Instantly share code, notes, and snippets.

View phoemur's full-sized avatar

phoemur phoemur

  • Avaré-SP, Brazil
View GitHub Profile
@Univan-Ahn
Univan-Ahn / CMakeLists.txt
Last active October 7, 2024 11:09
Moving from QMake to CMake for Qt5 projects
cmake_minimum_required(VERSION 2.8.11)
project(Qt5App)
#
# Qt5 support
#
# general overview:
# * [Modern CMake with Qt and Boost](http://www.kdab.com/modern-cmake-with-qt-and-boost/)
# * [Using CMake with Qt 5](http://www.kdab.com/using-cmake-with-qt-5/)
@phoemur
phoemur / waitingbar.py
Last active September 15, 2015 01:54
This class prints a fancy waiting bar with greek chars and spins. It uses a thread to keep printing the bar while the main program runs
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
import sys
import threading
import time
from itertools import cycle