Skip to content

Instantly share code, notes, and snippets.

View seanpm2001's full-sized avatar
🇺🇦
#StandWithUkraine

Sean P. Myrick V19.1.7.2 seanpm2001

🇺🇦
#StandWithUkraine
View GitHub Profile
@seanpm2001
seanpm2001 / not_expected_to_understand_this.md
Created December 4, 2024 00:13 — forked from FedericoPonzi/not_expected_to_understand_this.md
Line 2238 Unix V6 Comment: You are not expected to understand this.

Here is the famous line 2238 of Unix V6 which is part of some of the most delicate parts of the kernel, context switching.

This comment received huge publicity and just may be the the most famous source code comment in computing history.

2230	/*
2231	 * If the new process paused because it was
2232	 * swapped out, set the stack level to the last call
3333	 * to savu(u_ssav).  This means that the return
2235	 * actually returns from the last routine which did

2236 * the savu.

@seanpm2001
seanpm2001 / wget_site_ripper.md
Last active August 9, 2021 05:22 — forked from jclosure/wget_site_ripper
rip an entire website with wget

How to download an entire website using Wget

wget is a nice tool for downloading resources from the internet. The basic usage is wget <url>:

wget http://linuxreviews.org/
@seanpm2001
seanpm2001 / zoomsucks.md
Created May 6, 2021 00:41 — forked from typokign/zoomsucks.md
Zoom Sucks

Zoom Sucks

  • Zoom abuses the installer flow on MacOS to bypass permissions dialogs (source)
  • Zoom sends identifying device info to Facebook, even when users don't have a Facebook account (source) (fixed)
  • A bug in Zoom sent identifying information (including email addresses and profile pictures) of thousands of users to strangers (source)
  • Zoom claims that meetings are end-to-end encrypted in their white paper and marketing materials, but meetings are only encrypted in transit, and are available in plaintext to Zoom servers and employees. (source)
  • zoomAutenticationTool can be used to escalat
@seanpm2001
seanpm2001 / dropdown.md
Created May 5, 2021 22:46 — forked from citrusui/dropdown.md
"Dropdowns" in Markdown
How do I dropdown?
This is how you dropdown.

<details>
<summary>How do I dropdown?</summary>
<br>
This is how you dropdown.
@seanpm2001
seanpm2001 / MiscellaneousGamingSchedule.md
Last active April 1, 2021 03:15
This Gist goes over my miscellaneous schedule.

Miscellaneous gaming schedule

This is a gaming schedule for games that aren't part of a schedule, and can be played at random.

See my other gaming schedules:

See the daily schedule

@seanpm2001
seanpm2001 / DailyGamingSchedule.md
Last active October 26, 2021 23:07
This Gist goes over my daily gaming schedule.

Gaming schedule (daily)

There have been daily games on and off since 2016 when a daily method was organized. This is the most recent version

See my other gaming schedules:

See the weekly schedule

@seanpm2001
seanpm2001 / WeeklyGamingSchedule.md
Created March 29, 2021 22:00
This Gist goes over my weekly gaming schedule.

Gaming schedule (weekly)

Origin: On Saturday, October 24th 2020, I had to set a schedule to limit my gaming times. I went on a hiatus that lasted over half the month, and then began to return to weekly games, as I was already overloaded with the previous schedule with just 60% of the games.

I have decided to split non-daily games into time slots on certain days. My new limit is 0.5-4.5 hours of gaming a day, 1 hour limit on shooting games (included into total) some game days last more than 4.5 hours, but I try to quit before they get that long.

See my other gaming schedules:

@seanpm2001
seanpm2001 / MonthlyGamingSchedule.md
Last active October 26, 2021 23:22
This Gist goes over my monthly gaming schedule.

Gaming schedule (monthly)

Click/tap here to expand/collapse this section

Origin: On Saturday, October 24th 2020, I had to set a schedule to limit my gaming times. I went on a hiatus that lasted over half the month, and then began to return to weekly games, as I was already overloaded with the previous schedule with just 60% of the games.

I have decided to split non-daily games into time slots on certain days. My new limit is 0.5-4.5 hours of gaming a day, 1 hour limit on shooting games (included into total) some game days last more than 4.5 hours, but I try to quit before they get that long.

@seanpm2001
seanpm2001 / Seanwallawalla-health.md
Created February 26, 2021 23:24
Extended description for my health project organization.

Organization description

My organization for health projects. I am committed to promoting open source, functional, and life saving medical software.

The part that was cut off:

Legal notice: due to Red Cross logo restrictions, I used the Swiss (🇨🇭 Switzerland) flag instead. The Red Cross/Red Crescent movement is known to be abusive when it come to their logo (which is just an inverted version of the flag of 🇨🇭 Switzerland, or 🇹🇷 Turkey. Other than that, the Red Cross/crescent movement is good) Also: my health software is designed to help, but it isn't 100% accurate and isn't a 100% guarantee in saving a life.

@seanpm2001
seanpm2001 / GamingSchedule.md
Last active March 25, 2021 04:18
A separate Gist that lists my weekly and daily gaming schedules that started on October 24th 2020.

New gaming schedule (weekly)

On Saturday, October 24th 2020, I had to set a schedule to limit my gaming. I went on a hiatus that lasted over half the month, and returning into things, I am already overloaded at 60% I have decided to split non-daily games into time slots on certain days. My new limit is 2.5-4.5 hours of gaming a day, 1 hour limit on shooting games (included into total)