The infamous Fireship brings you 7 Programming Myths that waste your time - I agree with all of these things.
Tuesday, April 29, 2025
(re)making a design system
I got to work with Arnaud at Randstad: Rebuilding Nova: How We Scaled Our Design System for a Complex Tech Landscape
irony
“You wouldn’t steal a car” anti-piracy campaign may have used pirated fonts
Aurich Lawson came up with:
Tuesday, April 8, 2025
if you see something (build finished) say something
Sometimes our build process take a minute, so I had Co-Pilot help build me a script to use the mac's text to speech to announce when it looks like we were ready to go:
#!/bin/bash
# Check if at least one argument is provided
if [ $# -lt 1 ]; then
echo "Usage: $0 <nx_command> [args...]"
exit 1
fi
# Build the nx command from the provided arguments
nx_command="$@"
log_file="nx_command.log"
# Run the command in the background and capture its PID
$nx_command &> $log_file &
pid=$!
# Monitor the log file for the specific line
tail -f $log_file | while read line; do
echo "$line"
if [[ "$line" == *"All remotes started"* ]]; then
say "ready"
break
fi
done
# Wait for the nx command to finish
wait $pid
Tuesday, April 1, 2025
print design in browser via PHP
It's funny in how so many ways I can use a little coding mojo and not have to fiddle with Word/Google Doc, Excel/Sheets - or Wordpress for that matter, but that's a longer story.
But yeah, helping my sweetie run together some tiny bits of campaign material via PHP:
<!DOCTYPE html>
<html>
<head>
<title>Lynette Table</title>
<style>
body { font-family: sans-serif; }
table { border-collapse: collapse; font-size:1.5em;}
td { border: 0px solid black; padding: 10px; text-align: center;
padding:24px;
}
.bigger{
font-size:1.4em;
}
</style>
</head>
<body>
<table>
<?php
for ($row = 0; $row < 5; $row++) {
echo "<tr>";
for ($col = 0; $col < 3; $col++) {
echo <<<HTML
<td>
Vote this Sat April 5!<br>
<b class="bigger">Lynette Martyn</b> <br>
Town Meeting Member, Precinct 12<br>
A progressive voice for your neighborhood<br>
<b>www.LynetteMartyn.com</b>
</td>
HTML;
}
echo "</tr>";
}
?>
</table>
</body>
</html>
slapped on this webpage gave me