Skip to content

Instantly share code, notes, and snippets.

View eboye's full-sized avatar
🏠
Working from home

Vasilj Milošević eboye

🏠
Working from home
View GitHub Profile
@eboye
eboye / privacy-policy.md
Created October 10, 2026 13:53
Bold Ops watch face: privacy policy

Bold Ops watch face: privacy policy

Last updated: 10 October 2026

Bold Ops is a watch face for Wear OS. It contains no code, only a layout the watch's built-in watch face system draws.

It collects no data. Bold Ops does not collect, store, share or send any personal or device information. It has no network access, no analytics, no ads and no accounts.

@eboye
eboye / n1nova.sh
Last active January 14, 2026 07:49
#!/bin/bash
# Script to stream N1 or Nova channels using VLC, checking for native or Flatpak install.
# Usage:
# Non-interactive (provide choice as argument):
# curl -s <gist_url> | bash -s -- 1 # For N1
# curl -s <gist_url> | bash -s -- 2 # For Nova
#
# Dependencies: curl, grep, sed, bash, vlc (native or flatpak)
@eboye
eboye / ubuntu_clean.sh
Created September 16, 2025 18:23
Ubuntu Cleanup Script
#!/bin/bash
# Check or install dialog
if ! command -v dialog &>/dev/null; then
echo "'dialog' is not installed."
read -p "Install now for better progress display? (y/n): " resp
if [[ $resp =~ ^[Yy]$ ]]; then
echo "Installing dialog..."
sudo apt-get update &>/dev/null
sudo apt-get install -y dialog &>/dev/null
@eboye
eboye / touchpad-fix.sh
Created August 29, 2025 14:44
touchpad-fix.sh
#!/bin/bash
# Re-applies my preferred ThinkPad touchpad settings for GNOME on Wayland.
gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true
gsettings set org.gnome.desktop.peripherals.touchpad click-method 'fingers'
echo "Touchpad settings applied."
#!/usr/bin/env bash
# list‐desktop‐apps.sh
# Requires: apt-rdepends
# Prints: package<TAB>total-size-in-MiB (including all Depends)
set -e
# 1) find all packages that install a .desktop file
mapfile -t desktop_pkgs < <(
dpkg-query -S /usr/share/applications/*.desktop 2>/dev/null \
@eboye
eboye / Canon LBP-810 Arch install.md
Last active November 1, 2024 20:29
Install instruction for Canon LBP-810 laser printer

Here are the step to install Cannon LBP-810 on to Arch Linux:

  1. Turn off printer
  2. install capt-src if it's not already installed
yay capt-src
  1. restart CUPS service:
@eboye
eboye / AppRun
Last active December 29, 2024 14:39
Repack Binance deb as AppImage
#!/bin/sh
function readlink_file()
{
next_path=$1
while [ "$i" != 10 ] && [ "x$next_path" != "x$path" ]; do
path=$next_path
next_path=$(readlink "$path" || echo $path)
i=`expr $i + 1`
done
#!/bin/bash
# check to see is git command line installed in this machine
IS_GIT_AVAILABLE="$(git --version)"
if [[ $IS_GIT_AVAILABLE == *"version"* ]]; then
echo "Git is Available"
else
echo "Git is not installed"
exit 1
fi
@eboye
eboye / git-fs-history.sh
Created April 5, 2022 23:57
list the given file's filesize next to each commit
#!/bin/sh
#
# list the given file's filesize next to each commit
# usage: git-fs-history path/to/file
#
if [ $# -ne 1 ]; then
echo "Error: invalid number of arguments."
exit 1
gsettings set org.gnome.desktop.wm.keybindings switch-input-source "['<Shift>Alt_L']" &&\
gsettings set org.gnome.desktop.wm.keybindings switch-input-source-backward "['<Alt>Shift_L']"