with a backend server action:
'use server';
export async function createEntity(v: string, n: number, o: boolean){
///
return {success: true, val: x};
}
let i = 0; | |
const v = () => { | |
setInterval(() => { | |
console.log({i}); | |
}, 200); | |
setInterval(() => { | |
i++; |
with a backend server action:
'use server';
export async function createEntity(v: string, n: number, o: boolean){
///
return {success: true, val: x};
}
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Kanban Dashboard</title> | |
<style> | |
body { | |
font-family: sans-serif; | |
margin: 0; |
// source file path: ./src/components/nav/coach-header.tsx | |
'use client'; | |
import React, { useEffect, useRef, useState } from 'react'; | |
import Link from 'next/link'; | |
import { | |
ChevronDownIcon, | |
ChevronUpIcon, | |
MagnifyingGlassIcon, | |
PersonIcon, |
fame: SHA/Branch: HEAD | |
fame: Files must match at least one of: [ /.*/ ] | |
fame: Full branch name: dev | |
fame: Could not find a fame.conf.js file. | |
fame: processing commit no.: 1159, finished: 100.00% | |
ββββββββββββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββ¬βββββββββββββββ¬ββββββββββββββ¬ββββββββββββββββ¬βββββββββββββββββββββ¬ββββββββββββββββββ | |
β Author β Files Modified β Commits β Added Lines β Removed Lines β Total Line Changes β Net Lines Added β | |
ββββββββββββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββΌβββββββββββββββΌββββββββββββββΌββββββββββββββββΌβββββββββββββββββββββΌββββββββββββββββββ€ | |
β [email protected] β 1948 / 83.03% β 896 / 77.31% β 1541001 β 211896 β 1752897 β 1329105 β |
Below is the fastest official way to grab the βIG codeβ (Instagramβs RTMP URL + Stream Key) that lets you send a feed from OBS, Streamlabs, vMix, etc. to Instagram Live.
Requirement | Why it matters |
---|---|
Professional account (Creator or Business) | Instagram Live Producer is only unlocked for professional profiles. ([Wistia][1]) |
Desktop browser (instagram.com) | The stream key is generated only on the web interface, not in the mobile app. ([Epidemic Sound][2]) |
If we have a server action like this:
'use server';
export async function serverActionRoutine(){
throw new Error('prod error');
}
doing migration with Drizzle ORM delete/truncated all data from our "skills" table:
ALTER TABLE "skills" ALTER COLUMN "default_val" SET DEFAULT '{"value":1}';
ALTER TABLE "skills" ALTER COLUMN "skill_desc" SET DATA TYPE jsonb;
ALTER TABLE "skills" ALTER COLUMN "skill_desc" SET DEFAULT '[]'::jsonb;
ALTER TABLE "skills" ALTER COLUMN "skill_desc" SET NOT NULL;
ALTER TABLE "skills" ALTER COLUMN "search_vector" SET DEFAULT ''::tsvector;
ALTER TABLE "skills" ALTER COLUMN "embedding" SET DEFAULT null;
β¨― [Error: {"error":{"error":{"name":"NeonDbError","sourceError":{}},"trace":"dd-trace-upsert-coach-profile"},"trace":"dd-trace-a6c5-f92d9122e890"}] { | |
digest: '1396788746' | |
} | |
import gleam_cowboy | |
import gleam/http.{Request, Response} | |
import gleam/http/response.{ok} | |
pub fn main() { | |
gleam_cowboy.start(fn(_req: Request) { | |
ok("Hello, Gleam!") | |
}, on_port: 3000) | |
} |