Skip to content

Instantly share code, notes, and snippets.

Hello world

Hedy Li hedythedev

Hello world
View GitHub Profile
hedythedev /
Created Aug 9, 2020
Click src, added not_exists_okay to Path class (fixes #1428)
import os
import stat
from datetime import datetime
from ._compat import _get_argv_encoding
from ._compat import filename_to_ui
from ._compat import get_filesystem_encoding
from ._compat import get_strerror
from ._compat import open_stream
from .exceptions import BadParameter
hedythedev /
Created Jul 7, 2020
Epic, hiliarius, insanely awesome programming jokes that only programmers (and only programmers) can understand!

How to explain the movie Inception to a programmer? When you run a VM inside another VM, inside another VM ... everything runs real slow!

Source: Pyjokes

hedythedev /
Created May 12, 2020
An incomplete sorting algorithm I made myself for fun.
# UNFINISHED - test_arr at the bottom doesn't work when sorted.
# also, deplicating values also cannot - [1,2,3,3,4] <- cannot
# therefore values must be ambiguous to work
# note: 'list' is considered an 'array' here, but remember that it's actually a list in python.
def queue_sort(arr):
'''A new Sorting Algorithm. '''
done = []
startIndex = 0
for _ in arr:
hedythedev /
Last active Jul 31, 2019
How to make headers in Markdown. (Two ways).
# H1
## H2
### H3
#### H4
##### H5
##### H6


hedythedev /
Created Jul 30, 2019 — forked from citrusui/
"Dropdowns" in Markdown
How do I dropdown?
This is how you dropdown.

<summary>How do I dropdown?</summary>
This is how you dropdown.
hedythedev /
Created Jul 12, 2019 — forked from PurpleBooth/
A template to make good

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.


hedythedev / hi.html
Last active Apr 27, 2019
The 'hi' website HTML
View hi.html
<title>The 'hi' Website</title>
<h1>Welcome to The 'hi' Website</h1>
<h4>This website is made by Hedy and it is about absolutely nothing.</h4>
hedythedev / hi.c
Last active Apr 27, 2019
C program -- hi
View hi.c
#include <stdio.h>
void main()
You can’t perform that action at this time.