Skip to content

Instantly share code, notes, and snippets.

View Azzaare's full-sized avatar

Jean-Francois Baffier Azzaare

View GitHub Profile
@Azzaare
Azzaare / startup.jl
Last active September 13, 2024 02:43
Azzaare's startup.jl
# Add this file to ~/.julia/config/ (mkdir config if necessary)
try
using Coverage
catch e
@warn "Error initializing Coverage: trying install" exception = (e, catch_backtrace())
using Pkg
Pkg.add("Coverage")
end
@Azzaare
Azzaare / id_rsa.pub
Last active September 13, 2024 02:41
SSH public keys
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDj1e7PyvOpFZLwF6k6HugHkjxYPCPKQhgAuHAJILS/2rEU7QdjDu7wzUIMmpxEv6k/OilBmMCp+xzc2FP8744cLw6HBucIadEymdzOrmEIJiYVVH9wsKEM2JIH6roX84L1M+e9qiUpQapn4kQh9TkDmA7N/O5Cnl+9vc605yUunDKSZmxESOiPJ2Xay0Wwr5y72TGxoLq9gH0YcFbBrk+c1vNXKgJ9csirF1CQwUec8SlG2FHADYOG6Zkr4JUeHIC9MRVJFgaThch2+tghEfkMzCHHklAaYz2YXi7LmIqvoeEB3cuwY+H/RJ4a4ucEqu9F37K5wQzS25k1N3CMIR5OAcgqEjDOQNXo6qtZEz8tpIz1jo7tTr/35oGu43CCK6IXWfZoyPrzV5jNvYUe9IDUBJTyfFHqWamgYNnV1HCihwjHc75RN1++L32sR3iqDBrsuPwCWDjPzB9srVX9xgMo6DF7/1EjPGyA1yRxebi/vyrR8AyHuiXa96Vsfcw+JI+HZUmhbvD1DHvYp8nh/909kEi9AG1bwh9ush0L/kvbquJunIfCs5Vjbz8mF82X2q5ICwy98v3J+xmKjIKjLhfeYpaqIeIfnQtMMQjWwSxjeVlSj4e2cNmw3lxAmKMRJMAx6nU+ZzqN0QFkDaV8+aC55abgzkx7mKyuQUEOfhRcPQ== [email protected]
@Azzaare
Azzaare / create_julia_user.sh
Last active September 19, 2024 06:38
Add a new julia user with ssh public keys
#!/bin/bash
# Check if sufficient arguments are provided
if [ $# -lt 3 ]; then
echo "Usage: $0 <username> <password> <ssh_key_string1> [<ssh_key_string2> ...]"
exit 1
fi
# Command-line arguments
USERNAME="$1"