Note
This no longer works in browser!
Note
This no longer works if you're alone in vc! Somebody else has to join you!
How to use this script:
- Accept the quest under User Settings -> Gift Inventory
# CLI | |
sudo apt update -y | |
sudo apt install -y \ | |
git curl docker.io \ | |
build-essential pkg-config autoconf bison rustc cargo clang \ | |
libssl-dev libreadline-dev zlib1g-dev libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev libjemalloc2 \ | |
libvips imagemagick libmagickwand-dev \ | |
redis-tools sqlite3 libsqlite3-0 libmysqlclient-dev \ | |
rbenv apache2-utils |
python -c "import torch; print(torch.cuda.is_available())" |
This script eases the process of downloading the audio files from Chirp Audiobooks.
It uses the browsers console to generate a list of URLs, and then provides a list of curl
or wget
commands to download them.
Tested with Firefox + Terminal on MacOS, and Firefox + PowerShell on Windows 10.
#! /usr/bin/env lnav -i | |
{ | |
"magento_log" : { | |
"title" : "Magento Log Format", | |
"description" : "Log format used in Magento 1.", | |
"url" : "https://gist.github.com/chrisvanderpoel/e19dcab8ce69bc9806a3", | |
"regex" : { | |
"basic" : { | |
"pattern" : "^(?<timestamp>[0-9]{4}\\-[0-9]{2}\\-[0-9]{2}\\T[0-9]{2}\\:[0-9]{2}\\:[0-9]{2}\\+[0-9]{2}\\:[0-9]{2})\\s(?<level>\\w+)\\s(?<component>\\(\\w+\\))\\:\\s(?<body>.*)$" | |
} |
import SwiftUI | |
struct ContentView: View { | |
@State var selectedIndex: Int? = nil | |
let options: [String] = ["Option1", "Option2"] | |
var body: some View { | |
PickerField("Select an option", data: self.options, selectionIndex: self.$selectedIndex) | |
} | |
} |
import discord | |
import asyncio | |
import speech_recognition as sr | |
from threading import Thread | |
# bot token and wit.ai api key | |
TOKEN = "" | |
WIT_AI_KEY = "" | |
# we need a sink for the listen function, so we just define our own |
const AWS = require('aws-sdk') | |
AWS.config.update({ region: process.env.AWS_REGION }) | |
const s3 = new AWS.S3() | |
const uploadBucket = 'test-bucket-357' // Replace this value with your bucket name! | |
const URL_EXPIRATION_SECONDS = 30000 // Specify how long the pre-signed URL will be valid for | |
// Main Lambda entry point | |
exports.handler = async (event) => { | |
return await getUploadURL(event) | |
} |