This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use latest'; | |
import nodemailer from 'nodemailer@2.5.0'; | |
import request from 'request@2.81.0'; | |
module.exports = function(context, cb) { | |
const url = context.query.url; | |
const kindleAddress = context.query.address || context.secrets.KINDLE_ADDRESS; | |
if (!url) { | |
return cb(null, "missing url parameter"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"errors" | |
"fmt" | |
"math/rand" | |
"net/http" | |
"sync" | |
"time" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# If commit message does not refer to any CH story number, | |
# this hook will parse the CH story from the current branch and | |
# append it to the commit message | |
# | |
# Example: | |
# Branch: hassansin/ch1643/custom-subdomains | |
# commit message: add support for EU base urls | |
# appended commit message: Add support for EU base urls [ch1643] |
OlderNewer