Skip to content

Instantly share code, notes, and snippets.

// https://cmcenroe.me/2018/01/30/fbclock.html
// gcc -std=gnu11 -Wall -Wextra -O0 -g framebuffer.c
// fbgrab -d /dev/fb0 -s 5 -v -z 9 framebuffer.png
#include <assert.h>
#include <fcntl.h>
#include <linux/fb.h>
#include <stdint.h>
# Thank you code_nomad: http://9m.no/ꪯ鵞
# and Arch Wiki contributors: https://wiki.archlinux.org/index.php/Compton
#################################
#
# Backend
#
#################################
# Backend to use: "xrender" or "glx".
@Un1Gfn
Un1Gfn / subscription.bak.md
Last active June 26, 2021 06:35
ShadowsocksD/SSD subscription specification
pkgbase = openrw-git
pkgdesc = A re-implementation of Rockstar Games' Grand Theft Auto III
pkgver = r1976.30856790
pkgrel = 1
url = https://github.com/rwengine/openrw
arch = x86_64
license = GPL3
makedepends = git
makedepends = cmake
makedepends = make
@Un1Gfn
Un1Gfn / Debugging with GDB Sample Session no debugging symbols found.md
Last active May 11, 2020 12:41
Debugging with GDB: Sample Session: no debugging symbols found

Debugging with GDB: Sample Session: no debugging symbols found

Problem

In the short m4 session from Debugging with GDB: Sample Session, setting breakpoint fails:

$ gdb -q m4
Reading symbols from m4...(no debugging symbols found)...done.
(gdb) break m4_changequote
Function "m4_changequote" not defined.
Make breakpoint pending on future shared library load? (y or [n])
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
@Un1Gfn
Un1Gfn / 0_bios.txt
Last active February 16, 2020 19:03
BIOS
https://download.lenovo.com/eol/index.html
http://www.thinkwiki.org/wiki/BIOS_Upgrade_Downloads
https://youtu.be/CyxgYnOcsTw
https://youtu.be/F5mKul8WUn0
https://youtu.be/PUaDkQFD7FE
# Thank you code_nomad: http://9m.no/ꪯ鵞
# and Arch Wiki contributors: https://wiki.archlinux.org/index.php/Compton
#################################
#
# Backend
#
#################################
# Backend to use: "xrender" or "glx".