Skip to content

Instantly share code, notes, and snippets.

View pbadeer's full-sized avatar

Preston Badeer pbadeer

View GitHub Profile
@pbadeer
pbadeer / tails-spoof-mac
Created December 13, 2016 21:26
Mac Address Spoofer from Tails OS
#!/bin/sh
# Taken from https://git-tails.immerda.ch/tails/plain/config/chroot_local-includes/usr/local/lib/tails-spoof-mac
set -e
set -u
# This script spoofs or resets the MAC address of all NICs given as
# arguments according to the setting in Tails Greeter. The default (i.e
# before Tails Greeter has been run) is to enable MAC spoofing.
@pbadeer
pbadeer / keybase.md
Last active February 9, 2021 19:24
keybase.md

Keybase proof

I hereby claim:

  • I am pbadeer on github.
  • I am pbadeer (https://keybase.io/pbadeer) on keybase.
  • I have a public key whose fingerprint is F652 71BF 110C C287 CC9B C347 1971 ADA5 DA31 4C37

To claim this, I am signing this object:

Verifying my Blockstack ID is secured with the address 12vaPKSFbL8i7PG6DAaj6rgqKo3uMzFhk2 https://explorer.blockstack.org/address/12vaPKSFbL8i7PG6DAaj6rgqKo3uMzFhk2
@pbadeer
pbadeer / faker_profiles.csv
Last active February 28, 2020 21:17
Faker profile example
We can make this file beautiful and searchable if this error is corrected: It looks like row 4 should actually have 14 columns, instead of 13. in line 3.
,address,birthdate,blood_group,company,current_location,job,mail,name,residence,sex,ssn,username,website
0,"Unit 8844 Box 9135
DPO AP 22212",1948-03-05,AB+,"Ortiz, Macdonald and Garcia","(Decimal('20.884464'), Decimal('-89.069636'))","Scientist, audiological",matthew96@hotmail.com,Matthew Brown,"PSC 9977, Box 3192
APO AE 81546",M,018-64-1348,evan08,['http://thompson.com/']
1,"550 Nicholas Circles Suite 281
New Billyside, NC 08513",1924-08-11,B+,Durham PLC,"(Decimal('6.165901'), Decimal('-81.957409'))","Engineer, broadcasting (operations)",wagnerbobby@gmail.com,Alejandra Jimenez,"536 Jessica Roads
Johnfurt, WV 17986",F,573-54-3419,brendahudson,"['http://www.hobbs.biz/', 'https://www.guerrero.com/', 'https://reynolds.com/', 'http://good.com/']"
2,"9824 Sarah Expressway Suite 847
Lake Kevin, NM 96402",1920-09-05,AB+,Larson-Scott,"(Decimal('-86.1045925'), Decimal('101.289807'))",Data processing manager,gtaylor@yahoo.com,Timothy Bridges,"2042 Robinson Squares Apt. 392
Richardbury, ID 28363",M,397-28-9591,carterden
@pbadeer
pbadeer / deleteTwitterLikes.js
Created July 13, 2022 15:00
Delete (Unlike) All Twitter Likes
// 1. Go to your own profile on Twitter, then go to the "Likes" tab (twitter.com/username/likes)
// 2. Open the Developer tools in your browser (F12 or right click > Inspect Element), then go to the Console tab
// 3. Copy the one line of code below, and paste it into the console.
// 4. Press enter, then wait for it to complete. It will take a while! If it stops before completing, repeat steps 3-4.
setInterval(() => { for (const d of document.querySelectorAll('div[data-testid="unlike"]')) { d.click() } window.scrollTo(0, document.body.scrollHeight) }, 1000)
// Source: https://www.alphr.com/delete-all-twitter-likes/