Skip to content

Instantly share code, notes, and snippets.

View github_api.md
View abcmidi.PKGBUILD.patch
diff --git a/.SRCINFO b/.SRCINFO
index 3596cbf..67b9ba8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = abcmidi
pkgdesc = A set of tools for converting ABC files to MIDI files and vice versa, as well as other small utilities
- pkgver = 20190811
- pkgrel = 2
+ pkgver = 20200212
View keep.md
Click for some title

サイバーcyber三銃士さんじゅうし (romanization: saibā sanjūshi)

View pacman.conf
#
# /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.
View framebuffer.c
// 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>
View 0_bios.txt
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
View .compton.conf
# 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".
View .picom.conf
# 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".
View md5_collision.sh
#!/bin/bash
# https://en.wikipedia.org/wiki/MD5#Collision_vulnerabilities
# https://unix.stackexchange.com/a/82563/246562
tr -d ' \n' <<EOF | xxd -r -p | md5sum
d131dd02c5e6eec4 693d9a0698aff95c 2fcab58712467eab 4004583eb8fb7f89
55ad340609f4b302 83e488832571415a 085125e8f7cdc99f d91dbdf280373c5b
d8823e3156348f5b ae6dacd436c919c6 dd53e2b487da03fd 02396306d248cda0
e99f33420f577ee8 ce54b67080a80d1e c69821bcb6a88393 96f9652b6ff72a70
View ieee754.c
// gcc -std=c11 -g -O0 -Wall -Wextra -fdiagnostics-color=always ieee754.c
/*
$ ./a.out x 0 x inf -inf x nan -nan x 1 1.5 1.75 1.875 -1.875 x
0 00000000 00000000000000000000000
0 11111111 00000000000000000000000
1 11111111 00000000000000000000000
You can’t perform that action at this time.