Skip to content

Instantly share code, notes, and snippets.

View matheuseduardo's full-sized avatar
:octocat:
coding

Matheus Eduardo matheuseduardo

:octocat:
coding
View GitHub Profile
@rskupnik
rskupnik / cloudflared-config.yml
Created February 24, 2025 12:45
How to self-host n8n but expose the path for OAuth2 authentication
# Add this part to your cloudflared config
ingress:
- hostname: n8n.yourcustomdomain.com
service: http://traefik:80
@epk
epk / README.md
Last active January 4, 2026 13:35
Google Maps Timeline Activity Viewer

Google Maps Timeline Activity Viewer

This tool visualizes Google Maps Timeline data using JSON exported from the Google Maps app on iOS. It includes a handful of improvements and fixes to make it work with the iOS format, building on the original project by kurupted.

Please be warned that bulk of this is GPT/Claude generated slop on top of the original project

Instructions

#!/bin/bash
# Variables
immich_api_key="api_key"
immich_url="https://immich.example.com"
album_id="guid"
# Step 1: Create /opt/kiosk directory
mkdir -p /opt/kiosk
@aveexy
aveexy / nginx.conf
Last active December 27, 2025 15:35
immich nginx reverse proxy with base url (not a full/complete nginx config) base url is /immich (if you want something other, replace "/immich" with other path
pid /run/nginx/nginx.pid;
error_log stderr;
daemon off;
events {
}
http {
proxy_cache_path /var/cache/nginx/immich_revprox keys_zone=immich_revprox:10m levels=1:2 use_temp_path=off inactive=1d max_size=1g;
server {
listen 0.0.0.0:443 ssl ;
@nogara
nogara / weather.sh
Last active April 10, 2026 05:40
Simple alternative to wttr.in using OpenWeatherMap
#!/bin/bash
# Check for debug flag
DEBUG=0
if [ "$1" == "--debug" ]; then
DEBUG=1
shift
fi
# Check if location is provided
@maksim-m
maksim-m / vidstab_ffmpeg.md
Created December 18, 2022 16:35 — forked from hlorand/vidstab_ffmpeg.md
Video stabilization using VidStab and FFMPEG

Video stabilization using VidStab and FFMPEG

** Step 1 **

Install ffmpeg with the vidstab plugin.

@backerman
backerman / profile-snippet-sshargcomplete.ps1
Last active November 5, 2025 14:34
Enable tab completion for ssh hostnames in PowerShell
using namespace System.Management.Automation
Register-ArgumentCompleter -CommandName ssh,scp,sftp -Native -ScriptBlock {
param($wordToComplete, $commandAst, $cursorPosition)
$knownHosts = Get-Content ${Env:HOMEPATH}\.ssh\known_hosts `
| ForEach-Object { ([string]$_).Split(' ')[0] } `
| ForEach-Object { $_.Split(',') } `
| Sort-Object -Unique
# For now just assume it's a hostname.
@dashed
dashed / nyan.gif
Last active March 18, 2025 03:02
🏳️‍🌈🐱 nyan cat
nyan.gif
@hlorand
hlorand / vidstab_ffmpeg.md
Last active April 4, 2026 18:21
Video stabilization using VidStab and FFMPEG

Video stabilization using VidStab and FFMPEG

** Step 1 **

Install ffmpeg with the vidstab plugin.

@fanjin-z
fanjin-z / csgo-server-guide.md
Last active June 3, 2025 21:01
Complete Guide for Hosting CS:GO Dedicated Servers

Complete Guide for Hosting a CS:GO Dedicated Server

Creative Commons License.

I tested the setup on Debian Stretch (naive installation) and Jessie (LinuxGSM installation). The setup should work on Debian 8 (Jessie), Debian 9 (Stretch) and Ubuntu (16.04). However, If you're running on Windows or other non-debian based Linux OS (e.g. CentOS, openSUSE), this guide doesn't apply to you.

My Servers:

I'm hosting FFA warm-up and HvH(soon) servers in San Francisco, welcome to join by:

IPv4: 159.89.154.137   
Ipv6: 2604:a880:2:d0::20ad:2001