SSR似乎比前幾年更容易處理了,忙到都沒時間玩一下其他框架~箊
[Day 14] Server-Side-Rendering - (1)
提供另一種不用變更SSR的實作方式,AWS Lambda(Streaming SS)
[Day 14] Server-Side-Rendering - (1)
提供另一種不用變更SSR的實作方式,AWS Lambda(Streaming SS)
特店可使用此API取得發票列印網址
https://developers.ecpay.com.tw/?p=14993
如果要自已產生列表的ui請參考以下網址:
https://developers.ecpay.com.tw/?p=31732
常見需要在submit後reset表單的狀態與所有欄位重置預設值參考:
因為客戶在某些場景要用影像地圖實現點擊的功能,
使用rwdImageMaps套件可以輕鬆達到
外掛:https://github.com/stowball/jQuery-rwdImageMaps
$(document).ready(function(e) { $('img[usemap]').rwdImageMaps(); });
但使用前需要使用初步工具做影像地圖,可以參考https://www.image-maps.com/
找了幾個控制webcam的方法,桌機跟手機要可以運行。
https://serratus.github.io/quaggaJS/
https://www.tutorialstuff.com/tutorials/jquery-html5-qr-code-scanner-using-instascan-js-exampleexample
使用 jsqrcode
https://www.sitepoint.com/create-qr-code-reader-mobile-website/
demo網址在iphoneX測試可用
https://ilrm9.csb.app/
使用 jsqrcode
https://github.com/sembrestels/angular-qr-scanner
要在開發環境啟用 相機(window.navigator.mediaDevices.getUserMedia)
請至chrome設定啟不insecure
chrome://flags/#unsafely-treat-insecure-origin-as-secure
愈來愈多透過網頁實作簽名的系統,因為不用再開發app成本比較低。
找了signature_pad這個元件,有機會要來整合看看。
之後undo/變字體顏色/另存圖檔(png/jpg/svg,可以回傳自已的server做記錄)
https://github.com/szimek/signature_pad
除了透過檔案的方式來操作Excel,也可以將Excel透過Database的形式來操作。
個人更覺得更好操作。
以下範別就是想要把測試案例的結果另外存到一份Excel,這樣long testing就可以比較好撈資料
//連線Excel,開啟唯讀模式
set myExcelDB to {type:"excel", file:excelPath, writable: Yes}
//sheet name當table name
put table worksheet of myExcelDB into sheetTable
//建立要寫入的物件
put the date into currentDateObj
put {TEST_CASE:testcase, DATA_JSON:valueWithJSONString,DATE:currentDateObj} into testresult
//寫入一列
add record testresult to table worksheet of myExcelDB
07: gtag('config', '<特定資源 ID GA3>');
09: gtag('config', '<特定資源 ID GA4>');
JSON已經是普遍的資料交換標準,可以簡單跟不同程式間作為溝通的橋樑。
SenseTalk提供JSONFormat/JSONValue二個方法來讓用戶使用
將json string轉換到json object於sensetalk使用
PS:要注意json字串要有雙引號,否則會解析錯誤
MockDataFromExcel "PM","ETS_PM_0008"
put the result into mockTicket
log mockTicket
put JSONValue(mockTicket) into ticketInfoWithJSON
log ticketInfoWithJSON's reserveNo
2021/8/8, 2:36:12 PM Log {"carType":"標準車廂", "count":"1", "date":"2021/07/30", "depature":"14:46", "end":"台中", "full":1, "fullSubTotal":"700", "no":"651", "reserveNo":"06264014", "seat":"window", "start":"台北", "subTotal":"TWD 700", "trainTimeType":">60", "type":"單程"}
2021/8/8, 2:36:12 PM Log 06264014
put JSONFormat(ticketInfoWithJSON) into ticketInfoWithJSONString
log ticketInfoWithJSONString
當然也可以在把json object轉回string回存,中文也可以正常編碼
2021/8/8, 2:36:17 PM Log {
"carType": "\u6a19\u6e96\u8eca\u5ec2",
"count": "1",
"date": "2021/07/30",
"depature": "14:46",
"end": "\u53f0\u4e2d",
"full": 1,
"fullSubTotal": "700",
"no": "651",
"reserveNo": "06264014",
"seat": "window",
"start": "\u53f0\u5317",
"subTotal": "TWD 700",
"trainTimeType": ">60",
"type": "\u55ae\u7a0b"
}
REF:
https://fixel.ai/blog/creating-a-simple-conversions-api-for-your-facebook-pixel-events/
https://github.com/facebook/facebook-php-business-sdk?fbclid=IwAR3668-yTjcGQ_wr3Ewd1O3o7tWmW1rvwBM68O2uZ-4hWR-EAfX9IQN99Mk
https://developers.facebook.com/docs/marketing-api/conversions-api
https://codepen.io/navenoc13/pen/YzpXrOg
Connection List
vnc options 勾選Scale Remote Screen
透過css的語法可以實作各式的不對稱DIV區塊,
使用Pseudo-Elements或Clip-Path都可以達成
可以讓網站的設計不用特別請設計師輸出圖片。
最後透過 CSS clip-path maker 這個網站工具就更操作直覺了
https://www.viget.com/articles/angled-edges-with-css-masks-and-transforms/
https://medium.com/@RoseLGauthier/how-to-use-css3-pseudo-elements-to-create-asymmetrical-designs-f610f2a481ed
http://jsfiddle.net/948ud6f7/
40種以上常見圖形
https://css-tricks.com/the-shapes-of-css/
減少搜尋整個畫面是可以提升Eggplant Functional在搜尋目標(Text/Search)的速度,
可動態的去改變SearchRectangle的範圍即可。
以下記錄常用的方式
記錄每次錄製都會再查一下的指令集
insert testScript after failTestScripts