Skip to content

Instantly share code, notes, and snippets.

Avatar
🍬
Hello world

Hedy Li hedythedev

🍬
Hello world
View GitHub Profile
@hedythedev
hedythedev / types.py
Created Aug 9, 2020
Click src types.py, added not_exists_okay to Path class (fixes #1428)
View types.py
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
hedythedev / EPIC_DEV_JOKES.md
Created Jul 7, 2020
Epic, hiliarius, insanely awesome programming jokes that only programmers (and only programmers) can understand!
View EPIC_DEV_JOKES.md

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
hedythedev / queue_sort.py
Created May 12, 2020
An incomplete sorting algorithm I made myself for fun.
View queue_sort.py
# 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
hedythedev / Headings.md
Last active Jul 31, 2019
How to make headers in Markdown. (Two ways).
View Headings.md
# H1
## H2
### H3
#### H4
##### H5
##### H6

Result:

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

<details>
<summary>How do I dropdown?</summary>
<br>
This is how you dropdown.
@hedythedev
hedythedev / README-Template.md
Created Jul 12, 2019 — forked from PurpleBooth/README-Template.md
A template to make good README.md
View README-Template.md

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.

Prerequisites

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