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
Iterate by fixing underlying problems in the codebase until all tests work. | |
Implement motion capture using MediaPipe. | |
Utilize a Web Worker with SharedArrayBuffers for performance. | |
Focus on: | |
- Starting the camera | |
- Running motion capture for a few seconds | |
- Stopping to check for detected motion | |
Execute commands in the foreground. |
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
javascript:(function() { const pageTitle = document.title; const pageContent = document.body.innerText; const prompt = `###%20Title:%20${pageTitle}\n\n###%20Content:\n${pageContent}%60;%20const%20textarea%20=%20document.createElement('textarea');%20textarea.value%20=%20prompt;%20document.body.appendChild(textarea);%20textarea.select();%20let%20successful;%20try%20{%20successful%20=%20document.execCommand('copy');%20}%20catch%20(err)%20{%20console.error('Could%20not%20copy%20text:%20',%20err);%20successful%20=%20false;%20}%20document.body.removeChild(textarea);%20if%20(successful)%20{%20alert('Page%20content%20copied%20as%20LLM-readable%20prompt!');%20}%20else%20{%20alert('Failed%20to%20copy%20the%20content.%20Please%20try%20again.');%20}%20})(); |
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
{ | |
"schema": [ | |
{ | |
"mode": "server", | |
"proto": "udp", | |
"port": "27005", | |
"host": "127.0.0.1", | |
"secret": "123" | |
}, | |
{ |
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
# -*- coding: utf-8 -*- | |
__all__ = [ | |
"zynthian_ctrldev_akai_apc_key25_mk2", | |
"zynthian_ctrldev_akai_apc_key25", | |
"zynthian_ctrldev_akai_midimix", | |
"zynthian_ctrldev_akai_mpk_mini_mk3", | |
"zynthian_ctrldev_duopiano", | |
"zynthian_ctrldev_korg_nanokontrol2", | |
"zynthian_ctrldev_launchkey_mini_mk3", | |
"zynthian_ctrldev_launchpad_mini", |
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
#!/usr/bin/python3 | |
# -*- coding: utf-8 -*- | |
import time | |
import signal | |
import jack | |
from bisect import bisect | |
from copy import deepcopy | |
from functools import partial | |
import multiprocessing as mp |
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
import React, { useRef, useEffect } from 'react' | |
import { useWorld, useSyncState, randomInt } from 'hyperfy' | |
export const blenderVec3 = ([x, y, z]) => [x, z, -y] | |
const headOffset = [ | |
[0,0,0],[0,0,0],[0,0,0] | |
] | |
export default function Heads() { |
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
var udp = require('dgram'); | |
const yargs = require('yargs'); | |
const pump = require('pump'); | |
const argv = yargs | |
.option('mode', { | |
alias: 'm', | |
describe: 'client or server' | |
}).option('host', { | |
alias: 'h' | |
}).option('port', { |
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
# INSTALL DOCKER | |
sudo apt-get update | |
sudo apt-get install \ | |
ca-certificates \ | |
curl \ | |
gnupg \ | |
lsb-release | |
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg |
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
<script src="https://unpkg.com/[email protected]/dist/index.js"></script> | |
<script src="https://unpkg.com/[email protected]/nacl.min.js"></script> | |
<script src="https://bundle.run/[email protected]"></script> | |
// SIGNER | |
window.packr = new msgpackr.Packr({ structuredClone: true }); | |
const C = { | |
CONTRACT: 'c', | |
ACTION: 'a', |
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
REMIX EXAMPLE PROJECT | |
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer. | |
It contains 3 directories: | |
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name. | |
2. 'scripts': Holds two scripts to deploy a contract. It is explained below. | |
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity. | |
SCRIPTS |
NewerOlder