Skip to content

Instantly share code, notes, and snippets.

View amcasari's full-sized avatar

amcasari amcasari

View GitHub Profile
@crwilcox
crwilcox / delete_twitter_direct_messages.js
Last active November 15, 2022 14:45
in_my_dms_deleting_all_the_things.
// Open 'Messages', then go to developer tools console, paste this in, and watch it do all the work
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
while (true) {
// Click first conversation "three dots" for dropdown menu
document.querySelector('[data-testid=conversation] div:has(+svg)').click();
@laurencee9
laurencee9 / draw_curved_edges.py
Last active July 9, 2019 19:34
Draw curved network edges in python
import numpy as np
import matplotlib.patches as mpatches
import networkx as nx
from matplotlib.patches import FancyArrowPatch as ArrowPath
from matplotlib.font_manager import FontProperties
def draw_curved_edges(edges, pos, ax, mu=0.05, edge_color="black", edge_width=1.0, alpha=1.0, arrow_scale=20.0, loopsize=0):
"""
@ascott1
ascott1 / foo-books-2016.md
Last active May 1, 2018 14:58
A list of books recommended to me at Foo Camp 2016
  • How We Got Here: A Slightly Irreverent History of Technology and Markets by Andy Kessler
  • Running Money: Hedge Fund Honchos, Monster Markets and My Hunt for the Big Score by Andy Kessler
  • Makers and Takers: The Rise of Finance and the Fall of American Business by Rana Foroohar
  • Nixonland: The Rise of a President and the Fracturing of America by Rick Perlstein
  • The Day of the Triffids by John Wyndham
  • Crucial Conversations: Tools for Talking When Stakes Are High by Kerry Patterson and Joseph Grenny
  • Getting to Yes: Negotiating Agreement Without Giving In by Roger Fisher and William L. Ury
  • Nonviolent Communication: A Language of Life, 3rd Edition: Life-Changing Tools for Healthy Relationships by Marshall B. Rosenberg
  • Getting More: How You Can Negotiate to Succeed in Work and Life by Stuart Diamond
  • Understanding Context: Environment, Language, and Information Architecture by Andrew Hinton
@debasishg
debasishg / gist:8172796
Last active August 24, 2024 13:55
A collection of links for streaming algorithms and data structures

General Background and Overview

  1. Probabilistic Data Structures for Web Analytics and Data Mining : A great overview of the space of probabilistic data structures and how they are used in approximation algorithm implementation.
  2. Models and Issues in Data Stream Systems
  3. Philippe Flajolet’s contribution to streaming algorithms : A presentation by Jérémie Lumbroso that visits some of the hostorical perspectives and how it all began with Flajolet
  4. Approximate Frequency Counts over Data Streams by Gurmeet Singh Manku & Rajeev Motwani : One of the early papers on the subject.
  5. [Methods for Finding Frequent Items in Data Streams](http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.187.9800&rep=rep1&t