Skip to content

Instantly share code, notes, and snippets.

View MarcL's full-sized avatar
🤖
Automating all the things with n8n

Marc Littlemore MarcL

🤖
Automating all the things with n8n
View GitHub Profile
@knowbody
knowbody / circle.yml
Created May 23, 2017 17:09
now.sh deployment CircleCI
deployment:
development:
branch: master
commands:
- URL=$(now -t ${NOW_TOKEN})
- now -t ${NOW_TOKEN} alias set ${URL} eedi-dev.now.sh
production:
branch: production
commands:
- URL=$(now -t ${NOW_TOKEN})
@MarcL
MarcL / README.md
Last active January 15, 2019 16:30
Move a BitBucket repository to GitHub

Move BitBucket repository to GitHub

As GitHub is now giving unlimited free private repositories to all users, you might want to move some of your private repositories to GitHub. Here's how you do it.

Create a new GitHub project

@joshuap
joshuap / tag.js
Created August 5, 2019 21:21
Netlify function to tag subscribers in ConvertKit
// Netlify function to tag subscribers in ConvertKit
// https://www.netlify.com/products/functions/
// POST to /.netlify/functions/tag?id={subscriberId} with JSON array of tag ids: `[{tagId}, {tagId}, ...]`
const request = require("request-promise");
const apiKey = process.env.CONVERTKIT_API_KEY;
const apiSecret = process.env.CONVERTKIT_API_SECRET;
exports.handler = function(event, context, callback) {
@tobi
tobi / kindle.rb
Last active September 25, 2022 02:37
Download your Kindle Highlights to local markdown files. Great for Obsidian.md.
#!/usr/bin/env ruby
# gem install active_support
require 'active_support/inflector'
require 'active_support/core_ext/string'
# gem install webrick (only ruby3)
require 'webrick'
# gem install mechanize