-
Find the Discord channel in which you would like to send commits and other updates
-
In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe!
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 http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Swiper</title> | |
<link | |
rel="stylesheet" | |
href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css" |
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
/* https://www.aceternity.com/components/card-rotation */ | |
import { motion } from "framer-motion"; | |
import { | |
HiCodeBracketSquare, | |
HiMagnifyingGlass, | |
HiMapPin, | |
HiTag, | |
HiWindow, | |
} from "react-icons/hi2"; | |
import { useEffect, useRef, useState } from "react"; |
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
#!/usr/bin/env python | |
''' | |
Send an multipart email with HTML and plain text alternatives. The message | |
should be constructed as a plain-text file of the following format: | |
From: Your Name <your@email.com> | |
To: Recipient One <recipient@to.com> | |
Subject: Your subject line | |
--- |
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
label(for='country') Country: | |
select#propertyType.select.form-control.input-lg(form='addProperty', name='country') | |
option(value='Canada', selected= memberInfo.country == 'Canada') Canada | |
option(value='Germany',selected= memberInfo.country == 'Germany') Germany | |
option(value='France' ,selected= memberInfo.country == 'France') France | |
option(value='Switzerland', selected= memberInfo.country == 'Switzerland') Switzerland | |
option(value='United Kingdom', selected= memberInfo.country == 'United Kingdom') United Kingdom | |
option(value='United States', selected= memberInfo.country == 'United States') United States | |
option(value="Afghanistan", selected= memberInfo.country == 'Afghanistan') Afghanistan | |
option(value="Åland Islands", selected= memberInfo.country == 'Åland Islands') Åland Islands |
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
ffmpeg -f concat -safe 0 -i concat.txt -c copy 1.wav | |
contact.txt: | |
file '/Users/julian/OMATA Dropbox/Julian Bleecker/NEAR FUTURE LABORATORY/Podcast/EPISODE TBD - PAULINA YURMAN/1-3.wav' | |
file '/Users/julian/OMATA Dropbox/Julian Bleecker/NEAR FUTURE LABORATORY/Podcast/EPISODE TBD - PAULINA YURMAN/1-4.wav' |
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
ffmpeg -i 220803_002_0001.WAV -filter_complex 'channelsplit=channel_layout=4.0[C1][D2][C3][C4]' -map '[C1]' 1.wav -map '[D2]' 2.wav -map '[C3]' 3.wav -map '[C4]' 4.wav |
TLDR: Use for...of
instead of forEach
in asynchronous code.
Array.prototype.forEach
is not designed for asynchronous code. (It was not suitable for promises, and it is not suitable for async-await.)
For example, the following forEach loop might not do what it appears to do:
If you don't know anything about JSON, please, spend some time on learning JSON structure.
Recommended sources:
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
/** | |
_____ __ __________ _____ | |
___ | / /__________ ________ ___ ____/___ ___ /____ _____________ | |
__ |/ /_ _ \ __ `/_ ___/ __ /_ _ / / / __/ / / /_ ___/ _ \ | |
_ /| / / __/ /_/ /_ / _ __/ / /_/ // /_ / /_/ /_ / / __/ | |
/_/ |_/ \___/\__,_/ /_/ /_/ \__,_/ \__/ \__,_/ /_/ \___/ | |
______ ______ _____ | |
___ / ______ ___ /____________________ __ /__________________ __ | |
__ / _ __ `/_ __ \ __ \_ ___/ __ `/ __/ __ \_ ___/_ / / / | |
_ /___/ /_/ /_ /_/ / /_/ / / / /_/ // /_ / /_/ / / _ /_/ / |
NewerOlder