Skip to content

Instantly share code, notes, and snippets.

In C++ we trust!

Vitaly kafeg

In C++ we trust!
View GitHub Profile
kafeg / main.cpp
Created Aug 25, 2021
Qt UTF-8 arguments, Windows
View main.cpp
#include <QCoreApplication>
#include <QDebug>
#include <windows.h>
#include <shellapi.h>
int utf8Main(int argc, char *argv[])
QStringList utf8Args;
for (int i = 0; i != argc; ++i)
kafeg / main.go
Last active Oct 16, 2020
Parser for Online Lada Sklad for all cities to find required car complectation (Ugly MVP)
View main.go
package main
import (
kafeg / admobctl.cpp
Last active Nov 11, 2015
Qt Quick QML AdMob Android iOS Realisation: (based on
View admobctl.cpp
#include "admobctl.h"
#include "QtAdMob/QtAdMobBanner.h"
#include "QtAdMob/QtAdMobInterstitial.h"
#include <QtQml>
#include <QDebug>
#include <QTimer>
AdMobCtl::AdMobCtl(QObject *parent) : QObject(parent)
m_Banner = CreateQtAdMobBanner();
kafeg / NavigationDrawer.qml
Last active Sep 7, 2015 — forked from jbache/NavigationDrawer.qml
Qt Quick Navigation Drawer
View NavigationDrawer.qml
Copyright (c) 2014 Cutehacks A/S
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 furnished to do so, subject to
the following conditions:
kafeg /
Created Sep 1, 2015
Simply python proxy
# demo:
# pip install html5lib beautifulsoup4
# -*- coding: utf-8 -*-
import BaseHTTPServer
import requests
import string
from bs4 import BeautifulSoup
def main():
httpd = BaseHTTPServer.HTTPServer(('', 8232), TMHandler)