User:Ada/prototyping: Difference between revisions

From XPUB & Lens-Based wiki
Line 8: Line 8:
   <head>
   <head>
   <title> needs to be in head not body
   <title> needs to be in head not body
  <style>
            h1{
                color: red;
            }
        </style> css is in the head for everything or can be used for specific parts
      <h1 class="" style="color:blue;">text</h1> this way it's both the whole text and h1
</syntaxhighlight>
</syntaxhighlight>



Revision as of 13:26, 4 October 2022

⧆ 03. jupyter & hypertext

  1. hyperworld hypertext edit

HTML details about header, title and language processing

<!DOCTYPE html> tells me it's html
<html> 
   <head>
   <title> needs to be in head not body
   <style>
            h1{
                color: red;
            }
        </style> css is in the head for everything or can be used for specific parts 
      <h1 class="" style="color:blue;">text</h1> this way it's both the whole text and h1

⧆ 02. internet & markup

Hub: https://pzwiki.wdka.nl/mediadesign/HUB

Hidden network main notes: xvm(xpub virtual machine) is the only publicly reachable server on the network (so if u need to see a page like from the bootleg library, you ask for the bl server to serve the main page of the software used). Basically the request goes from a laptop to

laptop—> xvm —> bootleg —> xvm—→ laptop

  • XVM is the only one that has a domain name (xpub.nl, the rest is unreachable without xvm)

Tinc

  • Software that makes these hidden networks
  • Installing to add breadcube to the HUB

Shell Cheat Sheet

⧆ 01. breadcube setup

keywords: sandbox, raspberry pi, server, unix-like software, post-PRISM age (surveillance program)

Sandbox

  • Spaces for testing and prototyping software and describe how users and processes can be isolated for security purpuses.
  • Debian = OP most often used for servers, or computer without a graphic interaction (only terminal). UTF8 = character encoding

Server commands BREADCUBE

ssh ada @145.24.139.110
wall message
pwd (home)
ls (listing command)
apt intall nginx(install engine sever to access files from the server)
cd var/www/html 
nano ada.html
(exit cntrl x)
http://145.24.139.110/ada.html
<a href="suzan.html".suzan,/a>
(to write) 
figlet -f /usr/share/figlet/script.flf MESSAGE
ls /usr/share/figlet/
figlet -f shadow ada
  • Root = main user
  • Pseudo but not root: pseudoappinstall (will work if ur not root)