Skip to content

Instantly share code, notes, and snippets.

@jordanpoulton
jordanpoulton / pair_programming_roles
Last active May 28, 2024 12:34
Pair Programming Role Definitions - Driver:Navigator
Driver:
-Write the code according to the navigator's specification
-Listen intently to the navigators instructions
-Ask questions wherever there is a lack of clarity
-Offer alternative solutions if you disagree with the navigator
-Where there is disagreement, defer to the navigator. If their idea fails, get to failure quickly and move on
-Make sure code is clean
-Own the computer / keyboard
-Ignore larger issues and focus on the task at hand
-Trust the navigator - ultimately the navigator has the final say in what is written
@xurizaemon
xurizaemon / RTExport
Created August 2, 2015 17:36
RescueTime Data Export
#!/usr/bin/env python
#-*- coding: utf-8 -*-
# RescueTime Data Exporter
# Dan Nixon
# 18/09/2011
import urllib
apiKey = "API_KEY"
@chtzvt
chtzvt / pocket_export.rb
Last active June 4, 2022 05:02
Simple script to save your entire Pocket list (unread + archived) in PDF form.
=begin
Pocket Export.rb
My first 'real' Ruby script (hello world)!
More info here: http://blog.ctis.me/2015/12/archiving-your-pocket-articles-with-ruby.html
DEPENDENCIES:
pocket_export requires the following gems:
curb
nokogiri
@aymericbeaumet
aymericbeaumet / delete-likes-from-twitter.md
Last active July 15, 2024 07:27
[Recipe] Delete all your likes/favorites from Twitter

Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.

  1. Go to: https://twitter.com/{username}/likes
  2. Open the console and run the following JavaScript code:
setInterval(() => {
  for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
    d.click()
 }
@routeback
routeback / notes.md
Last active June 19, 2024 10:15
SEC487 Notes
@jelmerderonde
jelmerderonde / athens-extensibility.md
Last active May 22, 2020 18:49
Athens – extensibility and end-user programmability

Introduction

This page describes some ideas I've tinkered with in the last year or so. They are by no means complete. I also don't consider this to be a concrete proposal. I do hope this piece can serve to jumpstart some discussion about how Athens could become a platform for more than just storing information.

Inspiration

I've drawn on several ideas and tools developed by other people:

Motivation

@veekaybee
veekaybee / searchrecs.md
Last active January 22, 2024 13:53
Understanding search and recommendations

How are search and recommendations the same, and how are they different?

TL;DR:

  • The design of both search and recommendations is to find and filter information
  • Search is a "recommendation with a null query"
  • Search is "I want this", recommendations is "you might like this"