Skip to content

Instantly share code, notes, and snippets.

View Matthias84's full-sized avatar
💭
I may be slow to respond.

Matthias84

💭
I may be slow to respond.
View GitHub Profile
@willangley
willangley / tailscale-keep
Last active March 5, 2024 18:16
tailscale config for OpenWRT
/etc/init.d/tailscale
/etc/rc.d/*tailscale
/etc/tailscale/
/lib/upgrade/keep.d/tailscale
/usr/sbin/tailscale
/usr/sbin/tailscaled
@franga2000
franga2000 / Xiaomi YI.md
Last active May 14, 2024 20:17
Xiaomi Yi

Xiaomi Yi camera

General info

  • OS: Buildroot
  • CPU: ARMv6-compatible processor rev 5 (v6l)
  • BogoMIPS: 524.28
  • Memory: 37MB

The root filesystem is rootfs, which is stored in memory and therefore wiped on reboot. The Micro SD card is mounted at /tmp/fuse_d/. Something is also mounted at /tmp/fuse_a and /tmp/fuse_z.

@hubgit
hubgit / README.md
Last active September 19, 2024 10:15
Remove metadata from a PDF file, using exiftool and qpdf. Note that embedded objects may still contain metadata.

Anonymising PDFs

PDF metadata

Metadata in PDF files can be stored in at least two places:

  • the Info Dictionary, a limited set of key/value pairs
  • XMP packets, which contain RDF statements expressed as XML

PDF files

@op
op / bash-history-to-zsh-history.py
Created September 28, 2012 21:25
Bash history to Zsh history
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# This is how I used it:
# $ cat ~/.bash_history | bash-history-to-zsh-history >> ~/.zsh_history
import sys
def main():
@pklaus
pklaus / sms.conf
Created June 17, 2011 08:50
Command Line Tool to send an SMS via the Sipgate API found on <http://irq0.org/Code?action=AttachFile&do=view&target=sms.py> on 2008-03-16
[account]
user: spam
passwd: eggs