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 July 17, 2024 01:42
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 July 19, 2024 00:02
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.

The Wayland project seems to operate like they were starting a greenfield project, whereas at the same time they try to position Wayland as "the X11 successor", which would clearly require a lot of thought about not breaking, or at least providing a smooth upgrade path for, existing software.

In fact, it is merely an incompatible alternative, and not e

@MiyacoGBF
MiyacoGBF / 01_NieR_FAR.md
Last active May 9, 2024 20:17
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 December 18, 2023 12:12
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)