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 March 6, 2025 07:45
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 March 14, 2025 02:36
Make Firefox fast again
@keilmillerjr
keilmillerjr / Creating an AUR Package.md
Last active January 13, 2025 20:32
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
@Tras2
Tras2 / cloudflare-ddns-update.sh
Last active March 15, 2025 03:36
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
var SphereControls = function (camera, domElement, config) {
var self = this;
config = config || {};
domElement = ( domElement !== undefined ) ? domElement : document;
domElement.addEventListener( 'mousedown', onDocumentMouseDown, false );
domElement.addEventListener( 'mousemove', onDocumentMouseMove, false );
domElement.addEventListener( 'mouseup', onDocumentMouseUp, false );