Skip to content

Instantly share code, notes, and snippets.

@zuigon
zuigon / enable_i2s.sh
Last active March 5, 2024 12:58
orange pi H3 i2s
$ sudo armbian-add-overlay ./i2s_overlay.dts
@labeneator
labeneator / buddyinfo.py
Created March 15, 2014 21:38
Pretty prints /proc/buddyinfo
#!/usr/bin/env python
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 textwidth=79 autoindent
"""
Python source code
Last modified: 15 Feb 2014 - 13:38
Last author: lmwangi at gmail com
Displays the available memory fragments
by querying /proc/buddyinfo