Skip to content

Instantly share code, notes, and snippets.

View rafalimaz's full-sized avatar
💭
I may be slow to respond.

Rafael Ponciano de Lima rafalimaz

💭
I may be slow to respond.
View GitHub Profile
@rafalimaz
rafalimaz / instagram-web-unfollow.js
Created January 20, 2020 20:31 — forked from lifenautjoe/instagram-web-unfollow.js
Script to unfollow people in the instagram website
/**
* Instagram web unfollow script
*
* WHAT IS IT?
* A script to unfollow people in the instagram website
*
* WHY?
* I needed to clean my account so I quickly did this
*
* HOW TO USE:
@rafalimaz
rafalimaz / MonitorNotWorkingUbuntu.txt
Last active July 31, 2023 18:16
Solve problem: Monitor not working with Ubuntu
After connect HDMI cable, the monitor was working with Windows System, but not working on Linux (I run dual boot on a Acer Predator)
My GPU is an RTX2060 and I also have Intel onboard card installed.
So I tried to check GPU nvidia driver and card status. In the Additional Drivers tab it was not showing any information. I tried to run
a lot of commands such as:
nvidia-settings
nvidia-smi
prime-select
xrandr
bumblubee
@rafalimaz
rafalimaz / JavaScriptAutomations.js
Last active July 31, 2023 18:16
Javascript automations
function youtubeSpeed(rate) {
document.getElementsByClassName("video-stream html5-main-video")[0].playbackRate = rate;
}
function y(rate) {
youtubeSpeed(rate)
}
function saveAllPosts() {
const postIdsSaved = JSON.parse(localStorage.getItem('allPosts')) || [];
@rafalimaz
rafalimaz / WhatsAppFakeNews.js
Last active July 31, 2023 18:15
Verificador de Fake News Whatzapp web
const div = document.querySelector('div[role="application"]');
const observer = new MutationObserver(function(mutations) {
//console.log(mutations)
let found = false;
mutations.forEach(function(mutation) {
console.log(1)
console.log(found)
if (found) return true;
const spans = mutation.target.querySelectorAll('span');
r i a d n
A E
d N t
r i
ô I d
m o
e M r
d f
A t e n A
a - 25 - Christmas vacation
b -
c -
d -
e -
f - 365 days christmas - Shrek
g - count 10 ugly my property (grandpa) - Home alone
h - buy my -
i - motherbaby gunblack - Christmas Story
j - spark