This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- ~/.config/nvim/init.lua | |
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" | |
if not vim.loop.fs_stat(lazypath) then | |
vim.fn.system({ | |
"git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath | |
}) | |
end | |
vim.opt.runtimepath:prepend(lazypath) | |
require("lazy").setup({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# List of commonly used XFCE plugins/applets | |
plugins=( | |
xfce4-whiskermenu-plugin # Modern application menu | |
xfce4-battery-plugin # Battery monitor | |
xfce4-weather-plugin # Weather display | |
xfce4-netload-plugin # Network load monitor | |
xfce4-cpugraph-plugin # CPU usage graph | |
xfce4-diskperf-plugin # Disk performance monitor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!# /usr/bin/bash | |
bunx puppeteer browsers install [email protected] | |
# npx or bunx | |
# or newer version |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# --- Prefix Key --- | |
unbind C-b | |
set-option -g prefix C-Space | |
set-option -g status-position top | |
bind C-Space send-prefix | |
# --- Window Index Starts at 1 --- | |
set -g base-index 1 | |
setw -g pane-base-index 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
# make-snap-apps-visible.sh | |
sudo cp /var/lib/snapd/desktop/applications/*.desktop /usr/share/applications/ | |
echo "[DONE] all snap packages visible!" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "core:slice" | |
import "core:strings" | |
import rl "vendor:raylib" | |
main :: proc() { | |
// Initialize window | |
rl.InitWindow(1000, 600, "Dropdown List With Shape Names") | |
defer rl.CloseWindow() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "core:math" | |
import "core:fmt" | |
import rl "vendor:raylib" | |
Platform :: struct { | |
pos: rl.Vector2, | |
size: rl.Vector2, | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "core:math/rand" | |
import "core:fmt" | |
import rl "vendor:raylib" | |
Ball :: struct { | |
pos: rl.Vector2, | |
velocity: rl.Vector2, | |
radius: f32, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import rl "vendor:raylib" | |
State :: enum { | |
LevelPicker, | |
LevelView, | |
} | |
main :: proc() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import rl "vendor:raylib" | |
import "core:math/rand" | |
import "core:fmt" | |
import "core:math/linalg" | |
Ball :: struct { | |
position: rl.Vector3, | |
active: bool, |
NewerOlder