Skip to content

Instantly share code, notes, and snippets.

View robert-joscelyne's full-sized avatar

Robert Joscelyne robert-joscelyne

  • Sydney, Australia
  • 14:46 (UTC -12:00)
View GitHub Profile
@robert-joscelyne
robert-joscelyne / wordle.md
Created February 2, 2022 08:58 — forked from huytd/wordle.md
Wordle in less than 50 lines of Bash

image

How to use:

./wordle.sh

Or try the unlimit mode:

@robert-joscelyne
robert-joscelyne / web-servers.md
Created May 16, 2021 19:27 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@robert-joscelyne
robert-joscelyne / LICENSE
Created April 15, 2021 14:50 — forked from wlib/LICENSE
Run a shell script with bash, line-by-line, prompted on each command. Useful for running unknown scripts or debugging. Not a secure substitute for understanding a script beforehand.
MIT License
Copyright (c) 2021 Daniel Ethridge
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
.btn-inline .et_pb_button_module_wrapper {
display: inline-block;
margin: 0 5px;
}
.btn-inline {
text-align: center !important;
}