AstroCodeCraft

Effortlessly divide a list into chunks in Python using chunk(lst, size). It splits lst into sublists of size using map and lambda. The ceil function ensures even the last chunk is captured, no matter the list size. #Python #Programming #CodeSnippets

pablolarah

🟣🟢 5 CSS snippets every front-end developer should know in 2024
by Adam Argyle @argyleink at @ChromiumDev
#webdev #codesnippets #coding

web.dev/articles/5-css-snippet

Curtis McHale

Cross Platform Snippet Management with Espanso
Since I added Linux to my operating system workflow I am no longer able to have all my text snippets, including code, only available on macOS. I need a cross-platform snippet tool and today we're going to look at Espanso which is my current option for a cross-platform snippet manager.

Installing Espanso

On macOS, you have two
curtismchale.ca/2023/06/14/cro
#Apps #CodeSnippets #espanso

Curtis McHale

Cross Platform Snippet Management with Espanso
Since I added Linux to my operating system workflow I am no longer able to have all my text snippets, including code, only available on macOS. I need a cross-platform snippet tool and today we're going to look at Espanso which is my current option for a cross-platform snippet manager.

Installing Espanso

On macOS, you have two
curtismchale.ca/2023/06/14/cro
#Apps #CodeSnippets #espanso

Sharon Machlis

My RStudio code snippets to get an object from a character string and get the object name as a strong from the object:

snippet string2obj
eval(parse(text = "${1:obj_name}"))

snippet obj2string
deparse(substitute(${1:obj_name}))

#rstats #RStudio #CodeSnippets
@rstats