This is very straight forward process and involves editing a single file. You will need sudo privileges for this.
-
Open Terminal and execute below to open
hostsfilesudo nano /etc/hosts
| /** | |
| * Arduino Weight Converter | |
| * This project allows the user to enter a weight (in Kg or Lbs) using a 4x4 matrix keypad. | |
| * The program then calculates and displays the equivalent weight on various celestial bodies | |
| * using an I2C LCD. | |
| * | |
| * Components: | |
| * - Arduino Uno | |
| * - 4x4 matrix keypad | |
| * - I2C 16x2 LCD module |
| { | |
| "models": [ | |
| { | |
| "title": "Qwen 2.5 Coder 7b", | |
| "model": "qwen2.5-coder:7b", | |
| "provider": "ollama", | |
| "apiKey": "" | |
| } | |
| ], | |
| "tabAutocompleteModel": { |
| #!/bin/bash | |
| # Bingo Number Generator | |
| echo -e "\n~~ Bingo Number Generator ~~\n" | |
| NUMBER=$(( RANDOM % 75 + 1 )) | |
| TEXT="The next number is, " | |
| if (( $NUMBER <= 15 )) | |
| then | |
| echo $TEXT B:$NUMBER | |
| elif [[ $NUMBER -le 30 ]] |
| # Generated by Powerlevel10k configuration wizard on 2023-03-27 at 18:29 IST. | |
| # Based on romkatv/powerlevel10k/config/p10k-rainbow.zsh, checksum 53641. | |
| # Wizard options: nerdfont-complete + powerline, small icons, rainbow, unicode, | |
| # 12h time, angled separators, sharp heads, flat tails, 1 line, sparse, many icons, | |
| # fluent, instant_prompt=verbose. | |
| # Type `p10k configure` to generate another config. | |
| # | |
| # Config for Powerlevel10k with powerline prompt style with colorful background. | |
| # Type `p10k configure` to generate your own config based on it. | |
| # |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(const MyApp()); | |
| class MyApp extends StatelessWidget { | |
| const MyApp({Key? key}) : super(key: key); | |
| static const String _title = 'Flutter Code Sample'; | |
| @override |
| import 'dart:math'; | |
| import 'package:flutter/material.dart'; | |
| void main() { | |
| runApp(MyApp()); | |
| } | |
| class MyApp extends StatelessWidget { | |
| @override |
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