目前韓國針對免簽入境韓國並符合以觀光、訪問親友、會議或商務(營利目的除外)等目的入境者採用K-ETA(電子旅行許可制)。2022/11/1
- Jan 01 Sun 2023 16:58
[韓國] K-ETA(電子入境許可)簽證申請流程教學
- Dec 29 Thu 2022 16:38
[熊本] 阿蘇火山交通方式
熊本 ↔ 阿蘇
巴士:
特急やまびこ号
🔺1380円
熊本駅前~阿蘇駅前約2小時 ( 發車時間:7:49 ~ 17:20 )
- Dec 22 Thu 2022 19:18
[釜山] 韓國釜山到日本北九州 郵輪渡輪介紹
釜山 ↔ 福岡
BEETLE ビートル(JR九州高速船)
約3時40分
航行點:韓國釜山港 ↔ 日本博多港
可載客502名,船上配備多種舒適座椅 (詳細)、用餐區、兒童遊戲區、哺乳室、免稅店等。
費用:
單程 | 來回 | |
---|---|---|
敬老票(65歲以上) | 8,000円 | 16,000円 |
大人(12歲以上) | 16,000円 | 32,000円 |
6~11歲 | 8,000円 | 16,000円 |
1~5歲、0歲佔位 | 2,000円 | 4,000円 |
0歲不佔位 | 免費 |
- Nov 19 Sat 2022 00:26
[AMAZON JP] 登入收不到認證信
今天遇到要登入日本AMAZOZ無法登入,要進行手機認證 (如下圖),試了3電腦、2台手機登入都一樣要我做認證,然後手機又收不到訊息。
經過查詢網路和自己隨便按,發現有一個OPT登入可以使用,
步驟如下
1. 網站語言切換成英文
2. 登入輸入你的手機號碼(如下圖)
- Jan 01 Sat 2022 19:50
[JAVA] 文字資料寫入檔案產檔
資料寫入檔案
/** * 產檔 * @param filePathLocal 路徑 * @param fileName 檔名 * @param str內容 * @throws IOException */ public void mkFile(String filePathLocal, String fileName, String str) throws IOException { File file = new File(filePathLocal); if (!file.isDirectory()) { file.mkdirs(); //資料夾權限 file.setReadable(true, false); file.setExecutable(true, false); file.setWritable(true, false); } Path localFile = Paths.get(filePathLocal, fileName); BufferedWriter writer = Files.newBufferedWriter(localFile, StandardCharsets.UTF_8); writer.write(xml); writer.close(); }
- Jan 01 Sat 2022 19:17
[JAVA] 多檔案壓縮成一個檔案
將多個檔案壓縮到一個檔
/** * 壓縮檔案 * @param filePathList 檔案列表 * @param zipDest 壓縮檔資料夾 * @return 壓縮檔路徑 * @throws IOException */ public String batchDownLoadFile(List<String> filePathList, String zipDest) throws IOException { File zipFile = new File(zipDest, System.nanoTime() + ".zip"); FileOutputStream fos = new FileOutputStream(zipFile); ZipOutputStream zos = new ZipOutputStream(fos); FileInputStream fis = null; Set<String> filePathSet = new HashSet<>(filePathList); try { for(String filePath: filePathSet) { fis = new FileInputStream(filePath); File file = new File(filePath); zos.putNextEntry(new ZipEntry(file.getName())); int tmp = 0; while((tmp = fis.read()) != -1) { zos.write(tmp); } zos.flush(); fis.close(); zos.closeEntry(); } }finally { zos.close(); fos.close(); } return zipFile.getPath(); }
- Jan 01 Sat 2022 18:53
[JAVA] com.itextpdf.text.Image.getInstance is not a recognized imageformat.
Q: 使用Image getInstance(final URL url)報錯 java.io.IOException: XXXXXXXX is not a recognized imageformat.
A: 確認圖檔是否為可使用格式:gif jpeg png
/**
* Gets an instance of an Image.
*
* @param filename
* a filename