Blog

RaspberryPi unzip file via 7Zip

在 Linux / Ubuntu 上如何 unzip a Zip file 解決方法 我們可以安裝 7Zip 之後用 command extract 便可 安裝 7Zip sudo apt-get install p7zip-full install 7zip on linux

upload copy file via ssh

如何從 local machine 經 ssh 去 copy 檔案到 raspberrypi 上 解決方法十分簡單… 我可以使用 scp command scp [File to Copy] [Destination] scp "C:/Users/Chi/Desktop/kali/wordlist.zip" …

RaspberryPi how to unzip unrar

如何在 raspbian 上 unzip a rar 檔案 / 安裝 unrar 解決方法: 首先我們要更改 sources.list sudo nano /etc/apt/sources.list sudo nano /etc/apt/sources.list uncomment 以下那一行

'python' no such file or directory

嘗試安裝 wifite 時出現了一個 python 的 error 'python' no such file or directory ‘python’ no such file or directory

How to resume SSH session - Ubuntu / RaspberryPi

最近最左塊 RaspberryPi4 諗住用黎比屋企人做 Media Center 但係就咁放係度做 media center 好似有 D 浪費 所以便安裝左 D tools 黎玩 發現有 D tools run 既時候需要 一些時間 但係當你個 ssh connection 斷左之後… 你在 terminal 上執行既 command 亦都會被 …

add-apt-repository: command not found

嘗試加入新的 package repository 時出現了以下 error add-apt-repository: command not found fixed - add-apt-repository: command not found 解決方法: 加了software-properties-common 便可

git rewrite commit author

最近發現自己有些 Git Repository 的 Git Author name 用錯了 account git commit history with author name 忘記了在 clone repo 既時候要用

How to run reactjs in different port

最近用了NodeJs Express 來做 Web App 的 Backend 用左 port 3000 而create-react-app 既 default port 又係 3000 怎樣可以改變create-react-app 既 port 呢 解決方法: 十分簡單… 我們只需要在 package.json 上既 scripts section …

Ubuntu remote desktop from windows 10

最近買了隻 RaspberryPi 4 想安裝 Ubuntu 來做一個 mini-computer 給家人用來做media centre 由於屋企沒有 電腦 Mon 所以 要試東西要連上 TV… 有點麻煩 如果可以安裝 Remote Desktop 便好了 解決方法: sudo apt install xrdp sudo systemctl enable …

SQL Server Management Studio (SSMS) shortcut to view Table Defination (sp_help)

最近同事介紹左個好正既 SQL Server Management Studio (SSMS) 既 Shortcut key 用來 檢視 Table defination / information of database object 我們只需要在 Query 上 highlight Table 名 之後按 ALT+F1 便可以看到相關係資訊 e.g. 我 …