Head on over to your YouTube live Events page (https://www.youtube.com/my_live_events).
Create a new live event that is unlisted (or private) and of Custom type.
Under Basic ingestion choose 1500 Kbps - 4000 kbps (720p).
Check the Enable 60fps box.
| // Types for the result object with discriminated union | |
| type Success<T> = { | |
| data: T; | |
| error: null; | |
| }; | |
| type Failure<E> = { | |
| data: null; | |
| error: E; | |
| }; |
| #!/bin/bash | |
| # A simple script for converting files between CSV and Parquet formats using DuckDB. Requires DuckDB installation. | |
| convert_file() { | |
| local input_file="$1" | |
| local output_extension="$2" | |
| # Extracting the filename without extension | |
| local base_name=$(basename -- "$input_file") | |
| local name="${base_name%.*}" |
| import { getAuth, withClerkMiddleware } from "@clerk/nextjs/server"; | |
| import { NextResponse, NextFetchEvent } from "next/server"; | |
| import type { NextRequest } from "next/server"; | |
| import { Ratelimit } from "@upstash/ratelimit"; | |
| import { Redis } from "@upstash/redis"; | |
| // Add public paths for Clerk to handle. | |
| const publicPaths = ["/", "/sign-in*", "/sign-up*", "/api/blocked"]; | |
| // set your rate limit. |
| import { Injectable } from '@angular/core'; | |
| import { HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'; | |
| import { filter, switchMap } from 'rxjs/operators'; | |
| @Injectable() | |
| export class ApolloInterceptor implements HttpInterceptor { | |
| constructor(private myAuthService: AuthService) { | |
| } |
| const MY_DOMAIN = "agodrich.com" | |
| const START_PAGE = "https://www.notion.so/gatsby-starter-notion-2c5e3d685aa341088d4cd8daca52fcc2" | |
| const DISQUS_SHORTNAME = "agodrich" | |
| addEventListener('fetch', event => { | |
| event.respondWith(fetchAndApply(event.request)) | |
| }) | |
| const corsHeaders = { | |
| "Access-Control-Allow-Origin": "*", |
| version: 2 | |
| jobs: | |
| build: | |
| docker: | |
| - image: circleci/android:api-28-node | |
| working_directory: ~/repo | |
| environment: | |
| JVM_OPTS: -Xmx3200m | |
| steps: | |
| - checkout |
Head on over to your YouTube live Events page (https://www.youtube.com/my_live_events).
Create a new live event that is unlisted (or private) and of Custom type.
Under Basic ingestion choose 1500 Kbps - 4000 kbps (720p).
Check the Enable 60fps box.
| SetEnvIf Request_URI "^(.*)" PORT=65300 | |
| RewriteEngine On | |
| RewriteBase / | |
| # CORS | |
| Header add Access-Control-Allow-Origin "*" | |
| # HTTPS | |
| RewriteCond %{HTTPS} !=on |
| server { | |
| server_name www.sitedomain.com; | |
| rewrite ^ http://sitedomain.com$request_uri? permanent; | |
| } | |
| server { | |
| listen 0.0.0.0:80; | |
| server_name sitedomain.com; | |
| access_log /var/log/nginx/sitedomain.log; | |