Skip to content

Instantly share code, notes, and snippets.

View MerlinPendragon's full-sized avatar

Xiabing Li MerlinPendragon

View GitHub Profile
@MerlinPendragon
MerlinPendragon / createSSHUser.sh
Created June 2, 2021 08:32
create a new user with unique ssh key
function createSSHUser {
#
touch /root/trash 2> /dev/null
if [ $? -ne 0 ]
then
echo "Must execute as root user . . . "
echo "sudo ./createNewSSHUser.sh"
exit 0;
fi
export A_NEW_USER=$1
@MerlinPendragon
MerlinPendragon / DeepQ-cartpole.ipynb
Created May 25, 2020 13:00 — forked from yingzwang/DeepQ-cartpole.ipynb
Deep-Q learning implementation in Tensorflow and Keras (solving CartPole-v0)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.