- Repository resides here - https://github.com/looselytyped/web-apps-with-vue3
- Link to this Gist - https://gist.github.com/looselytyped/3374c6803523164c373d768f316a1a49
- Getting started with
create-vue - What do you have in the project you cloned?
| use std::collections::{BTreeMap}; | |
| use std::fs::File; | |
| use std::io::{self, BufRead, Read, Seek, SeekFrom}; | |
| use std::ops::AddAssign; | |
| use fnv::FnvHashMap; | |
| #[derive(Debug, Clone, Copy)] | |
| struct TemperatureStats { | |
| min: f32, | |
| max: f32, |
create-vueYou will need Docker installed! Here is a link to get you started. Proceed after you are done installing.
| import requests | |
| import csv | |
| import os | |
| import json | |
| import re | |
| from bs4 import BeautifulSoup | |
| import mechanize | |
| from random import choice | |
| user_agents = ['Mozilla/5.0 (X11; U; Linux; i686; en-US; rv:1.6) Gecko Debian/1.6-7','Konqueror/3.0-rc4; (Konqueror/3.0-rc4; i686 Linux;;datecode)','Opera/9.52 (X11; Linux i686; U; en)'] | |
| random_user_agent = choice(user_agents) |
| # Put this function to your .bashrc file. | |
| # Usage: mv oldfilename | |
| # If you call mv without the second parameter it will prompt you to edit the filename on command line. | |
| # Original mv is called when it's called with more than one argument. | |
| # It's useful when you want to change just a few letters in a long name. | |
| function mv() { | |
| if [ "$#" -ne 1 ]; then | |
| command mv "$@" | |
| return |