Skip to content

Instantly share code, notes, and snippets.

View bangonkali's full-sized avatar
🏠
Working from home

Bangon Kali bangonkali

🏠
Working from home
View GitHub Profile

PersonaPlex Setup Guide (Windows / PowerShell)

Summary of what we did

  • Confirmed there is a hosted demo and a local Web UI.
  • Installed Python dependencies from moshi/requirements.txt.
  • Diagnosed build failures on Python 3.13:
    • safetensors tried to compile from source and failed because Rust/Cargo wasn’t on PATH.
    • sentencepiece tried to compile from source and failed because the project’s CMake files are too old for CMake 4.
  • Recommended switching to Python 3.11 (or 3.10) to use prebuilt wheels and avoid source builds.
  • Launched the server and hit a CUDA error because PyTorch was CPU‑only.
@bangonkali
bangonkali / markdown.md
Last active July 14, 2025 01:45
Some markdown I use for testing markdown renderer 😅.

Yes, Markdown can render mathematical formulas and LaTeX, especially when used with platforms that support it, such as Jupyter Notebooks, GitHub, or certain Markdown editors. Here’s an example of how you can include mathematical formulas using LaTeX syntax in Markdown:

Markdown with LaTeX

Inline Math

You can include inline math using single dollar signs:

The quadratic formula is $x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$.

@bangonkali
bangonkali / download.py
Created January 15, 2025 08:39
Simple python script to download webnovel. May not work in the future when the webnovel sites put in place more automated security.
import time
from random import randrange
from datetime import datetime
from playwright.sync_api import sync_playwright
from urllib.parse import urlparse
import json
output_directory = './.local/some-novel'
timeout = 1_000 * 60 * 4
@bangonkali
bangonkali / README.md
Last active September 24, 2024 04:27
Trino Engineering Notes

Trino Engineering Notes

  1. Trino
    1. sql query engine
    2. for Data Analytics
    3. query large data sets from one or more disparate data sources
    4. open source
  2. Starburst Galaxy - A managed Trino Environment.
  3. Catalog - some sort of the Database which user queries into
  4. Connector - Configured in each catalog. Read/Write access to a data source.
@bangonkali
bangonkali / README.md
Created January 16, 2024 16:47
Caching Microsoft Account in to Windows so you can use RDP
@bangonkali
bangonkali / syncfusion.tsx
Created August 17, 2023 09:17
Fix for commonJS
/** @jsxImportSource react */
import { qwikify$ } from "@builder.io/qwik-react";
import * as SyncfusionDropDown from '@syncfusion/ej2-react-dropdowns';
import * as SyncfusionBase from '@syncfusion/ej2-base';
export const SyncfusionDemo = qwikify$(() => {
SyncfusionBase.registerLicense(import.meta.env.PUBLIC_SYNCFUSION_LICENSE_KEY);
const data: { [key: string]: Object }[] = [
{
@bangonkali
bangonkali / stream.md
Created April 16, 2023 05:55
Streaming RSTP CCTV to RTMP Facebook Live

Streaming RSTP CCTV to RTMP Facebook Live

Powershell Script

$env:FB_STREAM_KEY = 'FB-99999999999999999-9-XXXXXXXXXXXXXXXX'
$env:FB_STREAM_URL = 'rtmps://live-api-s.facebook.com:443/rtmp/'
$env:CCTV_YARD = 'rtsp://admin:mypassword@cctv_ip:554/stream1'

gst-launch-1.0 flvmux name=mux streamable=true `
@bangonkali
bangonkali / README.md
Created March 30, 2022 04:06
Bangon Kali's Favorite PowerShell Configuration

Bangon Kali's PowerShell Configuration

Install desired PowerShell Version

Configure PowerShell

Apply configuration on each Powershell version. Use command mklink /h target/Profile.ps1 source/Profile.ps1 to create a symlink so that you only need to edit 1 Profile.ps1 file.

  1. Install oh-my-posh using winget.
@bangonkali
bangonkali / README.md
Last active May 16, 2022 04:01
Jetson Xavier NX Notes

Docker Snippets

Create a deepstream-l4t docker container instance.

sudo docker run -it \
  --rm \
  --net=host \
  --runtime nvidia \
 -e DISPLAY=$DISPLAY \
@bangonkali
bangonkali / README.md
Created May 20, 2021 11:34
Proxmox Notes