diff --git a/blog/index.php b/blog/index.php index f7dad99..6c576cc 100644 --- a/blog/index.php +++ b/blog/index.php @@ -67,6 +67,8 @@ echo "
xrandr --output <display name> --brightness <brightness>
Force a <td>
element not to wrap by adding the nowrap
attribute to it.
<td>
element not to wrap by adding the nowrap
attribute to it.table-layout
CSS property to fixed
to force the the columns to be equal widths.date()
function in PHP returns date information. The first argument is a format string and the second is an optional integer for a Unix timestamp. The valid format characters as of PHP 8 can be found here, and examples are listed in this table:
+ Character | Output | Character | Output |
Y | y | ||
o | L | ||
F | M | ||
m | n | ||
t | W | ||
l | D | ||
d | j | ||
S | z | ||
N | w | ||
A | a | ||
g | G | ||
h | H | ||
i | s | ||
v | u | ||
B | I | ||
e | O | ||
P | Z | ||
U | |||
c | |||
r |
strtotime()
function does the reverse operation, converting date strings to Unix timestamps. Storing dates as Unix timestamps and converting when needed is recommended.I don't actually have a solution for this one, I just wish there was a resource for looking up the lyrics to songs and looking up songs by their lyrics that wasn't an SEO leech site.