Skip to content

Instantly share code, notes, and snippets.

@vdrandom
vdrandom / strace.md
Created October 1, 2018 11:04 — forked from graste/strace.md
strace process for network and memory and other syscalls

File activity

strace -e trace=file -fp PID (file) or strace -e trace=desc -fp PID (file descriptors)

Common calls:

  • access
  • close – close file handle
  • fchmod – change file permissions
  • fchown – change file ownership
@vdrandom
vdrandom / solarized.css
Last active October 18, 2017 02:43
Solarized light theme for cgit
body { background: #fdf6e3; }
div#cgit {
padding: 0em;
margin: 0em;
font-family: sans-serif;
font-size: 10pt;
color: #586e75;
background: #fdf6e3;
padding: 4px;