sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
| 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 |
| /* | |
| MIT License | |
| Copyright (c) 2023 Jiayin Cao | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is |
| #include <iostream> | |
| #include "particle.h" | |
| int main() | |
| { | |
| constexpr Vector2D g = { 0.0F, -9.8F }; // Constante gravitacional | |
| constexpr float dt = 1.0F / 60.0F; // Passo de tempo para simulação | |
| Particle apple { 0 }; |
| using UnityEngine; | |
| public class ShowOnlyAttribute : PropertyAttribute {} |
| var pdflinks = []; | |
| Array.prototype.map.call(document.querySelectorAll("a[href$=\".pdf\"]"), function(e, i) { | |
| if ((pdflinks || []).indexOf(e.href) == -1) { | |
| pdflinks.push(e.href); | |
| } | |
| }); | |
| console.log(pdflinks.join(" ")); |