Skip to content

Instantly share code, notes, and snippets.

View lovettbarron's full-sized avatar
🕶️
at night

Andrew Lovett-Barron lovettbarron

🕶️
at night
View GitHub Profile
@lovettbarron
lovettbarron / Cornell's Notes Template.md
Created February 12, 2024 18:49 — forked from skrymets/Cornell's Notes Template.md
Cornell Note Template for Obsidian
cssclass
cornell-note
Cues

Notes

The Cornell Note-taking System is a popular and effective method for organizing and summarizing information during lectures, readings, or any other form of learning.

@lovettbarron
lovettbarron / HelloWorld.ipynb
Created April 5, 2021 19:31
OT2 Hello World
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lovettbarron
lovettbarron / readme.md
Last active August 15, 2021 21:27
Remarkable2 Setup and KOReader

Thanks for testing StupdFits!

I'll be adding you as a tester on both Instagram (sync photos) and Facebook (login option, though not required).

Facebook

If you use Facebook, you can accept the facebook tester invite: https://developers.facebook.com/requests/

If you aren't using facebook, login using the Email method instead.

@lovettbarron
lovettbarron / audible-goodreads-import.py
Last active March 23, 2024 22:56
Audible Goodreads Importer
# So this is a somewhat manual but not nearly as manual as it could be process.
# First, follow the instructions here: https://www.themodernnomad.com/audible-statistics-extractor/
# Depending on how many pages, copy and paste the results into Excel
# (it will auto format, though you will need to remove the header)
# Before running
# Install the required libraries: pandas and isbntools
# Modify the read_excel argument to point at your file.
# Then point the to_csv argument to wherever you want to export to.
{"version":1,"resource":"file:///Users/albkeel/src/blog/2021-08-08_peripherals.md","entries":[{"id":"QNjG.md","source":"searchReplace.source","timestamp":1669600334646},{"id":"RQJu.md","source":"searchReplace.source","timestamp":1669642932664}]}
@lovettbarron
lovettbarron / README.md
Created February 25, 2019 13:41 — forked from twolfson/README.md
Terms of use and privacy policy evaluation
@lovettbarron
lovettbarron / ExportKindle.js
Created October 29, 2017 21:47 — forked from jkubecki/ExportKindle.js
Amazon Kindle Export
// The following data should be run in the console while viewing the page https://read.amazon.com/
// It will export a CSV file called "download" which can (and should) be renamed with a .csv extension
var db = openDatabase('K4W', '2', 'thedatabase', 1024 * 1024);
getAmazonCsv = function() {
// Set header for CSV export line - change this if you change the fields used
var csvData = "ASIN,Title,Authors,PurchaseDate\n";
db.transaction(function(tx) {

Keybase proof

I hereby claim:

  • I am readywater on github.
  • I am andrewlb (https://keybase.io/andrewlb) on keybase.
  • I have a public key whose fingerprint is 3BA0 44C6 D3F4 AF64 6A42 1013 2A84 27DC C797 BFF4

To claim this, I am signing this object:

@lovettbarron
lovettbarron / gist:11013707
Created April 17, 2014 21:54
"Dynamic" object.
$(this.el).find('.imagebuffer').each(function(key,val) {
// console.log($(val));
var r = function() { return $(val)[0].getBoundingClientRect();
};
var i = $(val).attr('src');
_this.sections.push({
rect: r,
img: i
});