Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Ruben Carrascal krrskl

🏠
Working from home
View GitHub Profile
@krrskl
krrskl / dyld-ibrary-not-loaded.MD
Last active Jul 7, 2020
How to solve the error of dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.64.dylib
View dyld-ibrary-not-loaded.MD

How to solve the error of dyld Library not loaded

brew uninstall --ignore-dependencies node icu4c
brew install node

Try running this command

@krrskl
krrskl / auto_unfollow.js
Last active May 25, 2020
Unfollow all users of a profile in Instagram
View auto_unfollow.js
(() => {
let unfollowButtons = [];
const notUnFollowUsers = [];
const _getButtonsActions = () => document.querySelectorAll(".-nal3");
const _getUnfollowsButtons = () => [
...document.querySelectorAll(".sqdOP.L3NKy._8A5w5"),
];
const _confirmUnFollow = () => document.querySelector(".aOOlW.-Cab_").click();
const _getContainer = () => document.querySelector(".PZuss");
const _plusOrMinus = () => (Math.random() < 0.5 ? -1 : 1);
@krrskl
krrskl / auto_follow.js
Last active May 25, 2020
Follow users who have liked an Instagram post
View auto_follow.js
(() => {
let followButtons = [];
const _getUsers = () =>
document.querySelector(".sqdOP.yWX7d._8A5w5[type='button']");
const _getFollowsButtons = () => [
...document.querySelectorAll(".sqdOP.L3NKy.y3zKF"),
];
const _getContainer = () =>
document.querySelector(".Igw0E.IwRSH.eGOV_.vwCYk.i0EQd").children[0];
@krrskl
krrskl / Twitter: Delete tweets
Created Apr 24, 2020
This code is for delete all the tweets of your profile
View Twitter: Delete tweets
/**
* This code work in the https://mobile.twitter.com/YOUR_USERNAME/with_replies
*
*/
const _this = $;
const clickFirstElement = () => {
_this(
".css-18t94o4.css-1dbjc4n.r-1777fci.r-11cpok1.r-1ny4l3l.r-bztko3.r-lrvibr"
).click();
setTimeout(() => {
You can’t perform that action at this time.