Skip to content

Instantly share code, notes, and snippets.

View jeffshee's full-sized avatar
Keep calm and drink a coffee

JeffShee@ねくもり jeffshee

Keep calm and drink a coffee
View GitHub Profile
@FreddieOliveira
FreddieOliveira / docker.md
Last active April 18, 2025 15:24
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@probonopd
probonopd / Wayland.md
Last active April 16, 2025 20:29
Think twice about Wayland. It breaks everything!

Think twice before abandoning Xorg. Wayland breaks everything!

Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.

Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating everyone else (e.g., people using just an X11 window manager or something like GNUstep) in the process.


As 2024 is winding down:

@MiyacoGBF
MiyacoGBF / 01_NieR_FAR.md
Last active March 19, 2025 23:38
How to Install FAR, HD Texture Pack, and ReShade (GShade) for NieR:Automata on Linux
@hexadecimalDinosaur
hexadecimalDinosaur / conkyrc
Last active April 26, 2020 16:37
Conky config
-- LICENSE GPL V 2.1
-- Free for use and modification
-- Keep the credits
-- DEPENDENCIES
-- Package conky-all >= 1.10 (apt install conky-all)
-- Package lm-sensors (apt install lm-sensors)
-- All needed fonts in the .font file
-- CPU usage in percents. For SMP machines, the CPU number can be provided as an argument. ${cpu cpu0} is/ the total usage, and ${cpu cpuX} (X >= 1) are individual CPUs.
@nogajun
nogajun / wine-japanese.reg
Last active March 10, 2025 03:47
LinuxのWine環境で日本語周りをいい感じに設定するレジストリデータ。Windowsで使われるフォント名置換とビットマップフォント無効、InputStyleをrootにします
Windows Registry Editor Version 5.00
' 文字コードをUTF-16リトルエンディアン、改行をCR+LFで保存してください
[HKEY_CURRENT_USER\Software\Wine\Fonts\Replacements]
"Meiryo UI"="Noto Sans CJK JP"
"Meiryo"="Noto Sans CJK JP"
"MS Gothic"="Ume Gothic"
"MS Mincho"="Ume Mincho"
"MS PGothic"="Ume P Gothic"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
As root:
fstrim --all
systemctl enable fstrim.timer
Firefox about:config:
browser.sessionstore.interval -> 1800000
browser.cache.disk.enable -> false
browser.cache.memory.capacity -> -1
browser.cache.memory.enable -> true
@rkmax
rkmax / enable-remote.sh
Created November 18, 2014 23:50
Setup a virtual screen for connect from VNC viewer (example VNC VIwer Android)
#!/bin/bash
WIDTH=1280
HEIGHT=800
x11_cmd=x11vnc
if [[ ! -z $(pgrep ${x11_cmd}) ]]; then
pkill ${x11_cmd}
fi
@fracek
fracek / CMakeLists.txt
Last active June 22, 2024 21:33
CMake and GTK+ 3
# Thanks to @danger89 and @Ilothar for updating the gist.
# Set the name and the supported language of the project
project(hello-world C CXX)
# Set the minimum version of cmake required to build this project
cmake_minimum_required(VERSION 3.10)
# Use the package PkgConfig to detect GTK+ headers/library files
find_package(PkgConfig REQUIRED)
pkg_check_modules(GTK REQUIRED gtkmm-3.0)