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
#Requires -Version 5.0 | |
# If you, for some odd reason, have a lot of different Firefox profiles (like I do), | |
# this script will create a shortcut for each one of them so you can use them easily | |
# Keep in mind that this script was made by a guy who didn't knew absolutely nothing about PowerShell | |
#----------------------------------------------------------------# | |
# This script will only work if you have Windows 7 SP1 or newer. # | |
# # |
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
/* | |
* 1. Compile it: gcc spam.c -lX11 -lXrandr -Wall -Wextra -Werror -std=c89 -O3 -pedantic-errors -o spam | |
* 2. Start monitoring the journal: journalctl -f | |
* 3. Run the program in a loop: while true; do ./spam && sleep 1; done | |
* 4. Observe the journal being spammed (GNOME-only) | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> |
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
/** | |
* Compile it: gcc monitors.c -lX11 -lXrandr -Wall -Wextra -Werror -std=c89 -O3 -pedantic-errors -o monitors | |
* Run it: ./monitors | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <errno.h> | |
#include <X11/Xlib.h> |
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 bash | |
# Script options that can be overriden via environment variables. | |
SUDO=${SUDO:-'sudo'} | |
CONTAINER_NAME=${CONTAINER_NAME:-'debian-warsaw'} | |
TARGET_DIR=${TARGET_DIR:-"/tmp/${CONTAINER_NAME}"} | |
NORMAL_USER=${NORMAL_USER:-'user'} | |
BANK_TEST_PAGE=${BANK_TEST_PAGE:-'https://seg.bb.com.br/home.html'} | |
##### Do not touch anything below this ##### |