現在、ダラットに滞在していてハノイからホーチミンまで向かう旅。最終的にはダラットに戻ってくる。
- ハノイ 2泊
- ハイフォン 1泊
- フエ 1泊
- ダナン 2泊
version: '3' | |
volumes: | |
app_bundle_data: | |
driver: local | |
app_node_modules_data: | |
driver: local | |
app_log_data: | |
driver: local | |
app_tmp_data: | |
driver: local |
set :conditionally_migrate, fetch(:conditionally_migrate, false) | |
set :migration_role, fetch(:migration_role, :db) | |
set :migration_servers, -> { primary(fetch(:migration_role)) } | |
namespace :deploy do | |
task :set_app_env do | |
set :app_env, (fetch(:app_env) || fetch(:stage)) | |
end | |
desc 'Runs goose up if migrations are set' |
#!/usr/bin/env bash | |
cd app | |
# th_th | |
msgfmt -o content/languages/locale/th_th/LC_MESSAGES/messages.mo content/languages/locale/th_th/LC_MESSAGES/messages.po |
class Server | |
def call(env) | |
case env['HTTP_HOST'] | |
when 'tabearuki.fukata.org' | |
case env['PATH_INFO'] | |
when '/archives/18' | |
return [301, { 'Location' => 'https://blog.fukata.org/archives/8011' }, [] ] # こころ庭 鳥重定食 | |
when '/archives/35' | |
return [301, { 'Location' => 'https://blog.fukata.org/archives/8012' }, [] ] # Cafe+bar Petit plum | |
when '/archives/40' |
user: www-data | |
file.custom-handler: | |
extension: .php | |
fastcgi.connect: | |
host: 127.0.0.1 | |
port: 9000 | |
type: tcp | |
HTTPS: on |
tbl=document.querySelector("html > body > center > center > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td > table"); | |
pref_names = Array.prototype.map.call(tbl.querySelectorAll("td[width='1%'] > small"), function(r){ return r.innerText; }); | |
amounts = Array.prototype.map.call(tbl.querySelectorAll("td > small > input"), function(r){ return r.value; }); | |
output = ""; | |
for (var i=0; i<pref_names.length; i++) { | |
output += pref_names[i] + ": " + amounts[i] + "\n"; | |
} | |
console.log(output); |
043-1400 | |
043-1401 | |
043-1402 | |
043-1403 | |
043-1404 | |
043-1405 | |
043-1406 | |
043-1521 | |
043-1522 | |
043-1523 |