Skip to content

Instantly share code, notes, and snippets.

@kashamalasha
kashamalasha / result.txt
Last active April 26, 2023 12:33
The attempt to solve the fourth part of the problem set Tideman https://cs50.harvard.edu/x/2023/psets/3/tideman/ to lock pairs in matrix locked.
➜ tideman_test ./tideman_test
Locking pair 0 with the result 3:0
0 1 2 3
0 false false false false
1 false false false false
2 false false false false
3 true false false false
Locking pair 1 with the result 0:1
@kashamalasha
kashamalasha / .bahrc
Last active April 29, 2024 09:54
OTP Python scripting
# .bashrc or .zshrc
# ...
# Set environment variables
export OTP_VPN="SOMESECRET"
export OTP_EC2="ANOTHERSECRET"
# Set aliases for executing python script from any path
alias otp="~/Documents/sandbox/otp/otp.sh"