This code reproduces QTBUG-49238.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim file:34 otherfile:1337 -> Open files at respective lines. And in tabs! | |
vim() { | |
declare -a args | |
let fcount=0 | |
hit_dashdash= | |
for arg in "$@" ;do | |
if [[ "$arg" =~ ^- && ! "$hit_dashdash" ]] ;then | |
args+=("$arg") | |
[[ "$arg" = "--" ]] && hit_dashdash=1 | |
continue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Facebook width adjustment | |
// @namespace https://gist.github.com/xim | |
// @description Make stuff wider on FB | |
// @include https://www.facebook.com/* | |
// @version 4 | |
// @grant GM_addStyle | |
// @downloadURL https://gist.githubusercontent.com/xim/6bef9b52ab831b981909/raw/fbwidth.user.js | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name mangareader zoom in as default | |
// @namespace https://gist.github.com/xim | |
// @description Zooms in on manga pages by default at mangareader.net | |
// @include http://www.mangareader.net/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
document.getElementById('img').removeAttribute('width'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# (C) 2008 Canonical Ltd. | |
# Author: Martin Pitt <[email protected]> | |
# License: GPL v2 or later | |
# modified by David D Lowe and Thomas Detoux | |
# Debian 7 support by pixline <[email protected]> | |
# It NEEDS /bin/bash, dash won't work (sed issues). | |
# | |
# Setup user and temporary home directory for guest session. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "grabberdialog.h" | |
#include <QDebug> | |
#include <QGuiApplication> | |
#include <QLabel> | |
#include <QPixmap> | |
#include <QPushButton> | |
#include <QScreen> | |
#include <QVBoxLayout> | |
#include <QWindow> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef ACTIVITY_NOTIFIER_H | |
#define ACTIVITY_NOTIFIER_H | |
void setIsActive(bool); | |
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Facebook remove all sponsored content | |
// @namespace https://gist.github.com/xim | |
// @description Removes all sponsored content. | |
// @include https://www.facebook.com/* | |
// @version 6 | |
// @downloadURL https://gist.githubusercontent.com/xim/ca63b8f8053517fc460b0b67508ed125/raw/facebook-sponsored-content-remover.user.js | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.user | |
Makefile* | |
.qmake.stash | |
release | |
debug | |
*.swp | |
*~ |