Car Title loan 什麼東東?

今天看到一個名詞 , title load 又名 car title loan. 誒?car =車子跟 loan=貸款 這個我們都知道啊,所以就是汽車貸款啊, 那這個 title 是什麼東西? title 不是文章的標題或是某人的職稱 嗎? 怎麼出現在這裡呢? 加了一個 title是什麼意思啊?

原來 原來這個 Title 指的是這個車子的文件,證明你擁有這輛汽車,還有什麼汽車保險那些必要文件的總稱.就是你拿你的title證明文件,就可以去抵押借錢,又有分車子要留下來當抵押品或是 車子你還能繼續開,這個就是我們常看到的 民間的汽車借款/ 免留車啦 ,學到了.原來Title還有這種意思跟用法.

wikipedia的解釋:https://en.wikipedia.org/wiki/Title_loan

裡面內容很詳細,還有這種貸款的利率,美國各州關於這種貸款的法律問題等等.

所以ㄋㄜ ,Title loan 就是我們一般說的抵押借款吧,什麼萬物皆可貸那種,這個我覺得我們發展得比美國還強啊,我們還有什麼機車借款 身分證借款 什麼東東都有 @@

另可參考:

https://www.thebalance.com/what-is-the-title-of-a-car-4049167

the IPV4 address numbers are dry – IPv4 位址 全部用完了!

RIPE NCC, the European Internet Registry, announced that it had allocated its last batch of previously unallocated IPV4 addresses to an ISP.

這表示IPv6時代正式來臨 .
一般使用者不需要擔心這個問題,網路還是會活得好好的.根據此報導,大部分的ISP 也可藉由交易IPv4 網路地址的方式,或獲取”二手”的IP address , 同時準備好 IPv6環境.IPv6 位址估計可以供人類使用數百年.

Take screenshot and edit it on MacOS

Many ways to take screenshot on MacOS , like :
1. command + shift + 3 : take entire screen and save it to your desktop
2. command + control + shift + 3 : take a screenshot of your entire screen, saved to your clipboard
3. command + shift + 4 :take a screenshot of part of your screen, saved to your desktop
4. command + control + shift + 4  :take a screenshot of part of your screen, saved to your clipboard
5. command + shift + 5 : Take a screenshot using Grab

You can try above methods to find the difference.

Example: command + shift + 5 : Take a screenshot using Grab and edit it in Apple preview

when you use command + shift +5 , an option bar will appear , you can choose what action you want to . Especially , you can choose where the screenshot to go . As we want to edit our screenshot , we assign [options] to [Apple preview]

then after taking screenshot, will open it in Apple preview directly. By default it’s read only , you can start to edit it by click the [A] symbol near top-right corner in Apple preview as picture show below.

Now we can do mark , add text and so on .

You can check out Apple’s official document here : https://support.apple.com/en-us/HT201361

WordPress:網頁不適合透過行動裝置瀏覽/Google search console/Mobile friendly

see that? in google mobile bot , the page displayed weired .

so , it’s obvious that plugin related : addToany .

so , I disable addtoany plugin


then go to google search console , try again .

Ding Don !! problem resolved ! F.Y.I.

another way I solve the problem : change addtoany share style to “float” .

Let’s Encrypt/ sslforfree :Error: DNS problem: query timed out looking up CAA

Congratulations ! the worst situation maybe your DNS service provider does not support CAA record .

你的網域 DNS 服務商不支援 CAA記錄設定 .

for example : seed.net.tw , as you can see the picture below , there is no CAA record option to configure .

遠傳(新世紀資通) 根本沒有讓你設定CAA紀錄的地方.

ok , now you can go to find another DNS service. for example , your VPS provider may provide DNS service as well . Good luck ! For me , my hosting provider Linode do provide DNS service , so it’s easy to solve this problem .

Image result for linode logo linode.com
https://www.linode.com/?r=41c1348753728642eb6e6a14a905abcffc45480d

login to your linode account and go to [Domain] section

  1. Create a Domain(that one you want to transfer to)
  2. copy old DNS record from old DNS server to linode , one by one
  3. add CAA record

4. in console of your old DNS , change ns servers to new servers , for me , it’s linode’s ns server

for me, it works just 3 mins later, don’t have to wait 24 hours .

if you can not do this way , then you can buy a ssl cert . It’s very easy to do it with namecheap .

In my personal experience , namecheap is very High CP value choice . You can get a SSL and set it up very easy here , click picture below to go .

SSL Certificate for just $8.88 with Namecheap

JavaScript 四捨五入、無條件捨去、無條件進位

Math.round() 四捨五入

Math.round(3.14) // 3
Math.round(5.49999) // 5
Math.round(5.5) // 6
Math.round("5.50001") // 6
Math.round(-5.49999) // -5
Math.round(-5.5) // -5
Math.round(-5.50001) // -6
Math.round(18.62645 * 10) / 10 // 18.6
Math.round(18.62645 * 100) / 100 // 18.63
Math.round(18.62645 * 1000) / 1000 // 18.626

Math.floor() 最大整數

取小於這個數的最大整數

Math.floor(3.14) // 3
Math.floor(5.4) // 5
Math.floor(-5.4) // -6
Math.floor("-5.5") // -6

Math.ceil() 最小整數

取大於這個數的最小整數

Math.ceil(3.14) // 4
Math.ceil(5.4) // 6
Math.ceil(-5.4) // -5
Math.ceil("-5.5") // -5

JavaScript 四捨五入線上測試

4Math.round(n)Math.floor(n)Math.ceil(n)

帶小數的四捨五入

var roundDecimal = function (val, precision) {
  return Math.round(Math.round(val * Math.pow(10, (precision || 0) + 1)) / 10) / Math.pow(10, (precision || 0));
}
roundX(18.62645, 2) // 18.63
roundX(18.62645, 3) // 18.626
roundX(18.62645, 4) // 18.6265

數字千分位

function FormatNumber(n) {
  n += "";
  var arr = n.split(".");
  var re = /(\d{1,3})(?=(\d{3})+$)/g;
  return arr[0].replace(re, "$1,") + (arr.length == 2 ? "." + arr[1] : "");
}

JavaScript 數字千分位線上測試

798,736.325Examination

數學函數

Math.abs() 絕對值

絕對值(正值)取參數的絕對值。參數可以是數值亦可以是一個「數值」的字串。

Math.round(3.14) // 3
Math.abs("-12") // 12
Math.abs("-0012") // 12
Math.abs(-12) // 12
Math.abs("00.032") // 0.032
Math.abs("24-5") // NaN
Math.abs("Hello") // NaN