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
// Name: Tinkaton Price | |
import "@johnlindquist/kit"; | |
import pokemon from "pokemontcgsdk"; | |
pokemon.configure({ apiKey: process.env["POKEMON_TCG_API_TOKEN"] }); | |
const cardId = "sv4pt5-167"; | |
const belowPrice = 3; |
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
// Name: image-resizer | |
import "@johnlindquist/kit" | |
const files = await drop("Drop folder of files to be resized here") |
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
require("dotenv").config(); | |
const fetch = require("node-fetch"); | |
const { DynamoDBClient } = require("@aws-sdk/client-dynamodb"); | |
const { | |
DynamoDBDocumentClient, | |
UpdateCommand, | |
ScanCommand, | |
} = require("@aws-sdk/lib-dynamodb"); | |
const ddbClient = new DynamoDBClient(); |
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
// Menu: Learn with Jason Search | |
// Description: Browse Learn With Jason Episodes | |
// Author: Benjamin Lannon | |
// Twitter: @lannonbr | |
let episode = await arg(`Search for an episode of Learn with Jason`, async () => { | |
const resp = await get('https://www.learnwithjason.dev/episodes.json') | |
return resp.data.episodes.map(episode => { | |
return { |
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
const easyMidi = require("easymidi"); | |
const launchpadInput = new easyMidi.Input( | |
"Launchpad Mini MK3 LPMiniMK3 MIDI Out" | |
); | |
const launchpadOutput = new easyMidi.Output( | |
"Launchpad Mini MK3 LPMiniMK3 MIDI In" | |
); |
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
const fs = require('fs') | |
function readFile(path) { | |
return fs.readFileSync(path, { encoding: 'utf8' }) | |
} | |
module.exports = { | |
readFile | |
} |
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
day | hour | value | |
---|---|---|---|
Sun | 0 | 2 | |
Sun | 1 | 2 | |
Sun | 2 | 3 | |
Sun | 3 | 3 | |
Sun | 4 | 4 | |
Sun | 5 | 2 | |
Sun | 6 | 2 | |
Sun | 7 | 2 | |
Sun | 8 | 2 |
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
on: push | |
name: Workflow | |
jobs: | |
work: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- id: base_check | |
name: check if repo is base | |
run: | |
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
name: Build on push | |
on: | |
push: | |
paths-ignore: | |
- ".github/**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
<style> | |
body { | |
width: 10000px; |
NewerOlder