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
@jclosure
jclosure / wget_site_ripper
Created August 28, 2013 20:31
rip an entire website with wget
wget is a nice tool for downloading resources from the internet. The basic usage is wget url:
wget http://linuxreviews.org/
Therefore, wget (manual page) + less (manual page) is all you need to surf the internet. The power of wget is that you may download sites recursive, meaning you also get all pages (and images and other data) linked on the front page:
wget -r http://linuxreviews.org/
But many sites do not want you to download their entire site. To prevent this, they check how browsers identify. Many sites refuses you to connect or sends a blank page if they detect you are not using a web-browser. You might get a message like:
@lolzballs
lolzballs / HelloWorld.java
Created March 22, 2015 00:21
Hello World Enterprise Edition
import java.io.FileDescriptor;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintStream;
public class HelloWorld{
private static HelloWorld instance;
public static void main(String[] args){
instantiateHelloWorldMainClassAndRun();
@FedericoPonzi
FedericoPonzi / not_expected_to_understand_this.md
Created December 18, 2016 11:38
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.

@citrusui
citrusui / dropdown.md
Last active February 28, 2025 15:57
"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.
@typokign
typokign / zoomsucks.md
Last active September 8, 2023 05:06
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 / SeanPM_OnGitHub.md
Last active February 21, 2025 21:14
My current experience with GitHub

Top

My current experience with GitHub

My Gist project that explains everything you need to know about my programming career and my time on GitHub. It now talks a lot about my personal life.

This section was last updated on July 28th 2020 (07.28.2020)

@seanpm2001
seanpm2001 / SNUCompileBuild.md
Last active March 6, 2025 02:03
How to compile and build SNU. Make sure to read the latest completed instructions, and follow the steps exactly.

Top

SNU Compiling and building

NOTICE

This listing is incomplete. Please read the latest instructions to properly build your SNU Distro

@seanpm2001
seanpm2001 / Flat-Solid-Soulless_Design.md
Last active June 16, 2020 21:13
I really don't like the soulless new modern design, here is where I give my thoughts on it
@seanpm2001
seanpm2001 / IGNORE.md
Created June 14, 2020 01:59
This is a template file I use to create directories on GitHub, before I upload files to that directory and delete this template. It stays in some directories for a while, as either I forgot to delete it, or the directory is supposed to be blank for the time.

Ignore this file

I needed to make this file in order to create a directory to map out the file system further.

@seanpm2001
seanpm2001 / WhyISwitchedToLinux.md
Last active June 18, 2020 08:30
A list of the problems I had with Windows 10 and why I am switching to Linux first thing on my next laptop

Why I am switching to Linux

I have had problems with Windows 10 before I even had it force-installed on me, and it alone turned me from a Microsoft supporter to a strong Microsoft critic. This is a list of reasons why I am switching to Linux on my next computer. Due to how many problems I have with Windows, I may repeat myself, and I will try to go back and catch it. If you catch anything that I missed, please don't hesitate to tell me (give me the first occurance list number and the the duplicate list number so I can best find it)