Skip to content

Instantly share code, notes, and snippets.

View kcubero27's full-sized avatar
🎮

Karen Cubero kcubero27

🎮
View GitHub Profile
@kcubero27
kcubero27 / remove-tweets-and-undo-retweets.js
Created July 13, 2023 17:26
Remove Tweets and ReTweets
const scrollToBottom = () => {
window.scrollTo({ top: document.body.scrollHeight });
};
const sleep = (ms) => {
return new Promise((resolve) => setTimeout(resolve, ms));
};
const obtainTweets = () => {
return document.querySelectorAll("[data-testid='tweet']");
@kcubero27
kcubero27 / README.md
Last active December 1, 2021 09:17
Front End README

PROJECT NAME

Requirements

For development, you will only need Node.js installed on your environement. And please use the appropriate Editorconfig plugin for your Editor (not mandatory).

node > 12.0
npm >= 1.00
@kcubero27
kcubero27 / buy-me-a-coffee.md
Created February 14, 2020 12:57
Buy Me a Coffee Icon
We couldn’t find that file to show.

Hack your friends with JavaScript

Random orientations

Array.prototype.slice.call(  
  document.querySelectorAll(
    'div,p,span,img,a,body')).map(function(tag){
    tag.style['transform'] = 'rotate(' + (
    Math.floor(Math.random() * 3) - 1) + 'deg)';
});