Let's update the software on our Pi.
sudo apt update
sudo apt upgrade
- Test python.
Let's update the software on our Pi.
sudo apt update
sudo apt upgrade
let myImages = [ | |
"image1.jpg", | |
"image2.jpg", | |
"image3.jpg" | |
] | |
//NOTE: | |
//ALL CODE SNIPPETS WITH $ BELOW ARE USING jQUERY! | |
// |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script> | |
</head> | |
<body> | |
<p>This is a demo for Fidelis.</p> |
1. Update all package system | |
sudo xbps-install -Suv | |
2. add non-free repo | |
sudo xbps-install -Rs void-repo-nonfree | |
3. Software & utilities | |
sudo xbps-install -Rs xdg-desktop-portal xdg-desktop-portal-gtk xdg-user-dirs xdg-user-dirs-gtk xdg-utils vlc pipewire libspa-bluetooth noto-fonts-cjk noto-fonts-emoji noto-fonts-ttf noto-fonts-ttf-extra libreoffice-writer libreoffice-calc libreoffice-impress rhythmbox neofetch ntfs-3g gimp inkscape lm_sensors wget udisks2 gvfs mtpfs gvfs-mtp gvfs-gphoto2 xtools WoeUSB xz unrar qt5-wayland nano ffmpeg Kooha handbrake inxi streamlink | |
4. Install chrome gnome, gnome menu For Gnome & extension |
html, body { | |
margin: 0; | |
padding: 0; | |
} | |
body { | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
height: 100vh; | |
} |
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
fetch("cal.tsv") | |
.then((response) => response.text()) | |
.then((data) => { | |
//split text file by newline and tab | |
//thanks to stackoverflow https://stackoverflow.com/questions/47876718/splitting-text-file-by-newlines-and-tab-in-javascript | |
timetable_data = data.split("\n").map(function (ln) { | |
return ln.split("\t"); | |
}); | |
//returns array of timetable data by line, separated on each line by tab separated value |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Fengari test</title> | |
<script src="fengari-web.js"></script> | |
</head> | |
<body> | |
<script src="main.lua" type="application/lua" async></script> | |
</body> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
.grid-container { | |
display: grid; | |
gap: 10px; | |
background-color: #2196F3; | |
padding: 10px; | |
grid: |