You can use these checklists to ensure as few technical difficulties as possible so all your hard work is presented in the best way and without any distractions.
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
function getURLType ( url ) { | |
if (url.match(/Youtube URL Regex/g)) return 'youtube' | |
if (url.match(/MP4 URL Regex/g)) return 'mp4' | |
// Otherwise | |
return 'image' | |
} | |
const urlType = getURLType (url) |
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
============================================================================= | |
============================================================================= | |
DisplayLink macOS Application Release Note | |
Version: v1.3.0 | |
Build: posix/55-8038-gfe36308bc9e (111) | |
Date: 1st February 2021 |
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 fontVariationsUsed = new Set() | |
Array.from(document.querySelectorAll('*')).forEach( element => { | |
const computedStyle = window.getComputedStyle( element ) | |
const hasFontFamily = computedStyle.fontFamily.includes('Montserrat') | |
if ( hasFontFamily ) { | |
// Add variation to list | |
fontVariationsUsed.add(`${computedStyle.fontWeight} ${computedStyle.fontStyle}`) |
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
// .env | |
// CAPTCHA_SITE='...' | |
// CAPTCHA_SECRET='...' | |
import axios from 'axios' | |
// https://github.com/dlqs/serverless-captcha/blob/master/functions/captcha.js | |
export const scriptUrl = `https://www.google.com/recaptcha/api.js?render=${process.env.CAPTCHA_SITE}&onload=onRecaptchaLoadCallback` |
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
module.exports = { | |
purge: false, | |
theme: { | |
extend: { | |
colors: { | |
// The Words - Medium Black | |
medium_black: 'rgb(38, 38, 38)', | |
// The Canvas - White, | |
white: 'rgb(255, 255, 255)', |
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
<?xml version='1.0' encoding='UTF-8'?> | |
<feed | |
xmlns:yt="http://www.youtube.com/xml/schemas/2015" | |
xmlns="http://www.w3.org/2005/Atom"> | |
<link rel="hub" href="https://pubsubhubbub.appspot.com"/> | |
<link rel="self" href="https://www.youtube.com/xml/feeds/videos.xml?channel_id=UCB3jOb5QVjX7lYecvyCoTqQ"/> | |
<title>YouTube video feed</title> | |
<updated>2022-04-12T20:18:12.634792044+00:00</updated> | |
<entry> | |
<id>yt:video:UTVZ7IQ2Ggg</id> |
youtube-dl --write-auto-sub --sub-lang en --sub-format best --skip-download "https://www.youtube.com/watch?v=-qU6w9jqk94"
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
// Can be used with Run on Save - https://marketplace.visualstudio.com/items?itemName=emeraldwalk.RunOnSave | |
// Manually run with `npx tsx ./make-env-example.ts` | |
import { promises as fs } from 'node:fs' | |
( async () => { | |
// Read the .env file | |
const envContent = await fs.readFile( '.env', 'utf8' ) | |
const cleanEnvContent = envContent.split( '\n' ).map( ( line ) => { | |
// If the line has no =, then return it as is |
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
// 🚨 Running random code on your bank website | |
// is a popular way to commit fraud. 🚨 | |
// | |
// | |
// Although I wrote this with the intent | |
// to help people get their transactions | |
// out of their One accounts as CSV | |
// this script is given with no warranty | |
// and you should ask a developer that | |
// you trust to double check it to make |