create different ssh key for different github accounts (must give filename while creating, else it'll overwrite - ex: ~/.ssh/id_ed25519_suryabigapp)
$ ssh-keygen -t ed25519 -C "[email protected]"
#!/usr/bin/env python3 | |
""" | |
Human quality transcripts from audio files using | |
AssemblyAI for transcription and Google's Gemini for enhancement. | |
Requirements: | |
- AssemblyAI API key (https://www.assemblyai.com/) | |
- Google API key (https://aistudio.google.com/) | |
- Python packages: assemblyai, google-generativeai, pydub |
nodes: | |
- id: webcam | |
custom: | |
source: https://huggingface.co/datasets/dora-rs/dora-idefics2/raw/main/operators/opencv_stream.py | |
outputs: | |
- image | |
- id: idefics2 | |
operator: | |
python: https://huggingface.co/datasets/dora-rs/dora-idefics2/raw/main/operators/idefics2_op.py | |
inputs: |
/* | |
the twitter api is stupid. it is stupid and bad and expensive. hence, this. | |
Literally just paste this in the JS console on the bookmarks tab and the script will automatically scroll to the bottom of your bookmarks and keep a track of them as it goes. | |
When finished, it downloads a JSON file containing the raw text content of every bookmark. | |
for now it stores just the text inside the tweet itself, but if you're reading this why don't you go ahead and try to also store other information (author, tweetLink, pictures, everything). come on. do it. please? | |
*/ |
# Reliable persistent SSH-Tunnel via systemd (not autossh) | |
# https://gist.github.com/guettli/31242c61f00e365bbf5ed08d09cdc006#file-ssh-tunnel-service | |
[Unit] | |
Description=Tunnel for %i | |
After=network.target | |
[Service] | |
User=tunnel | |
ExecStart=/usr/bin/ssh -o "ExitOnForwardFailure yes" -o "ServerAliveInterval 60" -N tunnel@%i |
create different ssh key for different github accounts (must give filename while creating, else it'll overwrite - ex: ~/.ssh/id_ed25519_suryabigapp)
$ ssh-keygen -t ed25519 -C "[email protected]"