Skip to content

Instantly share code, notes, and snippets.

View CanTheAlmighty's full-sized avatar

Jose Canepa CanTheAlmighty

  • Turingo SpA
  • Chile
View GitHub Profile
@bluetidepro
bluetidepro / remove-advertisers.js
Last active December 29, 2023 06:27
Auto click "remove" on all facebook advertisers and Twitter interests
// I did this in Chrome...
//
// Go to https://www.facebook.com/ads/preferences/
// Click the "Advertisers" section to open it up.
// Click "See more" once
// Before doing anything else, just keep clicking space bar to trigger the "see more" button
// Do this for a bit until all the advertisers are loaded
// then run this below in the dev tools console...
// (It will take a few minutes, depending how many you have, and your browser may lock up, but once it's done you will see it auto clicked the "remove" X in the top right for all of them)
@CanTheAlmighty
CanTheAlmighty / rubyism.swift
Last active August 29, 2015 14:16
Swift Rubyisms
extension Int
{
func times(f :(Int) -> ())
{
for i in 0..<self
{
f(i)
}
}
}