Install OpenCV 4.1.0 on Raspbian Buster
$ chmod +x *.sh
$ ./download-opencv.sh
$ ./install-deps.sh
$ ./build-opencv.sh
$ cd ~/opencv/opencv-4.1.0/build
$ sudo make install
def restart_sys(): | |
pass | |
def restart_execl(): | |
pass | |
def restart(system=True): | |
if system: | |
restart_sys() |
Install OpenCV 4.1.0 on Raspbian Buster
$ chmod +x *.sh
$ ./download-opencv.sh
$ ./install-deps.sh
$ ./build-opencv.sh
$ cd ~/opencv/opencv-4.1.0/build
$ sudo make install
I hereby claim:
To claim this, I am signing this object:
Press the windows key or click the start menu button | |
Type "System Information", then press Enter | |
In the System Information window click File, then click save. | |
Save the nfo file to an easy to remember location on your file system. | |
Email nfo file |
#!/bin/bash | |
# Kill transmission-daemon if it is running | |
transmission_da_pid=$(pgrep transmission-da) | |
if [ $transmission_da_pid ]; then | |
killall transmission-daemon && echo "Closing existing tranmission-daemon processes ..." && sleep 8 | |
fi | |
# Get VPN IP to bind to | |
bind_address=$(ip addr show tun0 | grep inet | awk '{print $2}') |
curl -s https://gist.githubusercontent.com/JMSwag/d8f01a429b1af72b9ead81f184161a3b/raw/bbf9bb63e65b9fe72baf0ff1cff3ffe6a6ef7295/unifi-video-installer.sh | sudo bash
curl -sL http://bit.ly/2gTFQtp | sudo bash
diff --git a/pyupdater/client/updates.py b/pyupdater/client/updates.py | |
index f610963..547e60e 100644 | |
--- a/pyupdater/client/updates.py | |
+++ b/pyupdater/client/updates.py | |
@@ -624,16 +624,29 @@ class AppUpdate(LibUpdate): | |
temp_dir = get_mac_dot_app_dir(self._current_app_dir) | |
self._current_app_dir = temp_dir | |
- app_update = os.path.join(self.update_folder, self.name) | |
+ #app_update = os.path.join(self.update_folder, self.name) |
I screwed up using git ("git checkout --" on the wrong file) and managed to delete the code I had just written... but it was still running in a process in a docker container. Here's how I got it back, using https://pypi.python.org/pypi/pyrasite/ and https://pypi.python.org/pypi/uncompyle6
apt-get update && apt-get install gdb