Skip to content

Instantly share code, notes, and snippets.

View requeijaum's full-sized avatar

Rafael Requião requeijaum

  • Salvador, BA - Brazil
View GitHub Profile
@requeijaum
requeijaum / install_amdgpu__vce_mesa_opencl.sh
Created April 21, 2023 00:45 — forked from 1337-server/install_amdgpu__vce_mesa_opencl.sh
Install amdgpu-pro packages on Debian (openCL, mesa, VCE) only.
#!/bin/bash
# -------------------------------------------------------------------------------------------------------------------------#
# 1st: Download the amdgpu-drivers from here: https://www.amd.com/de/support/kb/release-notes/rn-amdgpu-unified-navi-linux #
# -------------------------------------------------------------------------------------------------------------------------#
#=============================#
### CONFIG ###
# ADJUST VERSIONS ACCORDINGLY!
PACKAGE="amdgpu-pro"
@requeijaum
requeijaum / HowtodownloadConsumerIso.txt
Last active April 3, 2023 13:39 — forked from CHEF-KOCH/HowtodownloadConsumerIso.txt
Windows Redstone 4 (1803) - All download links - April Update
1. Open Chrome and search for User-Agent Switcher for Chrome extension, link https://chrome.google.com/webstore/detail/user-agent-switcher-for-c/djflhoibgkdhkhhcedjiklpkjnoahfmg and select Add to Chrome
2. After the extension is installed/added, click the User-Agent extension and change User-Agent to Safari or Android mode
3. Open this link https://www.microsoft.com/en-us/software-download/windows10ISO
4. You will see the April Update ISO files, select the language and bit what you want, finally you can download it using download manager
5. Done, that's all, the direct link are valid only 24 hours after you created them.
Mirrors are here via adguard:
https://tb.rg-adguard.net/public.php
@requeijaum
requeijaum / ublock-filtro-remover_paywall.md
Last active February 13, 2023 01:07
Remover Paywalls de sites de notícia e editoriais.

Segue lista customizada de filtro para o uBlock Origin

  • de onde veio isso? aqui!
  • adicionar link pro uBlock Origin - depende do seu navegador...
||paywall.estadao.com.br^

||estadao.com.br/paywall/*
@requeijaum
requeijaum / install-sixaxis_linux.sh
Last active April 10, 2022 20:58
DualShock 3/Sixaxis controllers on Ubuntu 18.04 (Bionic) - I'm getting problems with button mapping after all that. :^)
#!/bin/bash
# Pair DualShock3 controllers on Ubuntu 18.04.3 Bionic
# We need to get and build sixad and sixpair from RetroPie's fork
#
# Guide for 16.04 Xenial
# https://needforbits.wordpress.com/2017/05/10/dualshock-3-controller-ps3-sixaxis-gamepad-on-ubuntu-16-04/
#
sudo apt-get install dialog pkg-config build-essential pyqt4-dev-tools libusb-dev libbluetooth-dev python-dbus -y
# Older guide...?
# https://github.com/rdepena/node-dualshock-controller/wiki/Pairing-The-Dual-shock-3-controller-in-Linux-(Ubuntu-Debian)
@requeijaum
requeijaum / rodo_uv.md
Created April 8, 2022 16:40
Parte da pesquisa relacionada a Torre de Esterilização Compartimentalizada
@requeijaum
requeijaum / vncserver
Created December 13, 2021 19:18 — forked from Siot/vncserver
Custom vncserver script to load different xstartup for each VNC server
#!/usr/bin/env perl
#
# Copyright (C) 2009-2010 D. R. Commander. All Rights Reserved.
# Copyright (C) 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
# Copyright (C) 2002-2003 Constantin Kaplinsky. All Rights Reserved.
# Copyright (C) 2002-2005 RealVNC Ltd.
# Copyright (C) 1999 AT&T Laboratories Cambridge. All Rights Reserved.
#
# This is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@requeijaum
requeijaum / bot.py
Last active August 22, 2021 19:33
Bot kickador de bots para Telegram - invocar gogogo.sh via crontab
# https://stackoverflow.com/questions/52029026/telegram-python-bot-event-when-bot-is-added-to-a-group
# https://github.com/python-telegram-bot/python-telegram-bot
TOKEN = ""
from telegram.ext import Updater, MessageHandler, Filters
from telegram import Bot
import re
#!/bin/sh
if [ -z "$1" ]; then
echo "Syntax: $0 cheat.pnach"
exit 0
fi
if [ ! -r "$1" ]; then
echo "File $i doesn't exist or cant be read."
exit -1
@requeijaum
requeijaum / file_to_png.py
Created March 2, 2021 01:46 — forked from oldmota/file_to_png.py
Python script to convert any file to PNG and back, made just for fun
from sys import argv
from math import sqrt, ceil
from struct import pack, unpack
from PIL import Image
def file_to_image(data, ext):
size = pack(">I", len(data))
full_data = bytearray(ext + '\0', 'ascii') + size + data
@requeijaum
requeijaum / Cit0day.sites.lst
Created December 12, 2020 01:53 — forked from gvolluz/Cit0day.sites.lst
Cit0day breach, list of sites in Cit0day [_special_for_xss.is].txt and Cit0day Prem [_special_for_xss.is].txt (only dns, sorted, without duplicates)
0059.co.kr
007.no
007airsoft.com
008.vista.kz
01186mb.ca
012.ca
01nii.ru
0286776498.com
0286780777.com
02asat.photoherald.com