Skip to content

Instantly share code, notes, and snippets.

// __ _
// __ _ _ __ _ __ / _|(_) __ _ _ _ _ __ ___ ___
// / _` || '_ \ | '_ \ | |_ | | / _` || | | || '__|/ _ \/ __|
// | (_| || |_) || |_) || _|| || (_| || |_| || | | __/\__ \
// \__,_|| .__/ | .__/ |_| |_| \__, | \__,_||_| \___||___/
// |_| |_| |___/
// VERSION 1.2
// Instructions: https://appfigures.com/support/kb/691/how-to-connect-appfigures-to-google-sheets
@rel
rel / Text Message Spam
Last active April 16, 2022 03:48
A list of phone numbers sending obvious spam text messages. This should help identifying patterns to block.
3123391227
3462871230
3465500806
4065950869
5614290739
6466185441
7863309682
7864920701
7864922115
7867345796
a
about
above
after
again
against
all
am
an
and
@rel
rel / collect_notes.scpt
Created December 19, 2017 15:57
A simple AppleScript (written in javascript) to collect notes from Apple Notes into a single html document for easy printing.
// options
var startDate = new Date(2017, 10, 1); // the start date for notes collection. Remember, in js January = 0.
var fileName = "notes.htm"; // the name of the file to create
// use the notes app
var notes = Application("notes");
var collected = [];
// collect notes modified after the start date
for(var i in notes.notes) {
// GET /reports/subscriptions?start_date=-30
{
"active_subscriptions": 10191,
"active_free_trials": 8001,
"new_subscriptions": 5413,
"cancelled_subscriptions": 310,
"new_trials": 1002,
"trial_upgrades": 301,
"trial_conversion_rate": "0.30",
@rel
rel / HTTP Response
Last active October 15, 2015 18:53
// GET /ratings
[
{
"product": 58582881,
"region": "US",
"date": "2015-09-07T00:00:00",
"stars": [
316,
277,
@rel
rel / keybase.md
Last active August 29, 2015 14:22

Keybase proof

I hereby claim:

  • I am rel on github.
  • I am rel (https://keybase.io/rel) on keybase.
  • I have a public key whose fingerprint is 8AEA 2348 10B9 9633 FFF9 482B 7E95 7069 52A3 B777

To claim this, I am signing this object:

@rel
rel / bash-prune-remote
Created January 31, 2013 00:23
A quick and dirty bash command to delete remote branches that have been merged into develop.
git branch -a --merged origin/develop | grep -v ^* | grep -v master | grep -v develop | sed s/remotes.origin.// | xargs -i{} git push origin :{}