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
#!/usr/bin/env python3 | |
# coding: utf-8 | |
# PYTHON_ARGCOMPLETE_OK | |
from email.utils import formatdate | |
from src.main import app | |
from uvicorn.config import Config | |
from uvicorn.main import Server | |
import argparse |
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
#!/usr/bin/env python | |
import i3 | |
outputs = i3.get_outputs() | |
workspaces = i3.get_workspaces() | |
# figure out what is on, and what is currently on your screen. | |
workspace = list(filter(lambda s: s['focused']==True, workspaces)) | |
output = list(filter(lambda s: s['active']==True, outputs)) |
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
import threading | |
import traceback | |
import subprocess | |
import os | |
import datetime | |
from pyvirtualdisplay.smartdisplay import SmartDisplay | |
from selenium import webdriver | |
from PIL import Image, ImageDraw, ImageFont |
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
#!/usr/bin/env python | |
# coding: utf-8 | |
# | |
# Credits to: Joanna Rutkowska | |
# http://theinvisiblethings.blogspot.fr/2011/04/linux-security-circus-on-gui-isolation.html | |
# | |
import sys, signal, re, collections | |
from subprocess import * |
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 HTML ID attribute validator | |
// @description Looks for duplicate IDs in DOM and alerts them | |
// @namespace all | |
// @grant none | |
// @include /^https?://.*/ | |
// @license GPLv3 or any later version (http://www.gnu.org/copyleft/gpl.html) | |
// @downloadURL https://gist.github.com/antirais/8853684/raw | |
// @updateURL https://gist.github.com/antirais/8853684/raw | |
// @version 1.3.3 |