Skip to content

Instantly share code, notes, and snippets.

View 1337hero's full-sized avatar

Mike Key 1337hero

View GitHub Profile
@1337hero
1337hero / uncheck-x-interests.js
Last active September 4, 2024 15:30
Uncheck Twitter/X interests
var counter = 0;
var wait = 2800;
var interests = $$('input:checked');
interests.forEach( (w) => {
var current = counter;
setTimeout(() => {
console.log(current + '/' + interests.length);
w.click();
}, wait * counter);
@1337hero
1337hero / fb-email-scraper.js
Created January 23, 2024 16:43
FB Email Scraper
function createCSV(data, fileName) {
const headers = [
'id',
'author_name',
'post',
'is_post',
'comment',
'is_comment',
'first_name',
'last_name',
@1337hero
1337hero / .gitignore
Created November 1, 2023 15:08
WordPress Generic Install - gitignore Template
/*
!.gitignore
# WordPress
!wp-content
wp-content/*
!wp-content/themes
wp-content/themes/*
!/wp-content/themes/YOUR-THEME-HERE/
@1337hero
1337hero / Monokai-Dark-Soda-Slack.md
Created July 4, 2018 18:15
Slack Theme - Monokai Dark Soda

Customize Slack Theme

  1. Open Slack Preferences
  2. Select Sidebar Themes
  3. Click the link customize your theme and share it with others
  4. In the text field below the color pickers, paste this code
#222222,#2F2F2F,#F92772,#f8f8f2,#2f2f2f,#c1c1c1,#a6e22e,#66D9EF

Slack loading messages for WanderSlack

  • Not all those who wander are lost.
  • It’s turtles all the way down.
  • Locating the required gigapixels to render…
  • Spinning up the hamster…
  • Shoveling coal into the server…
  • Programming the flux capacitor
  • the bits are breeding
  • we’re building the buildings as fast as we can
@1337hero
1337hero / wp-custom-script
Last active January 19, 2017 16:34
WordPress Custom Script
// Register Script
function scripts() {
wp_register_script( 'scripts', 'xxx.com', false, '1.0', false );
wp_enqueue_script( 'scripts' );
}
add_action( 'wp_enqueue_scripts', 'scripts' );