Skip to content

Instantly share code, notes, and snippets.

View grahameger's full-sized avatar

Graham Eger grahameger

View GitHub Profile
@grahameger
grahameger / lads.c
Last active May 12, 2025 08:47
lsds.c – list block devices and selected metadata. C rewrite based on the Python utility by Tanel Poder <https://0x.tools>, 2025.
// SPDX-License-Identifier: GPL-2.0-or-later
// lsds.c – list block devices and selected metadata (C rewrite) with JSON output option
// Originally based on the Python utility by Tanel Poder <https://0x.tools>, 2025.
//
// Build: cc -Wall -Wextra -pedantic -std=c17 -D_POSIX_C_SOURCE=200809L -o lsds lsds.c
// Usage: ./lsds [-v] [-p] [-c COL1 COL2 …] [-a COL1,COL2,…] [-l]
// [-r] [-j]
// See --help for details.
//
// -------------------------------------------------------------

Card Swiper Tutorial: Mac

Open Terminal.app which is located in the Utilities folder in your Applications Paste the following command and enter your computer password if it asks and follow any other instructions it has for you.

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Then once that's installed run the following command.

brew install python3

<!-- Graham Eger -->
<!-- grahameger.com -->
<!-- [email protected] -->
<!DOCTYPE html>
<html>
<head>
<title>StringSum</title>
<script type="text/javascript">
function parseString() {
// Get the string from the form.
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDE84C+U0cK5URrslEJCIbzj0sPztaw3HX7svjQ03v4EeAa2LvmEYmeUPK1FMG0rWkM/4b/bqfFbqrpcn/kOQmkCOaO6fCeoGTKwuFOmPdKPwSyb+E3XKwUSvCMABgWuFUrY7bVTcXXIPUgthL1+BMHIVpjOVJKmMe4QwYXPZkgIG2BfAQtq08pO6Uz8MAXR+4eL7vs47Wl2+ZMgSGSXs3Fy2FLoVIOfjShb8dqXE8KAx57c6eeATA8N6SviVE51hGlFweDfQxsfRnAg7outhMzqwKG3tH5w35bcWuAcHjtAIs8HaajwR1mbGi14myHuS1qgo/ImAezihvYfwbFcF3z [email protected]
Last login: Tue Nov 4 20:13:26 on ttys001
Grahams-MacBook-Pro:~ graham$ traceroute 216.81.59.173
traceroute to 216.81.59.173 (216.81.59.173), 64 hops max, 52 byte packets
[1 - 11 Omitted]
12 * * *
13 episode.iv (206.214.251.1) 364.317 ms 154.310 ms 129.427 ms
14 a.new.hope (206.214.251.6) 134.228 ms 468.915 ms 109.998 ms
15 it.is.a.period.of.civil.war (206.214.251.9) 107.944 ms 114.442 ms 131.587 ms
16 rebel.spaceships (206.214.251.14) 111.693 ms 122.244 ms 97.088 ms
17 striking.from.a.hidden.base (206.214.251.17) 134.118 ms 133.045 ms 138.650 ms

Keybase proof

I hereby claim:

  • I am grahameger on github.
  • I am grahameger (https://keybase.io/grahameger) on keybase.
  • I have a public key whose fingerprint is 7508 530E CA9F 1A82 747B 3E20 CFDB E988 A50A 51CD

To claim this, I am signing this object: