- Acts 1:1-11 - You Will Be My Witness (https://subsplash.com/+frg2/media/mi/+wh84p5p)
- Acts 1:12-26 - The Twelfth Apostle (https://subsplash.com/+frg2/media/mi/+m86t9tq)
- Acts 2:1-41 - What Does This Mean?, part 1 (https://subsplash.com/+frg2/media/mi/+2t88vmg)
- Acts 2:22-41 - What Does This Mean?, part 2 (https://subsplash.com/+frg2/media/mi/+ttjwmsx)
- Acts 2:41-47 - Whole Hearted Devotion: A Common Faith (https://subsplash.com/+frg2/media/mi/+d3kbtyk)
- Acts 2:41-47 - Whole Hearted Devotion: A Common Life (https://subsplash.com/+frg2/media/mi/+xnfx6bh)
- Acts 3:1-26 - By Faith In His Name (https://subsplash.com/+frg2/media/mi/+yf7pq2y)
- Acts 4:1-31 - No Other Name (https://subsplash.com/+frg2/media/mi/+525sb72)
- Acts 4:31-5:11 - The Joy of Generosity and Danger of Greed (https://subsplash.com/+frg2/media/mi/+dskwhkz)
- Acts 5:12-42 - We Must Obey God Rather Than Man (https://subsplash.com/+frg2/media/mi/+55mcf2b)
This file contains hidden or 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 cmd | |
import ( | |
"fmt" | |
"os" | |
"github.com/spf13/cobra" | |
"github.com/spf13/viper" | |
) |
This file contains hidden or 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
# brew install gum | |
sdmreq() { | |
trap 'return 1' SIGINT | |
output=$(sdm access catalog) | |
array=() | |
# Check if output contains the expected header line | |
if [[ $output =~ ^ID.*Name.*Healthy.*Type.*Authentication.*Access.*Tags ]]; then | |
# Extract lines starting from the second line (excluding header) |
This file contains hidden or 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
const timePromise = <T>(p: Promise<T>, name: string): Promise<T> => { | |
const start = Date.now(); | |
return p.then((res) => { | |
console.log(name, 'took', Date.now() - start); | |
return res; | |
}); | |
}; |
This file contains hidden or 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
const crypto = require('crypto') | |
const webhookSecret = 'my-webhook-secret-that-i-put-in-github'; | |
/** | |
* | |
* @param rawBody {Buffer} the raw payload of the request | |
* @param sig {string} the x-hub-signature-256 header value | |
* @returns true if the signature matches | |
*/ | |
const validGithubSignature = (rawBody, sig) => { |