- https://developers.reddit.com/new
- select a starter template, and they will show you a screen that looks like this screen
- create a parent directory and copy pasta the npx create command from 2
- install and cd into the folder they created for you to to npm run dev
| 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 |
| import json | |
| import os | |
| import sys | |
| import requests | |
| MODELS_BASE_DIR = os.path.join("ComfyUI", "models") | |
| def download_file(url, directory, filename, civitai_key=None, hf_token=None): | |
| target_dir = os.path.join(MODELS_BASE_DIR, directory) | |
| os.makedirs(target_dir, exist_ok=True) |
| # configure the docker repository | |
| curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \ | |
| && curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | \ | |
| sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \ | |
| sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list | |
| # update the repository | |
| sudo apt-get update | |
| # Install the NVIDIA Container Toolkit packages: |
| /* | |
| * VideoKit | |
| * Copyright © 2024 Yusuf Olokoba. All Rights Reserved. | |
| */ | |
| #nullable enable | |
| namespace VideoKit { | |
| using System; |
| using UnityEngine; | |
| public class MoGe2UnityMatching : MonoBehaviour | |
| { | |
| public GameObject goTestMesh; | |
| public Texture2D goTestImage; | |
| public Material matImageQuadMaterial; | |
| void Start() |
| using UnityEngine; | |
| using OpenCVForUnity.CoreModule; | |
| using OpenCVForUnity.ImgprocModule; | |
| using OpenCVForUnity.UnityUtils; | |
| using OpenCVForUnity.VideoioModule; | |
| using System.Collections.Generic; | |
| public class LowRankWebcam : MonoBehaviour | |
| { | |
| VideoCapture capture; |
I found out on June 27, 2024 that my best friend Chieu passed away.
What are the odds of a CH-named Vietnamese refugee born in Lugano (in a rare Italian-speaking canton) of Switzerland who would later migrate to Houston - meeting a (norcal) valley girl mad-scientist-entrepreneur born in Taiwan with a Turkish name of Yosun - at Google I/O of all conferences on June 26, 2014?
Being more of the intrepid indie type at this point, my friends were starving artists and hungry hackers - not Googlers or suits. But albeit having made it to noogler status, Chieu would be poor for a bit longer. Shortly after, Chieu began her 9 month long waiting period as Google struggled to figure out how to place such undefinable brilliance.
Chieu followed me to her first hackathon, where I made fun of her for being the "useless girlfriend at a hackathon, watching anime in a corner." Somehow I convinced her to learn (something perhaps a bit too hackneyed practical for her obscure puzzling likes) a frontend javascript UI framework
| # (printing “LOVE” an infinite number of times using named recursion in Python) | |
| def FOREVER(x): | |
| print x, | |
| FOREVER(x) | |
| FOREVER("LOVE") | |
| #(the Y combinator in Python) | |
| (lambda f: \ | |
| (lambda x: f(lambda y: (x(x))(y))) \ |
| using UnityEngine; | |
| using UnityEditor; | |
| using UnityEngine.UI; | |
| using TMPro; | |
| public class TextToTextMeshPro : Editor | |
| { | |
| public class TextMeshProSettings | |
| { | |
| public bool Enabled; |