Skip to content

Instantly share code, notes, and snippets.

View zoonfafer's full-sized avatar
😀
Set status

Jeffrey Lau zoonfafer

😀
Set status
  • Hong Kong, China
View GitHub Profile
@sergey-cheperis
sergey-cheperis / proxmox7.1-ast25000-issue.md
Last active March 21, 2024 14:09
Resolve Proxmox 7.1 "installation aborted" on SuperMicro with AST 2500

Issue

On SuperMicro AS-4124GS-TNR server with ASPEED AST2500 BMC, Proxmox 7.1 installation does not start with "installation aborted" message.

Details

After setting up DHCP and Chrony, Proxmox fails to start the graphical installer and drops into the shell:

...
Starting Chrony for opportunistic time-sync... Starting a root shell on tty3.
@angerman
angerman / nixos-on-rockpi4.org
Created May 28, 2020 13:53
NixOS on RockPi4

Installing NixOS on the RockPi4 (B)

The general plan is to build an sd-image-aarch64 from nixpkgs/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix flash it to the eMMC and have the system come up, similar to how this “just works” for raspberry-pis.

The RockPi 4 is a RockChip RK3399 based board, build by radxa with the same formfactor as a rasperry Pi. One noticable difference is that the Rock Pi’s cpu is at the bottom to better allow for the

@ShannonScott
ShannonScott / readme.md
Last active May 6, 2024 06:15
[Transcode h265] Use ffmpeg to transcode a video to h.265 / hvc1 which will play natively on a Mac (and Linux). #tags: video, python, ffmpeg
@chew-z
chew-z / ctrl-p
Last active April 7, 2020 09:52
Ctrl-P fuzzy open/edit files/folders
#!/usr/bin/env zsh
#
# # Ctrl-P - cd to dir or edit file with fzf
# Put in /usr/local/share/zsh/site-functions/
# and add to .zshrc
# source /usr/local/share/zsh/site-functions/ctrl-p
# inspired by
# https://adamheins.com/blog/ctrl-p-in-the-terminal-with-fzf
@domenkozar
domenkozar / nixos-on-dell-9560.org
Last active August 25, 2023 17:07 — forked from grahamc/nixos-on-dell-9560.org
NixOS on a Dell 15" 9560 with the 4K screen.
@emasaka
emasaka / cowsay-mbswidth.patch
Created December 1, 2015 09:15
cowsay: fix width of multibyte characters
--- cowsay.orig 2015-12-01 18:05:41.636619759 +0900
+++ cowsay 2015-12-01 18:11:36.999132910 +0900
@@ -11,6 +11,7 @@ use Text::Wrap qw(wrap fill $columns);
use File::Basename;
use Getopt::Std;
use Cwd;
+use Text::CharWidth qw(mbswidth);
if (${^UTF8LOCALE}) {
binmode STDIN, ':utf8';
@scrinzi
scrinzi / kmaildir_mbox_sub.py
Created August 6, 2012 13:33
Migrate from KMail to ThunderBird
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Armin Scrinzi, August 4, 2012
Frédéric Grosshans, 19 January 2012
Nathan R. Yergler, 6 June 2010
This file does not contain sufficient creative expression to invoke
assertion of copyright. No warranty is expressed or implied; use at
your own risk.