sudo apt install --reinstall python3
sudo apt install --reinstall python
`` sudo update-alternatives --remove-all python
sudo apt install --reinstall python3
sudo apt install --reinstall python
`` sudo update-alternatives --remove-all python
| echo "" | |
| echo "" | |
| echo "▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔" | |
| echo " Building Schemas" | |
| echo "" | |
| echo "▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔" | |
| echo "" | |
| echo "" | |
| # |
| #!/usr/bin/env python3 | |
| from tqdm import tqdm | |
| import glob | |
| import os | |
| import sys | |
| import cv2 | |
| import matplotlib.pyplot as plt | |
| import numpy as np |
| package com.qadah.slack; | |
| import com.fasterxml.jackson.core.JsonProcessingException; | |
| import com.fasterxml.jackson.databind.DeserializationFeature; | |
| import com.fasterxml.jackson.databind.ObjectMapper; | |
| import org.slf4j.Logger; | |
| import org.slf4j.LoggerFactory; | |
| import org.springframework.beans.factory.annotation.Autowired; | |
| import org.springframework.boot.web.client.RestTemplateBuilder; | |
| import org.springframework.http.HttpEntity; |
| // Requires JDK 1.8 | |
| // Run it with: | |
| // javac Main.java && java -cp .:dremio-jdbc-driver-20.0.0-202201050826310141-8cc7162b.jar Main | |
| // If the output in terminal shows the following then the test is successful. | |
| // Printing the result | |
| // ------------------- | |
| // User: dremio | |
| // ------------------- | |
| import java.sql.*; |
| #!/usr/bin/env bash | |
| sudo yum install -y https://centos7.iuscommunity.org/ius-release.rpm | |
| sudo yum update -y | |
| sudo yum install xz-devel -y | |
| sudo yum install -y python34u python34u-libs python34u-devel python34u-pip | |
| #sudo yum install centos-release-scl -y | |
| #sudo yum install rh-python34 -y | |
| # need to run outside . scl enable rh-python34 bash |
| # this work for additional information regarding copyright ownership. | |
| # The ASF licenses this file to You under the Apache License, Version 2.0 | |
| # (the "License"); you may not use this file except in compliance with | |
| # the License. You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| #!/bin/bash | |
| # | |
| # This script reads the correct MAC address of a Jetson Nano from the onboard EEPROM over i2c. | |
| # First install i2c-tools package. Then make this script executable, and run it with sudo: | |
| # | |
| # $ sudo apt-get install i2c-tools | |
| # $ chmod +x nano-read-mac.sh | |
| # $ sudo ./nano-read-mac.sh | |
| # MAC address is xx:xx:xx:xx:xx:xx | |
| # |