Skip to content

Instantly share code, notes, and snippets.

@berstend
berstend / instagram-unfollow-users.md
Last active December 23, 2023 14:37
Mass unfollow users on Instagram (no app needed)
  • Go to your profile on instagram.com (sign in if not already)
  • Click on XXX following for the popup with the users you're following to appear
  • Open Chrome Devtools and Paste the following into the Console and hit return:
(async function(){
  const UNFOLLOW_LIMIT = 800
  const delay = (ms) => new Promise(_ => setTimeout(_, ms))
  const findButton = (txt) => [...document.querySelectorAll("button").entries()].map(([pos, btn]) => btn).filter(btn => btn.innerHTML === txt)[0]
@cfarm
cfarm / GDI Town Hall questions
Created January 11, 2019 17:44
GDI Town Hall Jan 11, 2019 12pm questions
GDI Town Hall
QUESTIONS
GDI Town Hall
Jan 9 – 11, 2019
#8688
46 questions
Popular
<?php
/*
Plugin name: SameSite Cookies
Description: A WordPress plugin for using SameSite=Lax with auth cookies
*/
add_filter('send_auth_cookies', function () {
return false;
});
@abachman
abachman / code-and-coffee.sh
Last active February 22, 2018 23:08
FEB 2018 code-and-coffee
#!/usr/bin/env bash
echo -e "\e[93m"
echo " _ _ __ __ ";
echo " ___ ___ __| | ___ __ _ _ __ __| | ___ ___ / _|/ _| ___ ___ ";
echo " / __/ _ \ / _\` |/ _ \_____ / _\` | '_ \ / _\` |_____ / __/ _ \| |_| |_ / _ \/ _ \\";
echo " | (_| (_) | (_| | __/_____| (_| | | | | (_| |_____| (_| (_) | _| _| __/ __/";
echo " \___\___/ \__,_|\___| \__,_|_| |_|\__,_| \___\___/|_| |_| \___|\___|";
echo " ";
echo -e "\e[94m"
@nickytonline
nickytonline / .gitconfig
Last active February 17, 2021 03:34
Git Aliases
alias.a add .
alias.aliases config --get-regexp alias
alias.bi bisect
alias.ci commit -m
alias.co checkout
alias.colast checkout -
alias.db branch -D
alias.laf fsck --lost-found
alias.last log -1 HEAD
alias.nb checkout -b
@gktowle
gktowle / two-digit-states.txt
Created May 10, 2016 16:55
List of Two-Digit 50 US States
AL
AK
AZ
AR
CA
CO
CT
DE
DC
FL
@neutraltone
neutraltone / gulpfile.js
Last active January 25, 2018 03:22
A gulp task for creating SVG sprites, loading them into your template with AJAX and styling them with CSS
/**
* Gulp Packages
* =============
* Import our gulp packages.
*/
import gulp from 'gulp';
import svgmin from 'gulp-svgmin';
import svgstore from 'gulp-svgstore';
import cheerio from 'gulp-cheerio';
.main-header{
height: 3rem;
border: none !important;
background: #1D1F21;
color:#ccc;
box-shadow: none;
}
.CodeMirror-gutters{
border-right: solid 1px #e6e9eb;
}
@imjasonh
imjasonh / markdown.css
Last active February 12, 2024 17:18
Render Markdown as unrendered Markdown (see http://jsbin.com/huwosomawo)
* {
font-size: 12pt;
font-family: monospace;
font-weight: normal;
font-style: normal;
text-decoration: none;
color: black;
cursor: default;
}
@addyosmani
addyosmani / README.md
Last active April 2, 2024 20:18 — forked from 140bytes/LICENSE.txt
108 byte CSS Layout Debugger

CSS Layout Debugger

A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.

One-line version to paste in your DevTools

Use $$ if your browser aliases it:

~ 108 byte version