幾個付費的郵件托管服務:
- Purelymail:每年 $10 USD
- Spacemail:每月 $0.98 USD
- iCloud+
# 新機台安裝資料庫系統並嘗試匯出資料 # apt-get install mariadb-server # lsblk # mount /dev/sdb1 /mnt/rescue # /etc/init.d/mariadb stop # mv /var/lib/mysql /var/lib/_mysql # cp -R /mnt/rescue/var/lib/mysql /var/lib/ -R # chown -R mysql:mysql mysql # /etc/init.d/mariadb start # # 匯出資料庫檔案 # mysqldump -u db_user -p --default-character-set=utf8 mydb > mydb_backup.sql
D:\jdk17\bin\javac.exe -cp .;D:\ojdbc17-full\ojdbc17.jar OraDBConn.java D:\jdk17\bin\java.exe -cp .;D:\ojdbc17-full\ojdbc17.jar OraDBConn3. 範例程式碼 (OraDBConn.java)
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.ResultSet;
import java.sql.Statement;
public class OraDBConn {
public static void main(String[] args) {
// Database connection information
String host = "10.18.1.1";
String port = "1522";
String serviceName = "SNAME";
String db_user_id = "TESTID";
String db_user_pwd = "2wsx3edc";
String jdbcUrl = "jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=" +
"(PROTOCOL=TCPS)(HOST=" + host + ")(PORT=" + port + ")))" +
"(CONNECT_DATA=(SERVICE_NAME=" + serviceName + ")))";
// Need [cwallet.sso] file for SSO authentication
System.setProperty("oracle.net.wallet_location", "D:\\wallet");
try
{
// Establish a connection using the Oracle Wallet
Connection connection =
DriverManager.getConnection(jdbcUrl, db_user_id, db_user_pwd);
System.out.println("Connection established successfully!");
Statement stmt = connection.createStatement();
String sqlcode = "SELECT * FROM OWNER.Table13 WHERE ROWNUM <= 3";
ResultSet rs = stmt.executeQuery(sqlcode);
while(rs.next()) System.out.println(rs.getString(5) + "\t");
connection.close();
}
catch (SQLException e) {
e.printStackTrace(); System.out.println("Failed connect."); }
}
}
A clientless remote desktop gateway. It supports standard protocols like VNC, RDP, and SSH. We call it clientless because no plugins or client software are required. Guacamole is installed on a server, all you need to access your desktops is a web browser.遠端桌面閘道(RD Gateway)支援 RDP 及 SSH 協定;使用者透過瀏覽器可直接存取遠端桌面,無需設定。
# apt-get -y update # apt-get install -y nodejs npm git # npm install pm2 -g # pm2 install pm2-logrotate安裝 Uptime Kuma
# git clone https://github.com/louislam/uptime-kuma.git # cd uptime-kuma # npm run setup # pm2 start server/server.js --name uptime-kuma進行初次設定 http://localhost:3001
小時候認識的摩托羅拉是 Motorola, Inc.,而現在 (2014 起) 則為聯想集團的全資子公司 Motorola Mobility LLC。雖不若以往強盛,但偶有佳作。
聯想並沒投注太多心力在風格打造,手機介面幾乎就是原生安卓 (Stock Android),這點意味能夠體驗精簡設計,用戶依自身需求安裝軟體。相較於 Pixel 手機而言,除了相機平庸之外,其餘 (CPU 與售價) 皆完美。
Cookie 分區儲存,第三方 Cookie 只允許讀取同網域下的內容,無法跨站存取。
Cookies Having Independent Partitioned State (CHIPS) allows developers to opt a cookie into partitioned storage, with separate cookie jars per top-level site, improving user privacy and security.
Without partitioning, third-party cookies can enable services to track users and join their information from across many unrelated top-level sites. This is known as cross-site tracking.
停用方式:
[Chrome]
在 chrome://flags/ 中更改設定 Third-party Storage Partitioning = Disable
[Firefox]
在 about:config 中更改設定 network.cookie.cookieBehavior 改成 4
愈來愈嚴格!
因為 CodeIgniter v4.5 需要 PHP 8.1 及 PHP-intl 元件才能運作,原生 GitHub Codespaces 運作 Ubuntu 20.04 LTS 版本,快速解法是直接透過 Personal Package Archives(PPA) 補齊新版套件,並把環境鏈結刪除(current),最後再用 composer 把 CodeIgniter 裝起來。
[啟用第三方套件庫]
# add-apt-repository ppa:ondrej/php
# apt install php8.3-{cli,intl,curl,mbstring,mysql,sqlite3,gd} phpunit
[確定當前PHP呼叫路徑]
# which php
# 可能是 /home/codespace/.php/current/bin/php
# 或者是 /usr/local/php/current/bin/php
[重新建立鏈結(current),最新版位於 /usr/bin/php8.3]
# rm /home/codespace/.php/current
# rm /usr/local/php/current
# ln -s /usr /home/codespace/.php/current
# ln -s /usr /usr/local/php/current
# 執行 php --ini 或 php -m 驗證環境
[安裝資料庫]
# apt install mariadb-server
# /etc/init.d/mysql start
# mysql_secure_installation