Skip to content

Instantly share code, notes, and snippets.

View MXP2095onetechguy's full-sized avatar
:electron:
doing things for fun!

MXPSQL Server 20953 onetechguy MXP2095onetechguy

:electron:
doing things for fun!
View GitHub Profile
// ==UserScript==
// @name Shutterstock Downloader for tampermonke(or tapLmonke)
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Shutterstock downloader script
// @author MXPServer 20953 Onetechguy
// @include https://www.shutterstock.com/image-photo/*
// @require https://code.jquery.com/jquery-latest.js
// @downloadURL https://gist.github.com/MXP2095onetechguy/596ed1edf3ec6a3f115ae354909f512b/raw/a5d7d8f4108b4a5c25ef846a8fe92dfa520c2192/Shutterstock%2520Downloader%2520for%2520tampermonke(or%2520tampermonke).user.js
// @updateURL https://gist.github.com/MXP2095onetechguy/596ed1edf3ec6a3f115ae354909f512b/raw/a5d7d8f4108b4a5c25ef846a8fe92dfa520c2192/Shutterstock%2520Downloader%2520for%2520tampermonke(or%2520tampermonke).user.js

How to make the BEL character

  1. (windows) echo [CTRL+G] > a.txt
  2. (Bash) tput bel
  3. (Bash) echo -e "\a"
  4. (Bash) echo -e "\a" > a.txt
  5. (Any) copy from a.txt and paste it
This file has been truncated, but you can view the full file.
data:image/gif;base64,R0lGODlhvwKQAvcAAAAAAAAAAA0BAwwHCwQPDwwKDA8OBxsDChAOER4PGxoPFgkfHhERFBsWFBQUGRsXHBoZHhsaExoXEDsFDSwKEz84HiwmGR0bIyIdJC0WKSgdKTweNw0vLhI/PRgpLCAgICIiKiwmLy8rKy0iITwtKzMrJykpMy4tOSklND83NjIxPj4+PjMwMDcqO1EHEncKG2gJF0sKKHQQPWUONUk6NkI1K1hLMXttO2JVPTY1Qzw7Szw1S0slRFotUkw5UWk0YHg8bn0RQhZPTBtfXB9vayR/e05FRE5MTFlFQkNCU0pCXV9TUlxbW2pVRWRbWnhaV21TS29hX3lnTm5HZmdgYG1sa39vbXNqan19fX1zc3pwakZfboULHpQNIbIPKKMOJdASL98TM8ERK+4VNpoWUo4USqwVTIlvVIdDe4dYfZh0aI59fIF4eIhnY6V8d8kVQp6LTL+oXLCMcqaQW8OWfM61Y//ge+nMcJZLiZZZiqVSl6VbmJZii7RapbN1qKVrmcNhssN/tdJpwMhxwuFwzvF43CiPii2fmTGvqTa/uDrPxz/f10Pv5kj/9l3u8nLd73+Uro2Kip+LiJWJh5yXl5+SirSHgrSKha+ZlqWXl7STj6yoqL+npLmqqbu7u9KemMOUjdChhdWrit69lNu3kc6tiMS0q8+1scm4uMK0tNWoo+Gpo/C1rvK7teS0rt/Dv/TDvf/fk9KJw/GL3fGD3PGU3vGd3+GQ0eaj4M/AwMvLy9vZ2dXJyffLxe/RzfvTzv/f2/zY0+XZ2Ovq6uji4vr6+vX09PHu7qWp22djgQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
@MXP2095onetechguy
MXP2095onetechguy / QAi.js
Created October 12, 2021 04:26
Quirky Ai
var angle = 0;
var right = true;
var sum = 0;
var x = 0;
var y = 0;
var swimSpeed = 45;
const avoidRange = 15;
@MXP2095onetechguy
MXP2095onetechguy / better-mavericks-iso.sh
Last active December 31, 2021 15:00 — forked from c0d3d-net/mavericks-iso.sh
Create a bootable ISO from the OS X Mavericks app
#!/bin/sh
# Better Mavericks ISO
# Tool that generates mavericks iso file
#
# Improved version of https://gist.github.com/MXP2095onetechguy/cfe9c91f15a59932a0774af84eb0777c
# MXPSQL wrote this fork on the last day of 2021
# Use temp to do it
# Create a bootable ISO from the OS X Mavericks app
# http://thezinx.com/misc/trend/create-bootable-dmg-iso-mavericks-app/
@MXP2095onetechguy
MXP2095onetechguy / Jifpad.java
Created March 28, 2022 03:09
A text pad that is multidocument in java with jshell
//usr/bin/env jshell --show-version --execution local "$0" "$@"; exit $?
// A JShell script for JIFpad (a text pad, multidocument)
import javax.swing.*;
JFrame jf = new JFrame("JIFPad");
JInternalFrame jif = new JInternalFrame();
int inty = 1;
jf.add(jif);
@MXP2095onetechguy
MXP2095onetechguy / mystrtok.h
Created May 13, 2022 08:24
A thread safe strtok function compatible with the POSIX strtok_r
#ifdef __cplusplus
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cstddef>
#else
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stddef.h>
#!/usr/bin/env python3
b = "abc"
a = b[::-1][::-1]
print(a, a is b)
@MXP2095onetechguy
MXP2095onetechguy / u_die.h
Created September 13, 2022 10:27
Die in C and C++
#if !(defined(__cplusplus) || defined(c_plusplus)
#include <stdio.h>
#include <stdlib.h>
#else
#include <cstdio>
#include <cstdlib>
#include <string>
#endif
@MXP2095onetechguy
MXP2095onetechguy / cpdb.h
Last active March 10, 2023 08:21
Copy Sqlite databases. Ripped from https://www.sqlite.org/backup.html
int CopyDatabase(sqlite3 *pDb1, sqlite3* pDb2){ /* Copy from pDb1 to pDb2 */
int rc; /* Function return code */
sqlite3 *pFile; /* Database connection opened on zFilename */
sqlite3_backup *pBackup; /* Backup object used to copy data */
/* Set up the backup procedure to copy from the "main" database of
** connection pFile to the main database of connection pInMemory.
** If something goes wrong, pBackup will be set to NULL and an error
** code and message left in connection pTo.
**