This file contains hidden or 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
import requests | |
import time | |
from datetime import datetime, timedelta | |
from faker import Faker | |
# we'll use Faker to generate fake names, emails, etc | |
fake = Faker() | |
starting_url = "https://calendly.com/tanguy-12/1-reunion-presentation-30min-clone/" | |
scheduling_link_uuid="3g3-bw9-g7j" |
This file contains hidden or 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
login5.spotify.com | |
spclient.wg.spotify.com | |
open.spotify.com | |
api-partner.spotify.com | |
partners.wg.spotify.com | |
api.spotify.com |
This file contains hidden or 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
from selenium import webdriver | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.chrome.service import Service | |
from selenium.webdriver.support.ui import WebDriverWait | |
from selenium.webdriver.support import expected_conditions as EC | |
from webdriver_manager.chrome import ChromeDriverManager | |
from selenium.common.exceptions import TimeoutException | |
from selenium.webdriver.common.action_chains import ActionChains | |
import time |
This file contains hidden or 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
#!/usr/bin/env python | |
from pathlib import Path | |
from shutil import move | |
import random | |
import time | |
# ArduPilot SITL Logs path | |
LOGSPATH = Path("logs") | |
if LOGSPATH.exists() and any(LOGSPATH.iterdir()): | |
print("Backing up current log directory") |
This file contains hidden or 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
FROM ubuntu:20.04 | |
WORKDIR /ardupilot_ignition | |
ARG DEBIAN_FRONTEND=noninteractive | |
RUN apt update && apt install --no-install-recommends -y \ | |
lsb-release \ | |
sudo \ | |
software-properties-common \ | |
wget \ |
This file contains hidden or 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
On docker: | |
install ppa:kisak/kisak-mesa to upgrade mesa | |
gedit .ignition/gazebo/6/gui.config and change ogre2 to ogre | |
ogre-next | |
git clone --branch v2-2 https://github.com/OGRECave/ogre-next --depth 2 --no-single-branch | |
cmake -G "Ninja" -D OGRE_BUILD_SAMPLES2=1 -D OGRE_USE_BOOST=0 -D OGRE_CONFIG_THREAD_PROVIDER=0 -D OGRE_CONFIG_THREADS=0 -D CMAKE_BUILD_TYPE=Release ../ | |
echo "deb https://download.opensuse.org/repositories/network:/messaging:/zeromq:/git-stable/xUbuntu_21.04/ ./" | sudo tee -a /etc/apt/sources.list.d/zmq.list |
This file contains hidden or 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
try: | |
from pymavlink import mavextra | |
except ImportError: | |
# get path to pymavlink in module directory | |
pymavlink_relative_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), '../../modules/mavlink/pymavlink') | |
sys.path.append(pymavlink_relative_path) | |
import mavextra |
This file contains hidden or 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
-DJPEG_LIBRARY_RELEASE:FILEPATH="/usr/lib/x86_64-linux-gnu/libjpeg.so" -DBUILD_opencv_java_bindings_generator:BOOL="0" -DWITH_QT:BOOL="0" -DINSTALL_TO_MANGLED_PATHS:BOOL="1" -DBUILD_PACKAGE:BOOL="0" -DENABLE_LTO:BOOL="1" -DOPENCV_ENABLE_NONFREE:BOOL="1" -DBUILD_opencv_python_tests:BOOL="0" -DBUILD_TESTS:BOOL="0" -DCMAKE_INSTALL_PREFIX:PATH="/usr/local" -DOPENCV_EXTRA_MODULES_PATH:PATH="/home/esoft/Workspace/opencv_contrib/modules" -DENABLE_PRECOMPILED_HEADERS:BOOL="1" -DBUILD_JAVA:BOOL="0" -DCPU_BASELINE:STRING="SSE3" -DWITH_1394:BOOL="0" -DBUILD_PERF_TESTS:BOOL="0" -DCMAKE_CONFIGURATION_TYPES:STRING="Debug;Release" -DCMAKE_BUILD_TYPE:STRING="Release" -DWITH_OPENMP:BOOL="1" |
This file contains hidden or 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
True:3MP | |
Software Enhanced:15MP | |
Diagonal Field of View (FOV) 78° | |
Horizontal Field of View (FOVh) 70.42° | |
Vertical Field of View (FOVv) 43.3° | |
Focal calculation (python): | |
```` python | |
import math |
This file contains hidden or 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 apt update && sudo apt upgrade && sudo apt full-upgrade | |
sudo apt purge firefox-locale-ar firefox-locale-de firefox-locale-es firefox-locale-it firefox-locale-ja firefox-locale-pt firefox-locale-ru firefox-locale-zh-hans firefox-locale-zh-hant witalian wbrazilian wngerman wogerman wportuguese wspanish wswiss tegaki-zinnia-japanese mythes-ar mythes-de mythes-de-ch mythes-en-au mythes-es mythes-it mythes-pt-pt mythes-ru modemmanager language-pack-ar language-pack-ar-base language-pack-de language-pack-de-base language-pack-es language-pack-es-base language-pack-gnome-ar language-pack-gnome-ar-base language-pack-gnome-de language-pack-gnome-de-base language-pack-gnome-it language-pack-gnome-it-base language-pack-gnome-ja language-pack-ja-base language-pack-gnome-ja-base language-pack-gnome-pt language-pack-gnome-pt-base language-pack-gnome-ru language-pack-gnome-ru-base language-pack-gnome-zh-hans language-pack-gnome-zh-hans-base language-pack-gnome-zh-hant language-pack-gnome-zh-hant-base language-pack-it l |
NewerOlder