Skip to content

Instantly share code, notes, and snippets.

@WebDevSimplified
WebDevSimplified / bootstrap-breakpoint.css
Last active July 15, 2024 11:00
This stylesheet adds text describing the current Bootstrap Breakpoint in the top right corner of the screen.
body {
margin-top: 40px; /* This margin just makes the text easier to read. You can remove it if you want since it can mess with your other styles. */
}
body::before {
content: "XS";
color: red;
font-size: 2rem;
font-weight: bold;
position: fixed;
@mariecrane
mariecrane / wordle.md
Last active February 5, 2022 21:33 — forked from huytd/wordle.md
Wordle in less than 60 lines of Bash

Screen Shot 2022-02-04 at 2 31 39 PM

Adapted from https://gist.github.com/huytd (modified to limit possible guesses and answers and to output emoji summary at the end, to more closely resemble Josh Wardle's original game)

Lists of possible guesses and answers from https://gist.github.com/cfreshman

How to use:

  1. Download list of answers from https://gist.github.com/cfreshman/a03ef2cba789d8cf00c08f767e0fad7b
  2. Download list of all possible guesses from https://gist.github.com/mariecrane/661cf5d0fad7f16b52fd4f8c771d91f9
  3. Download wordle.sh and make sure it's in the same directory as the two text files
@shadowdoc
shadowdoc / nikon_ir_pushbutton_photobooth.ino
Created February 3, 2013 15:39
A quick arduino sketch to control a Nikon DSLR via IR LED. Used for a party photobooth.
/*
Nikon IR Photobooth Kit
Marc Kohli
marckohli@gmail.com
11/11/2012
Changelog:
12/2/12 - Added Debounce code from http://arduino.cc/en/Tutorial/Debounce
Props to David A. Mellis and Limor Fried