Skip to content

Instantly share code, notes, and snippets.

View rileyhales's full-sized avatar
💧
Focusing

Riley Hales rileyhales

💧
Focusing
View GitHub Profile
@huytd
huytd / wordle.md
Last active May 16, 2024 20:39
Wordle in less than 50 lines of Bash

image

How to use:

./wordle.sh

Or try the unlimit mode:

@rfun
rfun / fix_init.py
Last active March 11, 2021 20:47
Fix Init Files
#Credit to Riley Hales for writing this script
import sys
import os
def fix_tethys_init_files(tethysversion=3):
init_file = "# this is a namespace package\n" \
"try:\n" \
" import pkg_resources\n" \
@bmaupin
bmaupin / free-database-hosting.md
Last active July 19, 2024 15:23
Free database hosting
@oseiskar
oseiskar / swagger-yaml-to-html.py
Last active April 30, 2024 10:57
Converts Swagger YAML to a static HTML document (needs: pip install PyYAML)
#!/usr/bin/python
#
# Copyright 2017 Otto Seiskari
# Licensed under the Apache License, Version 2.0.
# See http://www.apache.org/licenses/LICENSE-2.0 for the full text.
#
# This file is based on
# https://github.com/swagger-api/swagger-ui/blob/4f1772f6544699bc748299bd65f7ae2112777abc/dist/index.html
# (Copyright 2017 SmartBear Software, Licensed under Apache 2.0)
#