pip3 install pipenv
pipenv shell
VALID |
import 'package:flutter/material.dart'; | |
import 'dart:typed_data'; | |
void main() { | |
runApp(CANSimulatorApp()); | |
} | |
class CANSimulatorApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { |
458966666dasdkkf44sdfdf |
#!/bin/bash | |
# Update and install necessary packages | |
apt-get update | |
apt-get install -y sudo jq curl git tar xz-utils libarchive-tools \ | |
openjdk-17-jdk | |
# Install ZeroTier | |
curl -s https://install.zerotier.com | bash |
The official instructions on installing TensorFlow are here: https://www.tensorflow.org/install. If you want to install TensorFlow just using pip, you are running a supported Ubuntu LTS distribution, and you're happy to install the respective tested CUDA versions (which often are outdated), by all means go ahead. A good alternative may be to run a Docker image.
I am usually unhappy with installing what in effect are pre-built binaries. These binaries are often not compatible with the Ubuntu version I am running, the CUDA version that I have installed, and so on. Furthermore, they may be slower than binaries optimized for the target architecture, since certain instructions are not being used (e.g. AVX2, FMA).
So installing TensorFlow from source becomes a necessity. The official instructions on building TensorFlow from source are here: ht
Step 1. Run command: expo eject
in root of expo project.
Step 2. Choose 2nd option: Eject to ExpoKit and follow step to step from Expo command to eject it completely.
Step 3 (Optional) Install dependencies (normally, Expo will auto run this command)
yarn install
#!/bin/bash | |
# This will remove Apache | |
sudo service apache2 stop | |
sudo apt-get purge apache2 apache2-utils apache2.2-bin apache2-common | |
sudo apt remove apache2.* | |
sudo apt-get autoremove | |
whereis apache2 | |
sudo rm -rf /etc/apache2 |
Run this command in powershell as administrator
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux