$ vi /etc/vsftpd.conf
change to ftp from vsftpd
pam_service_name=ftp
$ vi /etc/vsftpd.conf
change to ftp from vsftpd
pam_service_name=ftp
Download tha latest vsftpd dev package from http://security.ubuntu.com/ubuntu/pool/main/v/vsftpd/
$ wget http://security.ubuntu.com/ubuntu/pool/main/v/vsftpd/vsftpd_3.0.2-1ubuntu2.14.04.1_amd64.deb
$ sudo dpkg -i vsftpd_3.0.2-1ubuntu2.14.04.1_amd64.deb
/etc/vsftpd.conf
var d = new Date(); | |
Math.floor((d.getTime() - new Date(d.getFullYear(), 0, 1).getTime()) / (1000 * 60 * 60 * 24)); |
# 指定された曜日名に対する曜日 (0-6, Sunday is zero) を返す | |
# Example: | |
# WDAY('Sunday') | |
# # => 0 | |
def WDAY(day_name) | |
Date.parse(day_name).wday | |
end |
config.action_mailer.delivery_method = :smtp | |
config.action_mailer.smtp_settings = { | |
address: 'smtp.muumuu-mail.com', | |
port: 465, | |
domain: '<Your Domain>', | |
user_name: '<Mail Account>', | |
password: '<Password>', | |
authentication: :plain, | |
ssl: true, | |
tls: true |
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<title>DOMSubtreeModified</title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
<script> | |
$(function() { | |
$('#activity').on('DOMSubtreeModified', function(e) { | |
console.log('DOMSubtreeModified', e); | |
}); | |
git fetch
git checkout -t origin/remote-branch-name
def pp_json(json) | |
puts `echo '#{json}' | python -mjson.tool` | |
end |