Skip to content

Instantly share code, notes, and snippets.

View webstandardcss's full-sized avatar

Trey Brister webstandardcss

View GitHub Profile
@webstandardcss
webstandardcss / built_in.ahk
Created August 11, 2019 22:45 — forked from db93n2/built_in.ahk
(autohotkey) - change, restore or reset various built-in script settings
/*
[built-in defaults]
a_autoTrim = on
a_batchLines = 10ms
a_controlDelay = 20
a_coordModeCaret = screen
a_coordModeMenu = screen
a_coordModeMouse = screen
a_coordModePixel = screen
a_coordModeToolTip = screen
@webstandardcss
webstandardcss / ANSI-Test.sh
Created December 18, 2019 03:50 — forked from mxmerz/ANSI-Test.sh
Shell script to test support of ANSI color and style codes
# ANSI Start Codes
# Styles.
Normal="\x1b[0m"
Bold="\x1b[1m"
Faint="\x1b[2m"
Italic="\x1b[3m"
Underline="\x1b[4m"
Blink_Slow="\x1b[5m"
Blink_Rapid="\x1b[6m"
@webstandardcss
webstandardcss / it-ebooks.md
Created April 1, 2020 16:19 — forked from baiwfg2/it-ebooks.md
Download ebooks as you want
@webstandardcss
webstandardcss / mv.sh
Created April 13, 2020 21:50 — forked from premek/mv.sh
Rename files in linux / bash using mv command without typing the full name two times
# Put this function to your .bashrc file.
# Usage: mv oldfilename
# If you call mv without the second parameter it will prompt you to edit the filename on command line.
# Original mv is called when it's called with more than one argument.
# It's useful when you want to change just a few letters in a long name.
function mv() {
if [ "$#" -ne 1 ]; then
command mv "$@"
return
@webstandardcss
webstandardcss / 55-bytes-of-css.md
Created September 30, 2022 20:56 — forked from JoeyBurzynski/55-bytes-of-css.md
58 bytes of css to look great nearly everywhere

58 bytes of CSS to look great nearly everywhere

When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:

main {
  max-width: 38rem;
  padding: 2rem;
  margin: auto;
}