Skip to content

Instantly share code, notes, and snippets.

View Accellular's full-sized avatar
🐴
馬井

Accellular Automata Accellular

🐴
馬井
View GitHub Profile
@Accellular
Accellular / main.cpp
Last active February 19, 2019 03:07
Measure elapsed time or time intervals in Qt
#include <QDebug>
#include <QElapsedTimer>
QElapsedTimer eTimer;
#ifdef Q_OS_WIN
#include <windows.h> // for Sleep
#endif
int main()
{
@Accellular
Accellular / bash-colors.md
Created August 30, 2016 12:58 — forked from iamnewton/bash-colors.md
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple
ttt tst