This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install OpenCV 4.1.2 on Raspbian Buster | |
```bash | |
$ chmod +x *.sh | |
$ ./download-opencv.sh | |
$ ./install-deps.sh | |
$ ./build-opencv.sh | |
$ cd ~/opencv/opencv-4.1.2/build | |
$ sudo make install | |
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$sudo npm install -g --unsafe-perm node-red |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
title Activate Microsoft Office 2013 Volume for FREE!&cls&echo ============================================================================&echo #Project: Activating Microsoft software products for FREE without software&echo ============================================================================&echo.&echo #Supported products:&echo - Microsoft Office 2013 Standard Volume&echo - Microsoft Office 2013 Professional Plus Volume&echo.&echo.&(if exist "%ProgramFiles%\Microsoft Office\Office15\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office15")&(if exist "%ProgramFiles(x86)%\Microsoft Office\Office15\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office15")&echo.&echo ============================================================================&echo Activating your Office...&cscript //nologo ospp.vbs /unpkey:92CD4 >nul&cscript //nologo ospp.vbs /unpkey:GVGXT >nul&cscript //nologo ospp.vbs /inpkey:KBKQT-2NMXY-JJWGP-M62JB-92CD4 >nul&cscript //nologo ospp.vbs /inpkey:YC7DK-G2NP3-2QQC3-J6H88 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo modprobe vboxdrv | |
sudo apt update | |
sudo apt install --reinstall linux-headers-$(uname -r) virtualbox-dkms dkms | |
#Then reboot your system | |
sudo modprobe vboxdrv | |
#install VBoxLinuxAdditions.run | |
cd /media/ninjar/VBox_GAs_6.0.12 | |
sudo ./VBoxLinuxAdditions.run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install pip3 | |
sudo apt install python3-pip | |
install common lib | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install libfreetype6-dev pkg-config -y | |
sudo apt-get install zlib1g-dev zip libjpeg8-dev libhdf5-dev -y | |
sudo apt-get install libssl-dev libffi-dev python3-dev -y | |
sudo apt-get install libhdf5-serial-dev hdf5-tools -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "# leptontest" >> README.md | |
git init | |
git add README.md | |
git config --global user.email "you@example.com" | |
git config --global user.name "Your Name" | |
git commit -m "first commit" | |
git remote add origin http://github.com:alien18331/leptontest.git | |
git push -u origin master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#run & enter container | |
> docker run -t -i ubuntu /bin/bash | |
#commit (not inside the docker) | |
1. check container id by cmd$ docker ps | |
2. commit | |
> sudo docker commit [container ID] [fileName.tar] | |
#save image |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
virtualbox enable copy | |
sudo apt-get install virtualbox-guest-dkms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#process status | |
//ps: show process | |
//-A: show all | |
//-e: function same as -A | |
//-f: show info.(UID,PPIP,C,STIME) | |
// UID: UID group id | |
// PID: process ID | |
// PPID: father process ID | |
// C: CPU usage | |
// STIME: system start time |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
downgrade Python 3.7 to 3.6 on RPI4 | |
==================================== | |
$ alias python3='/usr/bin/python3.4' | |
$ . ~/.bashrc | |
$ python3 --version # check version |
OlderNewer