Skip to content

Instantly share code, notes, and snippets.

@likecyber
likecyber / EmbyUpdateWithPatch.sh
Last active November 9, 2026 16:23
Script for Synology DSM's Emby Server to update and patch itself with free Emby Premiere.
#!/bin/bash
# The script must be executed as the root user, or it will fail.
# You must have "Container Manager" installed before running this script.
# Additionally, "Emby Server" must be running or the script will do nothing.
# Manually run the script once to apply free Emby Premiere patch.
# Make sure to update the ASSET_PREFIX and ASSET_SUFFIX based on your Synology model.
# Check your asset prefix and suffix from here: https://github.com/MediaBrowser/Emby.Releases/releases/latest
# CAUTION: Tested only on emby-server-synology72_4.8.10.0_x86_64.spk. Compatibility with other versions is no guarantee.
@aatizghimire
aatizghimire / XRDP-MultiUser-Installation
Last active November 26, 2025 22:55
This is short tutorial to install XRDP on Ubuntu for multi-user Remote desktop connection.
--------------------------------------------
Xrdp Server (Remote Desktop) Installation:
--------------------------------------------
Tested in Ubuntu 22.04.03 LTS
1. Update Environment
$ sudo apt-get update
$ sudo apt-get upgrade
@Nexarian
Nexarian / xrdp-nvidia-setup.sh
Last active September 29, 2026 00:43
Setup for XRDP using Nvidia Acceleration
#!/usr/bin/env bash
set -e
cd ~
sudo -v
# Make sure system is in a good, updated, clean, state.
sudo apt-get -y update
@rponte
rponte / 01-memory-usage-for-each-user-session.sql
Last active December 16, 2025 14:00
Oracle: showing memory usage by user session/process
select sess.username as username
,sess.sid as session_id
,sess.serial# as session_serial
,sess.program as session_program
,sess.server as session_mode
,round(stat.value/1024/1024, 2) as "current_UGA_memory (in MB)"
from v$session sess
,v$sesstat stat
,v$statname name
where sess.sid = stat.sid
@haproxytechblog
haproxytechblog / blog20190614-01.yaml
Last active January 16, 2023 08:43
Tracing Requests Through HAProxy with AWS X-Ray
TotalBufferSizeMB: 0
Concurrency: 8
Region: "us-east-2"
Endpoint: ""
Socket:
UDPAddress: "127.0.0.1:2000"
TCPAddress: "127.0.0.1:2000"
Logging:
LogRotation: true
LogLevel: "prod"
@AveYo
AveYo / .. MediaCreationTool.bat ..md
Last active November 11, 2026 11:53
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active November 9, 2026 03:36
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k