sudo vi /etc/pam.d/sudo
- Insert
auth sufficient pam_tid.so
under comment - Save and close file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
kinit | |
aklog | |
source ~/.bashrc |
Do you also hate Yuja with a passion? Good, you are in the right place.
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.
You will need:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
⏻ ⏼ ⏽ ⏾ ⭘ | |
| |
| |
| |
| |
| |
| |
| |
| |
|