Skip to content

Instantly share code, notes, and snippets.

View ikr4-m's full-sized avatar
😁
I'm here!

Ikramullah Latif ikr4-m

😁
I'm here!
View GitHub Profile
@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.
#
@ikr4-m
ikr4-m / vortextab75.md
Created May 29, 2024 01:38 — forked from herpiko/vortextab75.md
Vortex Tab 75 Programming

Programming

  • Plug in the cable, you need the LED to guide you
  • Pn + Left Ctrl to enter programming mode
  • Press the key that want to be programmed
  • Press the target key
  • Pn to apply
  • Pn + Left Ctrl to exit

It's possible to lose a key. Sometimes you need to backup it first.

@ikr4-m
ikr4-m / echo_logs_entrypoint.sh
Created April 8, 2025 08:27
Print Log Using ts (moreutils)
#!/usr/bin/env bash
set -euo pipefail
LOGS=${LOGS:-}
if [ -n "$LOGS" ] && [ ! -d "./logs" ]; then
mkdir -p logs
fi
if [ -n "$LOGS" ]; then