Skip to content

Instantly share code, notes, and snippets.

@ankitsxchdeva
ankitsxchdeva / obs-discord.sh
Created June 19, 2022 04:33
OBS Virtual Cam setup for Discord canary
#!/bin/bash
sudo codesign --remove-signature /Applications/Discord\ Canary.app/Contents/Frameworks/Discord\ Canary\ Helper\ \(Renderer\).app
sudo codesign -s - /Applications/Discord\ Canary.app/Contents/Frameworks/Discord\ Canary\ Helper\ \(Renderer\).app
@ankitsxchdeva
ankitsxchdeva / latex-install.sh
Created April 18, 2022 04:23
LaTeX Installation
#!/bin/bash
# ONLY FOR USE ON MacOS. If you are using a different operating system please see www.latex-project.org/get
which -s brew
if [[ $? != 0 ]] ; then
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
else
brew update
fi
@ankitsxchdeva
ankitsxchdeva / simple-ssh
Created February 22, 2022 06:32
one account is nice
#!/bin/bash
# Version 1.0
set -eu
ssh-keygen -t ed25519 -C "ankitsachdeva001@gmail.com" -f ~/.ssh/key
eval "$(ssh-agent -s)"
touch ~/.ssh/config
echo"
Host *
AddKeysToAgent yes
@ankitsxchdeva
ankitsxchdeva / sudo-with-fingerprint.md
Created February 18, 2022 08:51
Enable Touch ID to sudo on mac os
  1. sudo vi /etc/pam.d/sudo
  2. Insert auth sufficient pam_tid.so under comment
  3. Save and close file
@ankitsxchdeva
ankitsxchdeva / startup.sh
Created January 22, 2022 20:43
130-auth
#!/bin/bash
kinit
aklog
source ~/.bashrc

How to download a Yuja video as an mp4 file

Do you also hate Yuja with a passion? Good, you are in the right place.

Intro

This is a short little gist explaining how to download a Yuja video as an mp4. This was explaned to me by 190n but I didn't want to search discord every time I wanted to reference this. If someone else also gets use out of this then goal achieved.

Tools

You will need:

@ankitsxchdeva
ankitsxchdeva / ssh-setup
Last active December 12, 2021 02:06
ssh quick setup
#!/bin/bash
# Version 1.3 -- No longer use ssh-agent due to multiple github accounts needed for work and personal.
set -eu
ssh-keygen -t ed25519 -C "ankitsachdeva001@gmail.com" -f ~/.ssh/personal # personal
ssh-keygen -t ed25519 -C "asachdeva@ridefox.com" -f ~/.ssh/work # work (replace email)
touch ~/.ssh/config
echo"
Host personal
HostName github.com
@ankitsxchdeva
ankitsxchdeva / symbols
Last active October 22, 2021 04:46
All currently supported nerdfont symbols
⏻ ⏼ ⏽ ⏾ ⭘
                                       
                                       
                                       
                                       
         
                                    
                                       
                                       
                                       