$ loan-simulator -y 35 -i 1 -a 3000
返済期間: 35 年
返済期間: 420 ヶ月
金利: 1 %
月利: 0.0008333333333333334
借入金額: 3000 万円
借入金額: 30000000 円
---
+------+---------+--------+-------+-------+----------+
This file contains 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
#/bin/bash | |
# from SO: https://stackoverflow.com/a/54261882/317605 (by https://stackoverflow.com/users/8207842/dols3m) | |
function prompt_for_multiselect { | |
# little helpers for terminal print control and key input | |
ESC=$( printf "\033") | |
cursor_blink_on() { printf "$ESC[?25h"; } | |
cursor_blink_off() { printf "$ESC[?25l"; } | |
cursor_to() { printf "$ESC[$1;${2:-1}H"; } | |
print_inactive() { printf "$2 $1 "; } |
This file contains 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
<?php | |
$base_url = 'xxx'; | |
$data = [ | |
"text" => "Would you like to play a game?", | |
"attachments" => [ | |
[ | |
"text" => "Choose a game to play", | |
"fallback" => "You are unable to choose a game", |
- 2016年12月の時点で、Evan氏もVue Component, アプリケーションのテストに関する公式情報が不足している点は認識していた * Vue in 2016 – The Vue Point – Medium
- ライブラリはいくつかあったが、どれもオフィシャルではない。
- 2017年6月1日にVue.js本件のOrganizationで
vue-test-utils
が誕生している
/var/tmp/php-build/source/5.6.0/ext/opcache/ZendAccelerator.c:397:28: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
CG(interned_empty_string) = accel_new_interned_string("", sizeof(""), 0 TSRMLS_CC);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: ext/opcache/.libs/opcache.a(shared_alloc_shm.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: ext/opcache/.libs/opcache.a(shared_alloc_shm.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /var/tmp/php-build/source/5.6.0/modules/opcache.a(shared_alloc_shm.o) has no symbols
/var/tmp/php-build/source/5.6.0/ext/date/php_date.c:2245:6: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
vue-validator は validator
エレメントディレクティブと v-validate
ディレクティブで自動的にバリデートを実行します。しかしながら時々、自動バリデーションを無効化し手動でバリデートを実行したい時があります。
vue-validator は初回コンパイルを終えると、それぞれの v-validate
ディレクティブは自動的に対象エレメントのバリデートを実行します。もしこの挙動を望まない場合は、 initial
属性又は v-validate
を指定できます:
<div id="app">
<validator name="validation1">
NewerOlder