Skip to content

Instantly share code, notes, and snippets.

View hXR16F's full-sized avatar

zaktabyte hXR16F

View GitHub Profile
@elleryq
elleryq / import_vagrant_box_into_vbox.sh
Last active January 6, 2022 17:18
Import Vagrant box into VirtualBox
#!/bin/bash
BOX=$1
if [ -z $BOX ]; then
echo "Need argments."
exit -1
fi
if [ ! -e $BOX ]; then
@joepie91
joepie91 / vpn.md
Last active June 6, 2024 16:23
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.
@varlen
varlen / lcd.py
Last active April 18, 2024 00:02
Writing on LCD Display using Python and Arduino. Requires pyfirmata module.
from pyfirmata import Arduino, util, STRING_DATA
board = Arduino('COM6')
board.send_sysex( STRING_DATA, util.str_to_two_byte_iter('Hello!') )
def msg( text ):
if text:
board.send_sysex( STRING_DATA, util.str_to_two_byte_iter( text ) )
@mlocati
mlocati / win10colors.cmd
Last active May 14, 2024 19:29
ANSI Colors in standard Windows 10 shell
@echo off
setlocal
call :setESC
cls
echo %ESC%[101;93m STYLES %ESC%[0m
echo ^<ESC^>[0m %ESC%[0mReset%ESC%[0m
echo ^<ESC^>[1m %ESC%[1mBold%ESC%[0m
echo ^<ESC^>[4m %ESC%[4mUnderline%ESC%[0m
Canidae
Felidae
Cat
Cattle
Dog
Donkey
Goat
Guinea pig
Horse
Pig
@matdombrock
matdombrock / Python-Arduino.md
Last active May 12, 2024 05:14
Simple Arduino Serial Monitor - Python

what's this??

A simple set of scripts for getting output from an Arduino to act is input for Python.

how to use?

  • Install python3
  • Install pyserial
  • adjust monitor.py to include your COM location as the COM variable (ie COM3 or /dev/ttyACM0)
  • run with python monitor.py --monitor (You may have to run as root on linux)

what are these numbers?

@osipxd
osipxd / !paper-versions.md
Last active June 8, 2024 07:40
Paper versions links
@SPIKEYPUP
SPIKEYPUP / promptexamples.txt
Last active July 1, 2023 21:37
Win10-Ansi Color For Prompt and More!
Credits: This is just a modification on the primary code for their prompt YT theme; made by hXR16F on their repo at github.com/hXR16F/hyperial
Elevated Blinking
$E[05m$E[40m$E[94m░▒▓$E[103m$E[34m$S$T$H$H$H$S-$E[31m$E[7m%username%$E[7m$E[36m$E[7m[@%computername%]$E[7m$E[0m$E[05m$E[40m$E[94m▓▒░$S$E[40m$E[31m░▒▓$E[41m$E[1;93m$S$P$S$E[40m$E[31m▓▒░$S$E[0m
Non-Elevated (No Blinking)
$E[40m$E[94m░▒▓$E[103m$E[34m$S$T$H$H$H$S-$E[31m$E[7m%username%$E[7m$E[36m$E[7m[@%computername%]$E[7m$E[0m$E[40m$E[94m▓▒░$S$E[40m$E[31m░▒▓$E[41m$E[1;93m$S$P$S$E[40m$E[31m▓▒░$S$E[0m
Usage:
@wberdowski
wberdowski / Popcat no-click bot POC.js
Last active December 8, 2023 04:38 — forked from DaWe35/Popcat click bot.js
Ban-proof popcat bot
/*
1) Open https://popcat.click
2) Open console (F12 or CTRL+SHIFT+I)
3) Insert code & run
4) Monitor bot progress in the console
Note: popcat.click server registers only 800 pops every 30 seconds per IP address (that's why this bot is slow and runnig it in multiple tabs won't work).
If you'll send 800 or more clicks 10 times in a row, you'll get banned for 12 hours ("ban" cookie is set).
This bot addresses this issue and will NOT get you banned.
@K4zoku
K4zoku / screenshot.sh
Last active January 14, 2022 09:40
A small script to perform basic screenshot operations on x11 and wayland
#!/usr/bin/env sh
##########################################################################################
# #
# ███████╗ ██████╗██████╗ ███████╗███████╗███╗ ██╗███████╗██╗ ██╗ ██████╗ ████████╗ #
# ██╔════╝██╔════╝██╔══██╗██╔════╝██╔════╝████╗ ██║██╔════╝██║ ██║██╔═══██╗╚══██╔══╝ #
# ███████╗██║ ██████╔╝█████╗ █████╗ ██╔██╗ ██║███████╗███████║██║ ██║ ██║ #
# ╚════██║██║ ██╔══██╗██╔══╝ ██╔══╝ ██║╚██╗██║╚════██║██╔══██║██║ ██║ ██║ #
# ███████║╚██████╗██║ ██║███████╗███████╗██║ ╚████║███████║██║ ██║╚██████╔╝ ██║ #
# ╚══════╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚══════╝╚═╝ ╚═══╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ #