Skip to content

Instantly share code, notes, and snippets.

View speakman's full-sized avatar

Daniel Nyström speakman

  • Sweden
View GitHub Profile
<!DOCTYPE InputProfile>
<InputProfile>
<Creator>
<Name>Q Light Controller Plus</Name>
<Version>4.1.0</Version>
<Author>Daniel Nyström</Author>
</Creator>
<Manufacturer>Korg</Manufacturer>
<Model>nanoKONTROL2</Model>
<Channel Number="0">
#include <QApplication>
#include <QWebView>
#include <QWebPage>
#include <QUrl>
class WebView : public QWebView
{
Q_OBJECT
public:
WebView(QWidget *parent = 0);
@speakman
speakman / main.cpp
Created August 23, 2012 13:39
Qt Simple Browser
#include <QApplication>
#include <QWebView>
#include <QWebPage>
#include <QUrl>
QNetworkAccessManager nam;
class WebPage : public QWebPage
{
public:
@speakman
speakman / browser.pro
Created August 23, 2012 07:15
Minimal Web Browser
TARGET = extremely-simple-browser
QT += core gui webkit network
TEMPLATE = app
SOURCES += main.cpp
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking kb20.se (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests