Skip to content

Instantly share code, notes, and snippets.

@mepley1
mepley1 / main.zig
Created October 5, 2025 08:39 — forked from lithdew/main.zig
zig: listen for SIGINT (linux)
const std = @import("std");
const print = std.debug.print;
const assert = std.debug.assert;
pub const signalfd_siginfo = extern struct {
signo: u32,
errno: i32,
code: i32,
pid: u32,
@mepley1
mepley1 / password.txt
Created March 17, 2025 00:32 — forked from gabonator/password.txt
HiSilicon IP camera root passwords
Summary of passwords by sperglord8008s, updated November 1. 2020. For login try "root", "default", "defaul" or "root"
00000000
059AnkJ
4uvdzKqBkj.jg
7ujMko0admin
7ujMko0vizxv
123
1111
1234
@mepley1
mepley1 / backup_digitalocean.md
Created March 15, 2023 01:29 — forked from amalmurali47/backup_digitalocean.md
Backup DigitalOcean droplet locally

DigitalOcean does not provide a way to download a snapshot of your droplet locally. You can use rsync to accomplish this instead.

On your local machine, assuming you have added your-server in your SSH config:

rsync -aAXHv --append-verify --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} your-server:/
  • -a : archive mode (all files, with permissions, etc.)
  • -A : preserve ACLs/permissions (not included with -a)