Skip to content

Instantly share code, notes, and snippets.

View yashasolutions's full-sized avatar
:octocat:
testing in production

Yasha yashasolutions

:octocat:
testing in production
View GitHub Profile
@yashasolutions
yashasolutions / normcore-llm.md
Created August 28, 2023 01:06 — forked from veekaybee/normcore-llm.md
Normcore LLM Reads
@yashasolutions
yashasolutions / stream-cam-linux.md
Last active February 8, 2023 02:49 — forked from endolith/readme.md
How to stream a webcam to a web browser in Ubuntu

Grr this took hours to figure out. I was trying to install MJPG-streamer and running VLC command lines and all this crap but nothing worked.

First install motion:

~> sudo apt-get install motion

Then create a config file:

~> mkdir ~/.motion

~> nano ~/.motion/motion.conf

@yashasolutions
yashasolutions / irssi twitch.txt
Created January 26, 2023 04:57 — forked from yyolk/irssi twitch.txt
Twitch chat with irssi - June 2021
Tested working 20 Jun 2021, irssi version 1.2.3
This is a TLDR version of https://blog.crunchprank.net/connecting-to-twitch-chat-via-irssi/
Get your OAuth token (password) here: https://twitchapps.com/tmi/
# Network setup:
/network add -nick YOUR_TWITCH_USERNAME twitch
/server add -auto -ssl -network Twitch irc.chat.twitch.tv 6697 YOUR_OAUTH_TOKEN

Download Audio from YouTube

-i - ignore errors

-c - continue

-t - use video title as file name

--extract-audio - extract audio track

@yashasolutions
yashasolutions / LearnGoIn5mins.md
Created January 5, 2021 17:13 — forked from prologic/LearnGoIn5mins.md
Learn Go in ~5mins
package main
import (
"bytes"
"fmt"
"io/ioutil"
"log"
"net/http"
"net/url"
)