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 / 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 / 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
@Iliannnn
Iliannnn / Discord.js-v14-Events.md
Last active November 11, 2025 19:33
Discord.js v14 Events - Cheatsheet

Discord.js v14 Events

An overview of all events in Discord.js v14 with examples.

📢 | Last updated: 27 July 2022

ℹ️ | client references to your client instance.

ℹ️ | The v13 overview can be found here.

@RubenKelevra
RubenKelevra / fast_firefox.md
Last active November 23, 2025 12:18
Make Firefox fast again
@keilmillerjr
keilmillerjr / Creating an AUR Package.md
Last active October 1, 2025 02:41
How to create and manage an AUR package. #AUR #ARCH #makepkg #PKGBUILD
@rumansaleem
rumansaleem / clean-up-arch-linux.md
Created May 28, 2019 08:51
Instructions to clean up Arch Linux (Manjaro)

Contents

  • Clean pkg cache
  • Remove unused packages (orphans)
  • Clean cache in /home
  • remove old config files
  • Find and Remove
    • duplicates
    • empty files
    • empty directories
  • broken symlinks
@diffficult
diffficult / raspberrypi0_headless_setup.md
Last active October 3, 2025 18:40
Get your Pi 0 W up and running headless with Arch Linux

Installing Arch Linux ARM on a SD card for Raspberry Pi 0 W and loading wifi credentials for headless usage


Advice

Before starting I highly suggest you create a new directory on your /home/user directory with an appropiate name for this task like rpi0alarm so you can change directory to /home/user/rpi0alarm and go through the following steps.

As I wrote this guide after collecting info from different sources (listed at the end) be mindful of your current path and the commands you are running to not damage your current installation on the host computer you are creating the SD Card.


@Tras2
Tras2 / cloudflare-ddns-update.sh
Last active November 6, 2025 12:25
A bash script to update a Cloudflare DNS A record with the external IP of the source machine
#!/bin/bash
# A bash script to update a Cloudflare DNS A record with the external IP of the source machine
# Used to provide DDNS service for my home
# Needs the DNS record pre-creating on Cloudflare
# Proxy - uncomment and provide details if using a proxy
#export https_proxy=http://<proxyuser>:<proxypassword>@<proxyip>:<proxyport>
# Cloudflare zone is the zone which holds the record
@aryelgois
aryelgois / icomoon-extract.php
Created May 23, 2018 19:42
Automated process to extract SVG Icomoon icons
#!/usr/bin/env php
<?php
/**
* Automated process to extract SVG Icomoon icons
*
* Usage: php icomoon-extract.php path/to/icomoon.svg [path/to/destiny/]
*
* It takes each non-empty <glyph> and outputs into a svg file with one <path>.
* It also adds a matrix to resize to 48x48 px, some rectangles to help
* positioning, and includes some guides and grid.