Skip to content

Instantly share code, notes, and snippets.

View RoyBellingan's full-sized avatar

Roy Bellingan RoyBellingan

View GitHub Profile
@RoyBellingan
RoyBellingan / bingNO2.xml
Last active November 27, 2019 05:42
bingNO2.xml
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://bingads.microsoft.com/Reporting/v13" xmlns:ns2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:tns="https://bingads.microsoft.com/Reporting/v13" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Header>
<tns:AuthenticationToken>OMISSIS</tns:AuthenticationToken>
<tns:CustomerAccountId>XYZ</tns:CustomerAccountId>
<tns:CustomerId>XYZ</tns:CustomerId>
<tns:DeveloperToken>XYZ</tns:DeveloperToken>
</SOAP-ENV:Header>
@RoyBellingan
RoyBellingan / bingOk.xml
Created November 27, 2019 04:36
bingOk.xml
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://bingads.microsoft.com/Reporting/v13" xmlns:ns2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:tns="https://bingads.microsoft.com/Reporting/v13" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Header>
<tns:AuthenticationToken>OMISSIS</tns:AuthenticationToken>
<tns:CustomerAccountId>XYZ</tns:CustomerAccountId>
<tns:CustomerId>XYZ</tns:CustomerId>
<tns:DeveloperToken>XYZ</tns:DeveloperToken>
</SOAP-ENV:Header>
@RoyBellingan
RoyBellingan / bing.xml
Last active July 22, 2022 18:46
bing.xml
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:ns2="https://bingads.microsoft.com/Reporting/v13" xmlns:tns="https://bingads.microsoft.com/Reporting/v13" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Header>
<tns:AuthenticationToken>OMISSIS</tns:AuthenticationToken>
<tns:CustomerAccountId>XYZ</tns:CustomerAccountId>
<tns:CustomerId>XYZ</tns:CustomerId>
<tns:DeveloperToken>XYZ</tns:DeveloperToken>
</SOAP-ENV:Header>
@RoyBellingan
RoyBellingan / main.cpp
Last active August 22, 2019 00:17
9GUFilter
#include <QCommandLineOption>
#include <QCommandLineParser>
#include <QDebug>
#include <QLoggingCategory>
#include <QProcess>
#include <QRegularExpression>
#define QSL(str) QStringLiteral(str)
Partenza: Ryanair codice volo FR272, data 25 Jul 2019 orario 20:20 da Dublin arrivo 21:40 London Stansted
Casa: Tottenhall Rd, London N13 6DP, UK (telefono: +44 7411 746673)
Sala Assemblee: Bowes Rd, N11 2JG
Ritorno: Ryanair codice volo FR271, data Sun 28 Jul 2019 orario 22:05 da London Stansted arrivo 23:30 Dublin
Opzioni viaggio Aereoporto - Casa:

Giovedi 18

Ore 10:00

Partenza Roy e Dario a raccattare gli astanti!

Ore 11:00

Preso tutti, e fatto un pochino spesa per il viaggio (maggiormente per la colazione del giorno dopo!)

Ore 13:30

Arrivo stimato a Kinvarra <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d19147.44048716828!2d-8.957015392947719!3d53.13837591032794!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x485b9c0ac4659b1f%3A0xa00c7a997317d80!2sKinvara%2C+Co.+Galway!5e0!3m2!1sit!2sie!4v1562873537796!5m2!1sit!2sie" width="600" height="450" frameborder="0" style="border:0" allowfullscreen></iframe>, si scende e si va un poco a spasso, e si può mangiare li, o una cosina o per bene a scelta del gruppo.

////////////////////////////////////////////////////////////////////
//DeRap: Kio_KKiv_ACE\config.bin
//Produced from mikero's Dos Tools Dll version 6.88
//'now' is Sun Mar 03 23:14:50 2019 : 'file' last modified on Thu Jun 08 22:00:31 2017
//https://armaservices.maverick-applications.com/Products/MikerosDosTools/default
////////////////////////////////////////////////////////////////////
#define _ARMA_
class CfgPatches
// 10 10 10 20 20 20 30 30
//lower_bound (..., 20); ^
//upper_bound (..., 20); ^
@RoyBellingan
RoyBellingan / myMessageOutput1.cpp
Created October 29, 2018 16:48
myMessageOutput1
//QDebug send in stderr, but we want to use stdout
void myMessageOutput1(QtMsgType type, const QMessageLogContext& context, const QString& msg) {
QByteArray time = QDateTime::currentDateTime().toString(Qt::ISODate).toLocal8Bit();
QByteArray localMsg = msg.toLocal8Bit();
_IO_FILE* stream = nullptr;
switch (type) {
case QtDebugMsg:
stream = stdout;
break;
case QtInfoMsg:
@RoyBellingan
RoyBellingan / mySpam.cpp
Created October 21, 2018 00:09
mySpam.cpp
To link with both -lmysqlclient -lmysqld IN THIS ORDER!!!
This make the mysql query an ASYNCRONOUS so, we can send multiple query at the same time without having to wait for them...
The two lib MUST be of the same version and compiler... the two founded stock with the mariadb installation folder are ok (do do something like -L:/xxx/mariadb-xxx-linux-glibc_214-x86_64/lib -lmysqlclient -lmysqld ...)
Be warned that the debugger start time will considerably slow down -lmysqld is around 100Mb
Rember to create the my_default.h file! you can copy paste this https://github.com/google/mysql/blob/master/include/my_default.h