User:Bnstlv/prototyping: Difference between revisions
Line 73: | Line 73: | ||
-- on shared/html - is where the breadcube page is located; | -- on shared/html - is where the breadcube page is located; | ||
-- /index.html - is our homepage. | -- /index.html - is our homepage. | ||
TIP: use the "man" (manual) command to find out what a specific command can do, a guide on how to use it and type in the terminal or on Jupyter. | |||
* HTML<br> | * HTML<br> |
Revision as of 22:42, 25 October 2022
Prototyping 01
Our server was born on Sep 20, 2022! We called it breadcube. During our first Prototyping session, we talked a lot about Sandbox, Debian, and Unix-like systems, and went through some of the basic terms, commands, and syntax, like Shell Cheat Sheet:
- bo@breadcube:~$ whoami - bo@breadcube:~$ cd .. - bo@breadcube:/$ ls - bo@breadcube:/var/www/html$ nano bo.html and more
Manetta and Joak also showed us some figlet art. :)
_ - __ ___ __ _ _| |__ - \ \/ / '_ \| | | | '_ \ - > <| |_) | |_| | |_) | - /_/\_\ .__/ \__,_|_.__/ - |_|
- _ _ _ - | |__ _ __ ___ __ _ __| | ___ _ _| |__ ___ - | '_ \| '__/ _ \/ _` |/ _` |/ __| | | | '_ \ / _ \ - | |_) | | | __/ (_| | (_| | (__| |_| | |_) | __/ - |_.__/|_| \___|\__,_|\__,_|\___|\__,_|_.__/ \___|
Prototyping 02
Pad: the internet, the web, mark up that text
During our second Prototyping session, we invited our breadcube to join the XPUB HUB. To do that we used Tinc, and followed all steps described here XPUB HUB New Nodes. Breadcube is on the HUB!
Key learnings:
- Pads are private and can be used for private notes. Wiki Pages are public (-ish);
- XPUB HUB is the only server that could be accessed freely via the internet;
- Up arrow - to go back to previous commands, history of commands;
- the $ is for Bash language;
- the # is for commands to the root;
- they both ($ and #) indicate to us that are waiting for our command;
- the "man" command stands for "manual" and gives us detailed instructions on how and what the specific command can do for us (ex: man cat; mac ls; etc.);
- the /root folder is a secured folder with restricted access, so only people with the right rights can change it;
- our folders are not protected, each one of us can access, change and even delete (lol) them;
- bashrc - to go back to the home folder
- sudo is a permission group; a group of people like all of us from xpub1
- drwxr-xr-x
- rwx = user
- rdw = group
- rwx = others
Prototyping 03
During the first half of the day, we got to know the Jupyter Notebook app, its interface, functions and capabilities. Later, we dug into the world of HTML and CSS.
- About Jupyter Notebook
- Notebook - a specific space where you can write both code and text - Under "Other" there are several options to choose from: open a Text file, open the Terminal, and more. - Navigating inside the File browser: -- choose “+” sign to open a new Launcher tab -- choose “folder+” sign to create a new folder inside the directory where you are -- choose “up arrow” to upload files inside the folder we are working - “shared” folder -> folder on our server used to share content; similar to our pages on the breadcube -- on shared/html - is where the breadcube page is located; -- /index.html - is our homepage.
TIP: use the "man" (manual) command to find out what a specific command can do, a guide on how to use it and type in the terminal or on Jupyter.
- HTML
Prototyping 04
Prototyping 05
Trying out Python - A house of plants - messing up with lists of words inside the .py file, replacing words, and making new sentences. I went for the garden theme. Here is one of the randomly generated results:
FERMENTING MEANS WAVING BY USING MUSHROOMS DONE BY WARRIORS, BUGS AND OTHER INSECTS.