2024年10月3日 星期四

日期格式

範例:%Y-%m-%d %H:%M:%S
結果:2024-10-03 21:12:22

範例:%P  %l:%M%n%Y/%m/%e(Windows模式)
結果:PM   9:12
            2024/10/3            
Seconds
  • %S - Second of the minute (00..60)
  • %L - Millisecond of the second (000..999)
  • %s - Number of seconds since 1970-01-01 00:00:00 UTC.
Minutes
  • %M - Minute of the hour (00..59)
Hours
  • %H - Hour of the day, 24-hour clock (00..23)
  • %I - Hour of the day, 12-hour clock (01..12)
  • %k - Hour of the day, 24-hour clock, blank-padded ( 0..23)
  • %l - Hour of the day, 12-hour clock, blank-padded ( 0..12)
Days
  • %a - Abbreviated weekday name (“Sun”)
  • %A - Full weekday name (Sunday)
  • %w - Day of the week (Sunday is 0, 0..6)
  • %u - Day of the week (Monday is 1, 1..7)
  • %d - Day of the month (01..31)
  • %e - Day of the month (1..31)
  • %j - Day of the year (001..366)
Weeks
  • %w - Day of the week (Sunday is 0, 0..6)
  • %U - Week number of the current year, starting with the first Sunday as the first day of the first week (00..53)
  • %V - Week number of year according to ISO 8601 (01..53)
Months
  • %b - Abbreviated month name (Jan)
  • %B - Full month name (January)
  • %m - Month of the year (01..12)
Years
  • %y - Year without a century (00..99)
  • %Y - Year with century
Others
  • %p - Meridian indicator (AM or PM)
  • %P - Meridian indicator (“am” or “pm”)
  • %c - Preferred local date and time representation
  • %Z - Time zone name
  • %% - Literal % character
  • %C - Century (20 in 2009)
  • %D - U.S. Date (%m/%d/%y)
  • %n - Newline (n)
  • %t - Tab character (t)

2024年9月7日 星期六

PDF24 Tools---免費線上PDF工具程式

官網:https://tools.pdf24.org/zh/



支援Chrome、Firefox、Edge等瀏覽器,支援跨平台Windows、MacOS、Linux等等

2024年9月5日 星期四

Linux Mint Cinnamon更換系統外觀(XP化)

1.開機動畫plymouth
需要替換程式如下:
#!/bin/bash
#Note: No guarantee that this theme will be seen correctly at all screen resolutions available
#execute only from within the 
WindozeXP
 folder!
sudo mkdir /usr/share/plymouth/themes/WindozeXP
clear
sudo rsync -aq --exclude=install.sh * /usr/share/plymouth/themes/WindozeXP/
clear
sudo update-alternatives --install /usr/share/plymouth/themes/default.plymouth default.plymouth /usr/share/plymouth/themes/WindozeXP/WindozeXP.plymouth 100
sudo update-alternatives --config default.plymouth  #here, choose the number of the theme you want to use then hit enter
sudo update-initramfs -u
echo
#echo Installing plymouth-x11...   Redundant if already installed.
#sudo apt-get install plymouth-x11
echo
echo Running 10-second test...
sudo plymouthd ; sudo plymouth --show-splash ; for ((I=0; I<10; I++)); do sleep 1 ; sudo plymouth --update=test$I ; done ; sudo plymouth --quit
exit

2.登入畫面(管理 / 登入畫面)



3.icons(解壓縮zip,整個目錄拷貝到~/.icons/下面)
4.themes(解壓縮zip,整個目錄拷貝到~/.themes/下面)
5.Cursors(解壓縮zip,整個目錄拷貝到~/.themes/下面)
6.Wall Paper(圖片按滑鼠右鍵 / 設成桌布)

B00MERANG---Linux Themes

 https://b00merang-project.github.io/linux-themes