Skip to content

Instantly share code, notes, and snippets.

View SAW4's full-sized avatar

Sawa SAW4

  • Hong Kong
View GitHub Profile
@vannell
vannell / downloader.cpp
Created June 29, 2014 16:12
Qt download test
#include "downloader.hpp"
#include <QNetworkRequest>
#include <QNetworkReply>
#include <QUrl>
#include <QVariant>
#include <QDebug>
Downloader::Downloader(QObject *parent) :
QObject(parent)
{
@stuart11n
stuart11n / gist:9628955
Created March 18, 2014 20:34
rename git branch locally and remotely
git branch -m old_branch new_branch # Rename branch locally
git push origin :old_branch # Delete the old branch
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote
@bradley219
bradley219 / .gitignore
Last active December 24, 2025 17:34
PID C++ implementation
.DS_Store