Skip to content

Instantly share code, notes, and snippets.

View ldodds's full-sized avatar
🤓

Leigh Dodds ldodds

🤓
View GitHub Profile
@ldodds
ldodds / stats.rb
Created December 29, 2021 17:41
Quick script to count number of bookmarks recorded in pinboard
require 'dotenv/load'
require 'pinboard'
require 'csv'
pinboard = Pinboard::Client.new(:token => ENV["PINBOARD_TOKEN"])
CSV.open("stats.csv", "w") do |csv|
csv << ["YEAR", "POSTS", "VIA_POCKET"]
#I started social bookmarking in 2004 using del.icio.us, then pinboard from May 2013
#started logging read articles in Pocket to pinboard via IFTTT in mid-2018
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>General Zod</title>
<link>http://www.general.zod</link>
<description>General Zod's channel</description>
<item>
<title>General Zod's annoucement</title>
<link>http://genera.zod/video.mp4</link>
@ldodds
ldodds / about_tidal.txt
Created April 11, 2024 15:49
All of the software and licences used to build TIDAL for web (2024-04-10)
This file has been truncated, but you can view the full file.
-----
The following software may be included in this product: @aashutoshrathi/word-wrap, is-extglob, word-wrap. A copy of the source code may be downloaded from git+https://github.com/aashutoshrathi/word-wrap.git (@aashutoshrathi/word-wrap), git+https://github.com/jonschlinkert/is-extglob.git (is-extglob), git+https://github.com/jonschlinkert/word-wrap.git (word-wrap). This software contains the following license and notice below:
The MIT License (MIT)
Copyright (c) 2014-2016, Jon Schlinkert
Permission is hereby granted, free of charge, to any person obtaining a copy