pastebin.yeechie.one · paste listing

bearblog-my-javascript-footer-directives

2 months ago
document.addEventListener("DOMContentLoaded", () => {
  // Mastodon Reacts: Privacy friendly
  const mastodonInstanceUrl = "https://mastodon.social";
  const mastodonUsername = "yeechie";
  const ...

bearblog-my-stylesheet

2 months ago
/* variables */
:root {
  --font-family-body: "Poppins", system-ui, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-family-code: ui-monospace...

bearblog-active-class-nav

2 months ago
// Active state for navigation menu
const MenuHandler = {
  init: function () {
    const navLinks = document.querySelectorAll("header > nav a, #links a");
    const setActiveLink = () => {
     ...

bearblog-microblog-style-posts

2 months ago
/* Notes Post Styles  */
body.notes ul.embedded.blog-posts li,
body.notes ul.embedded.blog-posts li time {
  gap: 0;
}
body.notes ul.embedded.blog-posts {
  display: grid;
  grid-template-colum...

raspberry-pi-temperature-check

3 months ago
#!/bin/bash
cpuTemp0=$(cat /sys/class/thermal/thermal_zone0/temp)
cpuTemp1=$(($cpuTemp0/1000))
cpuTemp2=$(($cpuTemp0/100))
cpuTempM=$(($cpuTemp2 % $cpuTemp1))

gpuTemp0=$(vcgencmd measure_temp)
...