Nuke My Friends
Simple JavaScript to follow/unfollow people on twitter.
Setting up
Go to www.twitter.com/following
In browser console, use
setInterval(function() { window.scrollTo(0, document.body.scrollHeight); }, 2000);
/* | |
A Succinct Trie for Javascript | |
By Steve Hanov | |
Released to the public domain. | |
This file contains functions for creating a succinctly encoded trie structure | |
from a list of words. The trie is encoded to a succinct bit string using the | |
method of Jacobson (1989). The bitstring is then encoded using BASE-64. | |
// ==UserScript== | |
// @name Bloggie Clapjacker | |
// @namespace http://tampermonkey.net/ | |
// @version 0.3 | |
// @description Find and hijack claps on bloggie.io posts | |
// @author You | |
// @match *://bloggie.io/@*/* | |
// @grant none | |
// ==/UserScript== |
function permutations(list) { | |
// Empty list has one permutation | |
if (list.length == 0) return [[]]; | |
var result = []; | |
for (var i = 0; i < list.length; i++) { | |
// Clone list (kind of) | |
var copy = Object.create(list); |
#app.wrap | |
-// input(type='number', v-model='amount' v-on:change="newColors") | |
.bg | |
.colors() | |
button.refresh(v-on:click="newColors"). | |
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" viewBox="0 0 23 23" version="1.1" x="0px" y="0px"><path d="M 12.109896,2.9653518 C 10.830826,2.9134678 9.5257058,3.132602 8.2817758,3.648946 c -3.9806,1.652399 -6.2540499,5.897846 -5.4179699,10.123046 0.8360799,4.2253 4.5540699,7.274132 8.8613301,7.269532 a 0.9995584,1.0006417 14.999899 1 0 0,-2 c -3.3667302,0 -6.2475202,-2.360557 -6.9004002,-5.660157 -0.65294,-3.2997 1.11025,-6.592765 4.22266,-7.884765 3.1124002,-1.292 6.6825102,-0.213669 8.5488302,2.582031 1.85391,2.77709 1.49946,6.460477 -0.8418,8.845703 l 0.0781,-2.36 |
Simple JavaScript to follow/unfollow people on twitter.
Go to www.twitter.com/following
In browser console, use
setInterval(function() { window.scrollTo(0, document.body.scrollHeight); }, 2000);
#!/bin/python3 | |
""" | |
A python script to nuke tweets in your account using tweet history | |
@requirements: tweepy, python-dotenv | |
""" | |
from os import getenv | |
from os.path import join, dirname | |
from dotenv import load_dotenv |
// copypaste this script in console of page | |
// https://www.linkedin.com/mynetwork/invite-connect/connections/ | |
// | |
// script to visit all connection pages on linkedin | |
// you may have to manually scroll the page to load all connection data | |
// or use the linkedin api | |
(function(){ | |
// nodes containing profile url in href attribute | |
// linkedin now uses ember.js |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
/** Predictable Layout */ | |
.mostly-everything { | |
box-sizing: border-box; | |
} | |
.maybe-everything { | |
position: relative; | |
} | |
/** Smooth Animations */ | |
.enter { |
{"js":{"code":"const store = new Vuex.Store({\n state: {\n num: 0\n },\n \n mutations: {\n plus: (state) => {\n state.num += 1\n },\n \n minus: (state) => {\n state.num -= 1\n }\n }\n});\n\nconst app = new Vue({\n name: \"App\",\n \n template: `\n <div>\n <p>{{num}}</p>\n <button @click=\"plus\">+</button>\n <button @click=\"minus\">-</button>\n </div>\n `,\n \n computed: { ...store.mapState([\"num\"]) },\n methods: { ...store.mapMutations([\"plus\", \"minus\"]) }\n});\n\napp.$mount(\"#app\");\n","transformer":"js"},"css":{"code":"","transformer":"css"},"html":{"code":"<!DOCTYPE html>\n<html>\n<head>\n <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=device-width\">\n <title>Vuex-lite - demo</title>\n <script src=\"https://unpkg.com/vue@2.5.13/dist/vue.js\"></script>\n <script src=\"https://unpkg.com/vuex-lite@0.1.2/dist/vuex-lite.min.js\"></script>\n</head>\n<body>\n <div id=\"app\"></div>\n</body>\n</html>","transformer":"html"},"show |