Skip to content

Instantly share code, notes, and snippets.

View aaditkamat's full-sized avatar

Aadit Kamat aaditkamat

View GitHub Profile
@aaditkamat
aaditkamat / twitter-unfollow-all.js
Created April 22, 2022 00:33 — forked from oatycreates/twitter-unfollow-all.js
Unfollow All for Twitter
/*
* Unfollow All for Twitter
*
* Go to https://twitter.com/<YourUserName>/following and run the
* below code in the console to gradually unfollow all accounts
* you are following, this should play nice with any rate limiting.
* Built on current Firefox (2021-08-26) though may work for others.
*
* Author: https://twitter.com/OatyCreates
* Copyright 2021-Present @oatycreates
@aaditkamat
aaditkamat / instagram-unfollow-users.md
Created April 22, 2022 00:31 — forked from berstend/instagram-unfollow-users.md
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]
@aaditkamat
aaditkamat / sunfire-print.sh
Created March 31, 2021 10:09 — forked from AaronCQL/sunfire-print.sh
Cheatsheet for printing via Sunfire
# Login to Sunfire
ssh [email protected]
# Copy a local file to Sunfire
scp some_file.txt [email protected]:/home/e/e0123456/
# Copy a local directory to Sunfire
scp -r ./some_directory [email protected]:/home/e/e0123456/
# Convert PDF to PS file
@aaditkamat
aaditkamat / mac-setup.md
Last active July 21, 2020 01:56 — forked from orlando/mac-setup.md
Fresh Mac OS Setup

1. Run Software Update

Make sure everything is up to date in the App Store

2. Install Homebrew and Homebrew-Cask

  1. Open a terminal window and execute the Homebrew install script:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
@aaditkamat
aaditkamat / .travis.yml
Created May 24, 2020 10:39 — forked from sumn2u/.travis.yml
travis.yml build file for cypress
sudo: false
language: node_js
node_js:
- 10
addons:
apt:
packages:
# Ubuntu 16+ does not install this dependency by default, so we need to install it ourselves
@aaditkamat
aaditkamat / stdc++.h
Created July 16, 2019 14:27 — forked from velicast/stdc++.h
Linux GCC 4.8.0 /bits/stdc++.h header definition.
// C++ includes used for precompiling -*- C++ -*-
// Copyright (C) 2003-2013 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your option)
// any later version.
@aaditkamat
aaditkamat / .vimrc
Last active August 24, 2019 13:58 — forked from yunlingz/.vimrc
My vimrc for C++ and Python development
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
@aaditkamat
aaditkamat / iterm2-solarized.md
Created July 13, 2019 10:27 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k