start new:
tmux
start new with session name:
tmux new -s myname
| from time import sleep | |
| from tqdm import tqdm | |
| count = 0 | |
| for i in tqdm(range(100)): | |
| count += i | |
| sleep(0.2) | |
| Adding the Progress Indicator to the Page | |
| To get started, add the following markup to the index.html file right after the opening <body> tag. | |
| <div class="progress-container fixed-top"> | |
| <span class="progress-bar"></span> | |
| </div> | |
| fixed-top is a Bootstrap utility class that adds the following CSS styling to an element. | |
| .fixed-top { | |
| position: fixed; |
| I want you to act as a Linux terminal. I will type commands and you will reply with what the terminal should show. I want you to only reply with the terminal output inside one unique code block, and nothing else. Do not write explanations. Do not type commands unless I instruct you to do so. When I need to tell you something in English I will do so by putting text inside curly brackets {like this}. My first command is pwd. |
ls (List directory contents)
ls [OPTION]... [DIRECTORY]cd (Change directory)
cd [DIRECTORY]const log = log => console.log(log)
const war = warn => console.warn(warn)
const inf = info => console.info(info)
const err = error => console.error(error)
const tab = table => console.table(table)| def ascii_art(text): | |
| characters = [' ', '.', '*', ':', 'o', '&', '8', '#', '@'] | |
| output = '' | |
| for char in text: | |
| index = ord(char) % len(characters) | |
| output += characters[index] + ' ' | |
| return output |