ctrl + alt + F5
sudo apt-get clean
sudo apt install --reinstall gdm3 ubuntu-desktop gnome-shell
sudo systemctl reboot
| # -o- coding: utf-8 -o- | |
| # ISO3166 python dict | |
| # oficial list in http://www.iso.org/iso/iso_3166_code_lists | |
| ISO3166 = { | |
| 'AF': 'AFGHANISTAN', | |
| 'AX': 'ÅLAND ISLANDS', | |
| 'AL': 'ALBANIA', | |
| 'DZ': 'ALGERIA', | |
| 'AS': 'AMERICAN SAMOA', |
ctrl + alt + F5
sudo apt-get clean
sudo apt install --reinstall gdm3 ubuntu-desktop gnome-shell
sudo systemctl reboot
| use std::fs::File; | |
| use std::io::{self, BufRead, BufReader, Write}; | |
| use std::time::Instant; | |
| // This function takes a query string, a vector of possible queries, and a maximum number of suggestions to return. | |
| // It returns a vector of strings containing all the possible queries that start with the given query string, up to the maximum number of suggestions. | |
| fn autocomplete_fast(query: &str, possible_queries: &[String], max_suggestions: usize) -> Vec<String> { | |
| // Convert the query string to lowercase. | |
| let query = query.to_lowercase(); | |
| use std::collections::HashMap; | |
| use std::fs::File; | |
| use std::io::{BufRead, BufReader}; | |
| use rand::seq::SliceRandom; | |
| use std::time::Instant; | |
| // This function takes a query string, a vector of possible queries, and a maximum number of suggestions to return. | |
| // It returns a vector of strings containing all the possible queries that start with the given query string, up to the maximum number of suggestions. | |
| fn autocomplete_fast(query: &str, possible_queries: &[String], max_suggestions: usize) -> Vec<String> { |
| tiktok-developers-site-verification=H74hhs0HCxEj86m5jlIDlQY8B2EZoFrk |
(1) FEATURE EXPECTATIONS [5 min]
(1) Use cases
(2) Scenarios that will not be covered
(3) Who will use
(4) How many will use
(5) Usage patterns