Skip to content

Instantly share code, notes, and snippets.

View AlejandroAkbal's full-sized avatar
:octocat:
Focusing

Alejandro Akbal AlejandroAkbal

:octocat:
Focusing
View GitHub Profile
@AlejandroAkbal
AlejandroAkbal / arr-stack-coolify.yml
Last active May 28, 2025 18:25
Jellyfinn for Coolify docker compose stack
services:
qbittorrent:
container_name: qbittorrent
image: 'linuxserver/qbittorrent:latest'
environment:
- PUID=1000
- PGID=1000
- TZ=UTC
- WEBUI_PORT=5080
volumes:
@Geczy
Geczy / readme.md
Last active June 6, 2025 15:36
Migrate Coolify to a new server
@charlesteh
charlesteh / cf-workers-ai-bge-small.js
Last active March 22, 2025 09:38
Cloudflare Workers AI baai/bge-small deployment script
// Made by @charlestehio: https://x.com/charlestehio
// Usage: https://abc.workers.dev/?query=your%20embedding%20query
import { Ai } from './vendor/@cloudflare/ai.js';
export default {
async fetch(request, env) {
// Parse the URL to get query parameters
const url = new URL(request.url);
var query = url.searchParams.get('query');
@ruionwriting
ruionwriting / README.md
Last active March 17, 2025 13:00
LogiOps configuration for MX Master 3S

LogiOps configuration for MX Master 3S

LogiOps is an amazing projet - please donate.

TL;DR;

I've moved from MacOS (I also use Windows with this mouse) and I wanted to keep most of the behaviors I'm used too. Thinks that didn't work for me:

  • Gestures button dragging left/right switch desktops
  • Hold/release gestures buttom shows all apps in active desktop
@ikr4-m
ikr4-m / install.sh
Created June 25, 2022 10:04
Hyper-V Enhanced Session for Debian
#!/bin/sh
# This script based on linux-vm-tools for Ubuntu 22.02.
# Thanks to https://github.com/Hinara/linux-vm-tools/ to script
# This script is for Ubuntu 22.04 Jammy Jellyfish to download and install XRDP+XORGXRDP via
# source.
#
# Major thanks to: http://c-nergy.be/blog/?p=11336 for the tips.
#
@davelevine
davelevine / how-to-cache-b2-content-with-cloudflare.md
Last active April 22, 2025 03:48
How to Properly Cache Content Hosted on Backblaze B2 with Cloudflare

How to Properly Cache Content Hosted on Backblaze B2

Summary

Because I use Cloudflare to manage my domains and Backblaze for backups, it only made sense to take advantage of their Bandwidth Alliance for creating my own CDN. This has been incredibly helpful for image hosting for this knowledge base, however, I recently noticed that caching wasn't working as it should.

The Problem

The overall problem started when I was adding a parking page for a domain I recently purchased. The background image was hosted on B2 and the image was supposed to be cached by Cloudflare. However, each time the page loaded, it would pull the image from the origin instead of the cache. I checked this on my knowledge base and found it was doing the same thing.

@rappasoft
rappasoft / laravel-livewire-tables-demo-table.php
Last active May 24, 2025 03:35
Laravel Livewire Tables Demo Table Source
<?php
namespace App\Http\Livewire;
use App\Models\Tag;
use App\Models\User;
use Illuminate\Database\Eloquent\Builder;
use Rappasoft\LaravelLivewireTables\DataTableComponent;
use Rappasoft\LaravelLivewireTables\Views\Columns\BooleanColumn;
use Rappasoft\LaravelLivewireTables\Views\Column;
@pixelbrackets
pixelbrackets / git-change-commit-date.sh
Last active November 21, 2024 12:07
Change date of a selected commit or all commits
#!/usr/bin/env bash
# Usage:
# ./git-change-commit-date.sh <commit id | 'all' >
# Example:
# ./git-change-commit-date.sh e119b94 # change commit with id e119b94
# ./git-change-commit-date.sh all # changes all commits
#
# Warning! rebase/filter will change the history
@berkorbay
berkorbay / github_desktop_ubuntu.md
Last active May 27, 2025 13:31
To install Github Desktop for Ubuntu

IMPORTANT

See the following links for further updates to Github Desktop for Ubuntu. These are official instructions. (also mentioned by fetwar on Nov 3, 2023)

For the sake of "maintaining the tradition" here is the updated version.

@Mygod
Mygod / export-ble-infos.py
Last active June 3, 2025 20:22
Export your Windows Bluetooth LE keys into Linux!
#!/usr/bin/python3
"""
Copyright 2021 Mygod
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0