mkdir projectname
cd projectname
initating the template
nix flake init --template github:the-nix-way/dev-template#python # this should be in bash
``` | |
npm i -D @sveltejs/adapter-static | |
``` | |
``` | |
echo "export const prerender = true;" >> ./src/routes/+layout.js | |
``` | |
change | |
``` |
docker build -t dockerfile . docker run --expose 5000 -p 5000:5000 dockerfile
docker ps
docker exec -it <container_name> bash
latexrenderer - https://github.com/ArbitRandomUser/latexrenderer
vim-graphical-preview - https://github.com/bytesnake/vim-graphical-preview/
neorg - https://github.com/nvim-neorg/neorg/tree/latex-rendering
hologram-math-preview.nvim - https://github.com/Vaisakhkm2625/hologram-math-preview.nvim
nvimager - https://github.com/mbpowers/nvimager
This is a tutorial on how to touch grass
but they forgot to tell how to make grass green... that is here
LS_COLORS="*grass=01;32:$LS_COLORS"
//surfingkeys config | |
// an example to create a new mapping `ctrl-y` | |
api.mapkey('<ctrl-y>', 'Show me the money', function() { | |
Front.showPopup('a well-known phrase uttered by characters in the 1996 film Jerry Maguire (Escape to close).'); | |
}); | |
// simulate vimium's behaviour of using HLJK | |
api.map('H','S'); // History back | |
api.map('L','D'); // History back |
var list = document.getElementsByClassName('pl-video-time'); | |
var time = 0; | |
function toS(hms) { | |
var a = hms.split(':'); | |
while (a.length < 3) { | |
a.unshift(0); | |
} | |
var seconds = (+a[0]) * 60 * 60 + (+a[1]) * 60 + (+a[2]); | |
return seconds; |
A simple script to simulate keypresses to type copied text, in places where pasting is not enabled and don't have access to install new apps
(Remote or local virtual desktops, various online forms, ssh connection through old terminal emulators etc)
😅 A lot of people are using this, but couldn't get anyone to star this repo...
env vaiables for wayland can stored in /etc/environment
dolphin
QT_QPA_PLATFORMTHEME=qt5ct dolphin
https://wiki.archlinux.org/title/qt (topic 3.5)