sublime text 開啟excel 產生的csv檔案時會顯示亂碼,這時可以用File > Reopen with Encoding >BIG5 來解決這個問題
然後再用File > Set File Encoding to > utf8 存成 utf8的檔案格式
BIG5 的編碼在 sublime text 似乎也可以稱為Western(Windows 1252)
sublime text 開啟excel 產生的csv檔案時會顯示亂碼,這時可以用File > Reopen with Encoding >BIG5 來解決這個問題
然後再用File > Set File Encoding to > utf8 存成 utf8的檔案格式
BIG5 的編碼在 sublime text 似乎也可以稱為Western(Windows 1252)
參考網址:如何在Excel中刪除括號中的內容?
ctrl+m 處理計時決賽(複製本身這一列,然後改成預賽和決賽)
Sub a() ' ' 巨集1 巨集 ' 將計時決賽分成預賽與決賽 ' ' 快速鍵: Ctrl+m ' ActiveCell.Rows("1:1").EntireRow.Select Selection.Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove ActiveCell.Offset(1, 0).Rows("1:1").EntireRow.Select Selection.Copy ActiveCell.Offset(-1, 0).Rows("1:1").EntireRow.Select ActiveSheet.Paste ActiveCell.Offset(0, 1).Range("A1").Select Application.CutCopyMode = False ActiveCell.FormulaR1C1 = ActiveCell.Offset(1, 0).Value & "A" ActiveCell.Offset(0, 4).Range("A1").Select ActiveCell.FormulaR1C1 = "預賽" ActiveCell.Offset(1, 0).Range("A1").Select ActiveCell.FormulaR1C1 = "決賽" ActiveCell.Offset(1, 0).Range("A1").Select End Sub
ctrl+b 去除混合運動的(1)
Sub b() ' ' b 巨集 ' 去除混合運動的(1) ' ' 快速鍵: Ctrl+b ' Cells.Replace What:="(*)", Replacement:="", LookAt:=xlPart, SearchOrder _ :=xlByRows, MatchCase:=False, SearchFormat:=False, ReplaceFormat:=False End Sub
參考網址:
先移除 apt remove chromium-browser 再安裝 apt update apt install chromium-browser 下載:1 http://archive.raspberrypi.org/debian buster/main armhf chromium-browser-l10n all 92.0.4515.98~buster-rpt2 [4,073 kB] 下載:2 http://archive.raspberrypi.org/debian buster/main armhf chromium-browser armhf 92.0.4515.98~buster-rpt2 [118 MB] 下載:3 http://archive.raspberrypi.org/debian buster/main armhf chromium-codecs-ffmpeg-extra armhf 92.0.4515.98~buster-rpt2 [1,589 kB]
另一種安裝方式,用snap
https://snapcraft.io/install/chromium/raspbian
On a Raspberry Pi running the latest version of Raspbian snap can be installed directly from the command line:
sudo apt update
sudo apt install snapd
You will also need to reboot your device:
sudo reboot
After this, install the core snap in order to get the latest snapd:
sudo snap install core
To install chromium, simply use the following command:
sudo snap install chromium
參考網址:https://ywnz.com/linux/6978.html
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb apt install ./google-chrome-stable_current_amd64.deb
參考網址:https://kab49acb.pixnet.net/blog/post/344913032-create-a-snapshot-on-ubuntu-linux—在ubuntu上製作備份
sudo apt-add-repository -y ppa:teejee2008/ppa sudo apt update sudo apt install timeshift 選擇你的snapshot要存在哪裡,最好是選不是你放系統檔案的那個磁碟分割
另一個軟體systemback
https://ubuntuqa.com/zh-tw/article/10012.html
add-apt-repository "deb http://ppa.launchpad.net/nemh/systemback/ubuntu xenial main" apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 382003C2C8B7B4AB813E915B14E4942973C62A1B apt update apt install systemback
參考網址:https://ddeevv.com/question/my-chromium-version-is-really-old-qa8aa5.html
pi 4 用了一陣子了,原本安裝昀系統是Raspberry Pi Desktop Debian version: 10 (buster)
瀏覽器chromiun是 V74 已經太舊,有些google的服務跑不起來,想要更新。
sudo apt-get update
sudo apt-get upgrade chromium-browser
下了以上指令,系統更新好久,期間也出現馬一些錯誤,最後也沒有成功。
linux軟更新牽涉到許多的相性,真是不容易。
chromium 套件下載
deb arm
https://deb.debian.org/debian/pool/main/c/chromium/
參考網址:https://cjk.aiao.today/ubuntu-20-04-pppoe/
sudo apt install pppoeconf
sudo pppoeconf
sudo pon dsl-provider
sudo poff -a
執行 ip address show ppp0 紅框內就是 IP。
在 /etc/ppp 目錄下,chap-secrets 和 pap-secrets 兩個檔案裡,可以查到撥接的帳號、密碼。
在11.04的環境中,安裝完PPPOE之eth0的ipv4設定會不見,
解決方法:
原本在mini server中網路的設定是用NetworkManage管理的
設定完pppoeconf 之後卻變成用networking管理,並且把iface eth0 inet 改成manual
所以得到/etc/network 修改interface檔案
Static 設定方式:
auto eth0
iface eth0 inet static
address 192.168.1.90
netmask 255.255.255.0
gateway 192.168.1.254
接著設定 DNS:
sudo vi /etc/resolv.conf
輸入:
nameserver 168.95.1.1
然後重新啟動網路服務:
sudo /etc/init.d/networking restart
參考網址:
https://www.mobile01.com/topicdetail.php?f=110&t=5662845
你必須打開機器上的NAT Lookback功能,才能在內網中直接用Public IP來連線
https://www.mobile01.com/topicdetail.php?f=110&t=5442356&p=2#69584109