MD5: 59bab8f71f8c096cd3f72cd73851515d
Rename it to: Sublime Text
Make it executable with: chmod u+x Sublime\ Text
#elC - The elementary OS Combobulator - There are many issues within the community that tend to come up a lot. | |
#I know many of them are open bug reports, but until they are patched we can provide a consolidated list of work-arounds. | |
#I think this will be helpful for newcomers and veterans alike | |
#enable ppas | |
sudo apt install -y software-properties-common python3-software-properties python-software-properties | |
#install elementary tweaks | |
sudo add-apt-repository -y ppa:philip.scott/elementary-tweaks | |
sudo apt update -y |
var deleteall = async function() { | |
console.log("Undoing Retweets") | |
// Keep iterating until there's no retweet to do | |
while (retweet = document.querySelector('[data-testid="unretweet"]')) { | |
console.log(retweet) | |
retweet.click(); | |
// Sleep a bit to make sure the confirm prompt appeared | |
await new Promise(r => setTimeout(r, 1000)); | |
document.querySelector('[data-testid="unretweetConfirm"]').click() | |
// Sleep a bit again to make sure the tweet is unspawned from view |
I have ported this Gist to a handbook. I'll not maintain this Gist anymore, but will keep it here for future references. You can access the respective chapter in the handbook here.
In this guide you will find:
Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.
setInterval(() => {
for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
d.click()
}