Skip to content

Instantly share code, notes, and snippets.

View bradlucas's full-sized avatar

Brad Lucas bradlucas

View GitHub Profile
@bradlucas
bradlucas / hadoop-map-reduce.clj
Created July 16, 2020 01:54 — forked from BertrandDechoux/hadoop-map-reduce.clj
Hadoop map-reduce explained with clojure map, reduce and mapcat using the word count example.
; Interested in a short introduction to hadoop mapreduce?
(declare mapreduce)
; Let's look at the "hello world job" ie word count.
(def input [
[1 "hadoop map-reduce explained"]
[2 "with clojure map, reduce and mapcat"]
[3 "using the world count example"]])
@bradlucas
bradlucas / list.md
Created November 2, 2020 12:43 — forked from ih2502mk/list.md
Quantopian Lectures Saved
@bradlucas
bradlucas / filter-branch-new-repo-from-folder
Created November 20, 2020 18:33 — forked from FabreFrederic/filter-branch-new-repo-from-folder
Splitting a subfolder out into a new repository
git filter-branch --prune-empty --subdirectory-filter my_folder_name
@bradlucas
bradlucas / delete.md
Created March 26, 2021 13:21 — forked from timwco/delete.md
LinkedIn: Delete Messages (April 2020)

What

LinkedIn is a valuable resource, but sometimes it sucks. One of those times is when you want to delete messages. You have to select each message one by one. It takes about 4 "clicks" to successfully delete a message.

This script should help. Since LI requires you to perform multiple steps, I decided to automate it for you. Once you initiate the script, it will run every second. If a message has the ability to be deleted, it will be. If not, it will be archived. Some "InMail" messages cannot be deleted on the web app. This script should work as long as LI doesn't change their page layout or element names, which will happen eventually.

Last tested: April, 29, 2020

Setup & Cavets