This file contains hidden or 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
# Define some required dependencies | |
require "bundler/inline" | |
gemfile(false) do | |
source "https://rubygems.org" | |
gem "activerecord", "~> 4.2.8" | |
gem "sqlite3" | |
end | |
require "active_record" |
This file contains hidden or 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
# Precondition: Git for Windows 2.9.0 + Windows 7, other version of Git for Windows & Windows XP and Windows 10 should also be supported | |
# In /etc/ssh/sshd_config, set UsePrivilegeSeparation to no | |
# You can also change other settings of SSHD like port in this file | |
# Generate key pairs | |
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -q -N "" | |
ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -q -N "" | |
ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -q -N "" | |
ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -q -N "" |
OlderNewer