Skip to content

Instantly share code, notes, and snippets.

[*scratch*] 0.000 Log enabled.
[*mistty*] 5.953 set-process-window-size 151x22
[*mistty*] 5.959 set-process-window-size 151x22
[*mistty*] 5.993 RECV[^[[5 q]
[*mistty*] 5.993 refresh (quick)
[*mistty*] 7.311 RECV[^Z//home/q/.emacs.d/elpa.30/mistty-20250424.1707^M^J]
[*mistty*] 7.311 refresh (quick)
[ mistty tty *mistty*] 7.352 Detected bracketed-paste prompt #1 [0-]
[*mistty*] 7.352 RECV[(pip) ^[[1;32mq@mypc:mistty-20250424.1707$^[[0m ]
[*mistty*] 7.352 refresh (quick)
Debugger entered--Lisp error: (args-out-of-range " " 0 -143)
term-emulate-terminal(#<process mistty tty *mistty*> "\33[47h\33[?7l\33[?1000h\33[?1002h\33[?1006h\33[44A\33[G\33[K\15\15\33[;m \15\33[1B\15\33[;m \15\33[1B\15\33[;m \15\33[1B\15\33[;m \15\33[1B\15\33[;m \15\33
@QiangF
QiangF / AdvancedWindowSnap.ahk
Created January 2, 2025 02:28 — forked from dusty-phillips/AdvancedWindowSnap.ahk
Advanced Window Snap is a script for AutoHotKey that expands upon Windows built-in window-snapping hotkeys.
/**
* Advanced Window Snap (Extended
* Snaps the Active Window to one of nine different window positions.
*
* @Editing author Jarrett Urech
* @Original author Andrew Moore <[email protected]>
* @version 2.1
*
**/
@QiangF
QiangF / app.conf
Created December 28, 2024 07:14
emacs like binding with keyd
[emacs]
control.b = C-b
control.f = C-f
control.p = C-p
control.n = C-n
alt.b = A-b
alt.f = A-f
control.a = C-a
control.e = C-e
control.d = C-d
@QiangF
QiangF / openradioss.dockerfile
Created December 17, 2024 02:55 — forked from edp8489/openradioss.dockerfile
OpenRadioss Dockerfile
FROM rockylinux:9
# Install development tools and dependencies
RUN dnf groupinstall -y "Development Tools" && \
dnf install -y \
gcc gcc-gfortran gcc-c++ make cmake perl git-lfs \
wget git patch diffutils libxcrypt-compat \
which python
# Download and extract OpenMPI source code
@QiangF
QiangF / gist:d4bf390a000357ed5599ee1faed8a5ce
Created November 16, 2024 03:18
~/.config/lxqt/session.conf
[General]
__userfile__=true
leave_confirmation=true
lock_screen_before_power_actions=true
power_actions_after_lock_delay=100
window_manager=herbstluftwm
[Environment]
BROWSER=firefox
# Qt4 platform plugin
(pip) q@mypc:~$ export QT_DEBUG_PLUGINS=1
(pip) q@mypc:~$ lxqt-config
qt.core.plugin.factoryloader: checking directory path "/usr/lib/qt6/plugins/platforms" ...
qt.core.plugin.factoryloader: looking at "libqeglfs.so"
qt.core.plugin.loader: Found metadata in lib /usr/lib/qt6/plugins/platforms/libqeglfs.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"eglfs"
8月 17 20:35:39 mypc systemd-coredump[2846]: [🡕] Process 2820 (pcmanfm-qt) of user 1000 dumped core.
Stack trace of thread 2820:
#0 0x000072ab4c2b28df n/a (libc.so.6 + 0xa38df)
#1 0x000072ab4c2b3ef4 malloc (libc.so.6 + 0xa4ef4)
#2 0x000072ab4c28d2e4 _IO_file_doallocate (libc.so.6 + 0x7e2e4)
#3 0x000072ab4c29c714 _IO_doallocbuf (libc.so.6 + 0x8d714)
#4 0x000072ab4c29a3f5 _IO_file_underflow (libc.so.6 + 0x8b3f5)
#5 0x000072ab4c29c7c2 _IO_default_uflow (libc.so.6 + 0x8d7c2)
#6 0x000072ab4c28ef4b _IO_getline_info (libc.so.6 + 0x7ff4b)
q@mypc:calculix-build-pastix$ ./07_build_pastix_kabbone.sh
patching file CMakeLists.txt
patching file spm/src/spm.c
patching file bcsc/bcsc_z.h
-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is GNU 13.3.0
-- The Fortran compiler identification is GNU 13.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc13 - skipped
q@mypc:calculix-build-pastix$ ./05_build_parsec.sh
patching file parsec/bindthread.c
-- The C compiler identification is GNU 13.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc13 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The Fortran compiler identification is GNU 13.3.0
-- Detecting Fortran compiler ABI info