#Functions

2026-02-05

When I don’t feel too good, I just watch Thomas #Garrity that “Functions describe the world” and I feel better. #math #mathematics #functions #function youtu.be/zHU1xH6Ogs4

R.L. Dane :Debian: :OpenBSD: :FreeBSD: 🍵 :MiraLovesYou:rl_dane@polymaths.social
2026-02-04

File this under #shell #functions I should have written years ago:

function grepc {
    #Do a grep -c, but skipping files with no results
    grep -c "$@" |grep -v ':0$'
}

#unix #UnixShell #ShellScripting #bash #ksh

Zoey (@zoeysandel)

OpenAI Codex 관련 개발자 요청: Code 모드에서도 functions.request_user_input를 사용해 스킬이 해당 함수를 호출하도록 지원해달라고 제안하고, Codex가 함수 호출로 Plan 모드로 전환할 수 있으면 유용할 것이라며 누구(@thsottiaux 등)에게 태그해 이 사안을 제기할지 묻는 내용입니다.

x.com/zoeysandel/status/201833

#openai #codex #developertools #functions #code

Stephen Blumstephenblum
2026-01-29

Python lets you redefine functions but it replaces the original.

Frontend Dogmafrontenddogma@mas.to
2026-01-28

CSS in 2026: The New Features Reshaping Frontend Development, by @logrocket.bsky.social:

blog.logrocket.com/css-in-2026/

#css #functions

2026-01-28

Bruce Payette dives deep into #PowerShell #proxy #functions 🧠 ⚙️ RBAC ⚡ Memoization 📦 Cmdlet wrapping 📊 Streaming & logging 👀 A must-watch for advanced users! 📍 #PSConfEU 2026 → Wiesbaden. Tickets: psconf.eu #DevOps #ProxyFunctions

- YouTube

N-gated Hacker Newsngate
2026-01-21

Oh, the joys of academia! 🤓 Apparently, are just in disguise! 🎭 Next, they'll tell us that bubble sort is an avant-garde performance art piece! 🎨 Let's just fork this on and pretend we understand. 🙄
futhark-lang.org/blog/2026-01-

Frontend Dogmafrontenddogma@mas.to
2026-01-08

Directional CSS With “scroll-state(scrolled)”, by @Una:

una.im/scroll-state-scrolled

#css #functions #scrolling

Frontend Dogmafrontenddogma@mas.to
2026-01-07
Osna.FMosnafm
2026-01-07

The Christian Democratic Union (CDU) is signaling a significant shift in its approach to governance, planning a sweeping overhaul of state responsibilities slat... news.osna.fm/?p=29811 |

Frontend Dogmafrontenddogma@mas.to
2025-12-17

Building a Multi-Stage Timetable With Modern CSS Using Grid, Subgrid, “round()”, and “mod()”, by @nilsbinder:

9elements.com/blog/building-a-

#css #grids #layout #functions

Frontend Dogmafrontenddogma@mas.to
2025-12-12
Frontend Dogmafrontenddogma@mas.to
2025-12-12

The New “clamp()” Function in PHP 8.6, by @amitmerchant.bsky.social:

amitmerchant.com/the-clamp-fun

#php #functions

Frontend Dogmafrontenddogma@mas.to
2025-12-10

Creating Scroll-Based Animations in Full view(), by @preethisam.bsky.social (@csstricks):

css-tricks.com/creating-scroll

#css #animations #scrolling #functions

Frontend Dogmafrontenddogma@mas.to
2025-12-08
R.L. Dane :Debian: :OpenBSD: :FreeBSD: 🍵 :MiraLovesYou:rl_dane@polymaths.social
2025-12-04

Just three new bash #functions I don't know why I didn't write months/years ago ;)

function binfind {
    #search for patterns in the system bin directories
    local d oIFS="$IFS"
    IFS=:
    for d in $PATH; do
        ls -1 $d/$@ 2>&-
    done
    IFS="$oIFS"
}

function tootlookup {
    #Show a fediverse thread when given a url
    url="$*"
    [[ $url == http* ]] || ( warn "please specify URL"; return 1 );
    toot --no-color thread $(toot --no-color search "$url" |awk '$1=="*" {print $2}' |head -1)
}

function colors {
    #uses ImageMagick identify to print the number of colors in a specified image
    local oIFS="$IFS" output maxlen=0
    IFS=$'\n'
    for f in $@; do
        (( ${#f} >> maxlen )) && maxlen=${#f}
    done
    ((maxlen+=4))
    for f in $@; do
        printf "%-${maxlen}s " $f
        output=$(identify -verbose $f |& grep Colors: |sed 's/^ *Colors: //')
        [[ -n $output ]] || output="(unknown)"
        echo $output
    done
    IFS="$oIFS"
}

#Unix #shell #ShellScripting

Frontend Dogmafrontenddogma@mas.to
2025-12-03

Introduction to CSS “if” Statements and Conditional Logic, by @markodenic.com:

markodenic.com/introduction-to

#introductions #css #functions #conditionals

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst