Skip to content

Instantly share code, notes, and snippets.

$ objdump -p $(command -v omxplayer)
/usr/bin/omxplayer: file format elf32-littlearm
Program Header:
0x70000001 off 0x000529f8 vaddr 0x000629f8 paddr 0x000629f8 align 2**2
filesz 0x00000e78 memsz 0x00000e78 flags r--
PHDR off 0x00000034 vaddr 0x00010034 paddr 0x00010034 align 2**2
filesz 0x00000100 memsz 0x00000100 flags r-x
INTERP off 0x00000134 vaddr 0x00010134 paddr 0x00010134 align 2**0
[DEBUG] XBPS: 0.47 API: 20150603 GIT: UNSET
[DEBUG] Processing configuration directory: /etc/xbps.d
[DEBUG] Parsing configuration file: /etc/xbps.d/00-bestmatching.conf
[DEBUG] /etc/xbps.d/00-bestmatching.conf: pkg best matching enabled
[DEBUG] /etc/xbps.d/00-bestmatching.conf: enabling pkg best matching
[DEBUG] Parsing configuration file: /etc/xbps.d/10-repository-custom.conf
[DEBUG] [repo] `/home/duncan/void-packages/hostdir/binpkgs/custom/' stored successfully
[DEBUG] /etc/xbps.d/10-repository-custom.conf: added repository /home/duncan/void-packages/hostdir/binpkgs/custom/
[DEBUG] [repo] `/home/duncan/void-packages/hostdir/binpkgs/custom/nonfree/' stored successfully
[DEBUG] /etc/xbps.d/10-repository-custom.conf: added repository /home/duncan/void-packages/hostdir/binpkgs/custom/nonfree/
#!/bin/sh
exec 2>&1
exec su -l -c "exec runsvdir /home/duncan/service" duncan
0x01400001 0 tux dvtm
0x016000ab 0 tux rofi/x11-helper.c at master · DaveDavenport/rofi - Mozilla Firefox
0x01200001 0 tux duncan@tux: ~/void-packages
0x01000001 0 tux duncan@tux: ~
@Duncaen
Duncaen / stdin
Created November 13, 2015 18:06
stdin
.
├── etc
│   └── sv
│   ├── bridge-br0-eth0
│   │   ├── finish -> ../bridge-generic/finish
│   │   └── run -> ../bridge-generic/run
│   ├── bridge-generic
│   │   ├── finish -> /usr/bin/netsh
│   │   └── run -> /usr/bin/netsh
│   ├── netns-generic
@Duncaen
Duncaen / stdin
Created November 13, 2015 19:24
stdin
.
├── etc
│   └── sv
│   ├── bridge-br0-eth0
│   │   ├── finish -> ../bridge-generic/finish
│   │   └── run -> ../bridge-generic/run
│   ├── bridge-generic
│   │   ├── finish -> /usr/bin/netsh
│   │   └── run -> /usr/bin/netsh
│   ├── netns-generic
duncan@tux:15$ ssh pi
Last login: Sun Nov 15 12:34:12 2015 from 192.168.0.100
$ uname -a
Linux rpi 4.1.13_1 #1 SMP PREEMPT Sat Nov 14 07:46:31 GMT 2015 armv7l GNU/Linux
$ uptime
12:34:19 up 6 min, 0 users, load average: 0.01, 0.06, 0.05
$ free -mh
total used free shared buff/cache available
Mem: 925M 12M 878M 256K 34M 896M
Swap: 0B 0B 0B
$ ld /usr/lib/libboost_filesystem.so.1.58.0
ld: warning: cannot find entry symbol _start; defaulting to 000101f8
/usr/lib/libboost_filesystem.so.1.58.0: undefined reference to `std::runtime_error::what() const@GLIBCXX_3.4'
/usr/lib/libboost_filesystem.so.1.58.0: undefined reference to `__gxx_personality_v0@CXXABI_1.3'
/usr/lib/libboost_filesystem.so.1.58.0: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::replace(unsigned int, unsigned
int, wchar_t const*, unsigned int)@GLIBCXX_3.4'
/usr/lib/libboost_filesystem.so.1.58.0: undefined reference to `std::__throw_logic_error(char const*)@GLIBCXX_3.4'
/usr/lib/libboost_filesystem.so.1.58.0: undefined reference to `std::locale::~locale()@GLIBCXX_3.4'
/usr/lib/libboost_filesystem.so.1.58.0: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&, unsign
ed int, unsigned int)@GLIBCXX_3.4'
duncan@tux:17$ xq --fulldeptree -Rx base-system| grep firmware
linux-firmware-network-20151023_1
linux-firmware-amd-20151023_1
zd1211-firmware-1.5_1
ipw2200-firmware-3.1_4
ipw2100-firmware-1.3_4
wifi-firmware-1.3_1
$ sudo xbps-alternatives -g vi -s vim-common
vim-common-7.4.909_2: applying 'vi' alternatives group
Creating 'vi' alternatives group symlink: ex -> vim
Creating 'vi' alternatives group symlink: ex.1 -> vim.1
Creating 'vi' alternatives group symlink: vi -> vim
Creating 'vi' alternatives group symlink: vi.1 -> vim.1
Creating 'vi' alternatives group symlink: view -> vim
Creating 'vi' alternatives group symlink: view.1 -> vim.1
$ xi -Su
[*] Updating `http://muslrepo.voidlinux.eu/current/armv7l-musl-repodata' ...