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
✅ Cómo insertar código en el functions.php del tema activo de tu WordPress con el plugin #CodeSnippets 👉 https://buff.ly/3i7BdMm #plugins #WordPress
#codesnippets #Plugins #WordPress
Hello everyone, #Introduction
I'm a #WebDesigner, based in #Yorkshire, #UK
I create #Websites and #DigitalServices that are clear to understand and simple to use. I love sharing #WebDesign #Tips, #CodeSnippets, and #Templates
I've been working in #LocalGov #Gov on #Digital products for over 10 years. My current areas of interest include #UserExperience #UserInterface and #Accessibility #A11y
I'm currently learning #TailwindCSS and #Astro
I'm also a #Volunteer #Grassroots #Football #Coach
#introduction #webdesigner #yorkshire #uk #websites #digitalservices #webdesign #tips #codesnippets #templates #localgov #gov #digital #userexperience #userinterface #accessibility #a11y #tailwindcss #astro #volunteer #grassroots #football #coach
I think a good way to show code (until we wait for all servers to have Markdown like #QOTO, at least) is to show a generated code image (from one of several online tools, or screenshot if you must) and add the code as the ALT text/description of the image, as in the quoted toot.
If, as in this case, the code is too long for the ALT text (this will only happen for long code snippets like this) the code could go in an unlisted reply to the toot with the image (or in the same toot, if you prefer/have space)
I think it’s useful to have both a properly-formatted version for those who just want to read code and text which people can copy-paste
gist and other solutions means you need to leave the site - not ideal, I think
#code #qoto #codesnippets #python
200K WordPress Sites Vulnerable to Plugin Flaw - Developers behind WordPress plugin Code Snippets have issued a patch for the high-severity flaw. more: https://threatpost.com/200k-wordpress-sites-vulnerable-to-plugin-flaw/152415/ #highseverityflaw #vulnerabilities #wordpressplugin #exposedwebsite #codesnippets #websecurity #websiteflaw #wordpress
#wordpress #websiteflaw #websecurity #codesnippets #exposedwebsite #wordpressplugin #vulnerabilities #highseverityflaw