Navigation Menu

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
@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
@bangonkali
bangonkali / README.md
Created February 7, 2021 18:39
Certbot & NGINX Autorenew System

Certbot & NGINX Autorenew System

Manual Renewal

certbot renew --pre-hook "service nginx stop" --post-hook "service nginx start"

Automated Renewal

@bangonkali
bangonkali / README.md
Created October 22, 2020 05:20
Azure Container Notes

Download all files in a container

az login
az account set --subscription "subscription_id"
az storage blob download-batch -d . \
  --pattern "*.*" \
  -s "container_name" \
  --account-name "storage_account_name" \
 --connection-string "conntection_string"
https://www.snapchat.com/unlock/?type=SNAPCODE&uuid=249672733a114405ac286a0dd2dd1b9c&metadata=01

Installing Synergy on Ubuntu 18.04

sudo apt-get install -y libavahi-compat-libdnssd1
sudo dpkg -i synergy_1.11.1.stable_b35+55ec3105_ubuntu18_arm64.deb

To start the Synergy client with systemd, create a service file: ~/.config/systemd/user/synergyc.service