Skip to content

Instantly share code, notes, and snippets.

passwd
/etc/init.d/sshd start
mkdir $HOME/.ssh
echo 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDhyahXc6freX92BWsjeRZ8Rdw6Oyma/XXab/+fdEHzbV2jGdtqiUzPxDAUXB5gX381EcYZ1BgmmpU1dC4LjZnU+TKd92gFdCdWh+HVnGXP7e7tP5w4f1GpCqZ9X2mlndm91zF7S8+w0aD1BYk6pqaw6eK93CONzCfC+RAfZT+lYMvTZwn+ZUlypUN7szPyRXEYgvNzNfqIhwuWVHItpYw7JezwtZBnwfIF4RmZgGs5GDWQywrY+M1Dsz5VwjGC66bgQubfchD9POX+zCumIXVx2V9UqlkmVl6RZI19e7FMqXH6D5NNNB5uYvSAQZ4fxo7pbvObkCCcIrvXtCbun2aB' > .ssh/authorized_keys
@niyaton
niyaton / .editorconfig
Last active December 27, 2019 09:36
個人用汎用 editorconfig & .gitattributes
# http://editorconfig.org
root = true
[*]
indent_style = space
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf
@niyaton
niyaton / parse.py
Last active December 2, 2022 06:41
Using this scripts, you can get slack message for each session from researchr.org. This script is customized for APSEC2022.
from bs4 import BeautifulSoup
track2track = {
'EDU - Software Engineering Education': 'EDU',
'ERA - Early Research Achievements': 'ERA',
'SEIP - Software Engineering in Practice': 'SEIP',
'Technical Track': 'Technical Track'
}
# This file includes appended modal data.