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 / 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:
@taiwbi
taiwbi / gnome-transparent-sidebar.css
Last active April 6, 2025 20:08
Make Gnome applications sidebar semi-transparent, and add blur with Blur My Shell Extension if you want to
/* Mohammad Mahdi Tayebi
*
* To apply transparent sidebar. copy this file into ~/.config/gtk-4.0/gtk.css and if
* you use adw-gtk3 theme you can add it to ~/.config/gtk-3.0/gtk.css as well
*
* Use blur my shell extension to add blur effect behind the transparent part of windows
*/
/* Transparent Sidebar */
window {
@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
@RubenKelevra
RubenKelevra / fast_firefox.md
Last active April 17, 2025 21:10
Make Firefox fast again
@keilmillerjr
keilmillerjr / Creating an AUR Package.md
Last active April 8, 2025 01:36
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 March 25, 2025 22:20
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 April 18, 2025 09:49
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.
@rohankhudedev
rohankhudedev / opcache.ini
Last active March 14, 2025 06:20
Best Zend OpCache Settings / Tuning / Configurations
[opcache]
; Determines if Zend OPCache is enabled
opcache.enable=1
; Determines if Zend OPCache is enabled for the CLI version of PHP
;opcache.enable_cli=1
; The OPcache shared memory storage size.
opcache.memory_consumption=512