View .eslintrc.js
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
module.exports = { | |
extends: [ | |
'airbnb-typescript', | |
'airbnb/hooks', | |
'plugin:@typescript-eslint/recommended', | |
'prettier', | |
], | |
parser: '@typescript-eslint/parser', | |
parserOptions: { | |
project: './tsconfig.json', |
View filebox.sh
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 | |
# fixes "Failed to initialize JavaFX. Please install JavaFX." | |
# $ ls -1 | |
# FileBot.jar | |
# filebot.sh | |
# javafx-sdk-11.0.2 | |
set -e |
View hb-test.py
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 python2 | |
# Quick and dirty demonstration of CVE-2014-0160 by Jared Stafford (jspenguin@jspenguin.org) | |
# The author disclaims copyright to this source code. | |
import sys | |
import struct | |
import socket | |
import time | |
import select |
View grab.c
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
// gcc grab.c -o grab -lX11 | |
// ugly hack to catch windows key before application and change i3 workspace if windows+[0-9] is pressed | |
// usage: grab winid_1 winid_2 ... | |
// example: | |
// grab `xwininfo -root -tree -int |grep " - Oracle VM VirtualBox" | awk '{print $1}'` | |
#include <X11/X.h> | |
#include <X11/Xlib.h> |