MattMerk, to random
@MattMerk@mastodon.social avatar

Okay, here is that & tutorial I warned you all about. WARNING: It's very boring! 😆 https://youtu.be/otPLGO3L3gQ

mvan231, to Shortcuts

What type of are you working on today? If none, are you doing any or of another type?

Generally curious what people are building today

metin, (edited ) to linux
@metin@graphics.social avatar

When you discover an interesting tool, and it turns out there's no executable GUI, but to get it running you need to pip a git, hub a stub, sudo a judo, brew a stew, python a cobra and unix a linux… 🤡

stefan, to linux
@stefan@social.stefanberger.net avatar

Oh this is nice! 😍🐧

„A collection of pure POSIX sh alternatives to external processes.“

https://github.com/dylanaraps/pure-sh-bible

🏷️

jasongaylord, to webdev
yugaego, to tcl

Writing a for , I touched the basics of . This programming language appeared to be elegant, with clear and catchy syntax.

It looks like a very nice choice for . Now I'm not surprised that Sqlite was born as Tcl extension initially. And surprised Tcl isn't widely used in , for instance. I'm quite sure this is suitable for a number of tasks in today's , so pls share if you have real life example(s).

fifonetworks, to random

I'm the type who will spend 30 minutes perfecting a script to automate something I could manually do from the command line in 5 or 6 minutes.
Who's with me?

esden, to kicad
@esden@chaos.social avatar

I needed to shave a yak today. I want to length match the pmod signals on the new icebreaker. So I added a definition file, multiple busses and multiple nets per signal capability to KiBus. In case you feel like messing with it: https://github.com/esden/KiBus/tree/feature/bus-def-file

video/mp4

kubikpixel, (edited ) to web
@kubikpixel@chaos.social avatar
anderseknert, to devops
@anderseknert@hachyderm.io avatar

Tonight I’m playing with , a tool originally intended as a replacement using as its query language, but which eventually grew to be useful for format transformations, and now a full-blown environment. All powered by . Madness, obviously, but just the right kind of madness.

https://sr.ht/~charles/rq/

jason, to python
@jason@toots.dgplug.org avatar

derb; Script to Create podcast RSS feeds

https://janusworx.com/blog/derb/

#Python #Scripting #mjbWrites

juandesant, to til
@juandesant@astrodon.social avatar

Today I learned how to split a variable with multiple lines for a Bash/ZSH script. I was using the previously mentioned mdb-query package, and I have a variable named tables with the different tables, separated by returns. When I fried to do for table in $tables; do echo $table; done, it did not split the lines.

I got the right output with

while IFS= read -r table; do $table; done <<< $tables

The spacing is important!

From https://superuser.com/a/284226/199266

SoLSec, to linux
@SoLSec@mastodon.social avatar

Life is too short not to bash.
😜


lannan, to comics
@lannan@mas.to avatar

I'm doing something different with my current webcomic scripting adventure, and I'm gonna nerd about it for a minute! A 🧵:

Historically when I've written scripts, I've thought in pretty rigid "page-down" terms - that is, I know exactly what I want to accomplish on a page, and I map out its constituent parts from there. So I'm trying something more... "beat-up". That is, focusing on writing dialogue and scripting specific beats /

wick3dr0se, to linux

I wrote a matrix digital rain implementation in under 50 lines of pure Bash.. I chose Bash due to it being widely installed and extremely portable. With modern systems this shouldn't cause any noticable performance changes and seems more than efficent so far

Looking for feedback, contributions or whatever helps 😆. If it interest you at all, let me know what you think about it!

https://github.com/wick3dr0se/matrix

Matrix digital rain

Where can I find tutorials on embedding Lua scripting into applications

The official documentation isn't 100% clear on things (why am I getting LUA_TNIL for functions?), and the best I can find with some simple web search is kinda relevant stackoverflow (🤮) posts, except they're mostly about calling host functions from Lua side, the rest are things that seem I've nailed so far....

danie10, to Bash
@danie10@mastodon.social avatar

How to use the grep command in Linux for searching for, and inside, files

In the vast realm of Linux, an open-source operating system, the grep command holds a significant place. An acronym for ‘Global Regular Expression Print’, the grep command is a widely-used Linux tool that gives users the power to search through text or output ...continues

See https://gadgeteer.co.za/how-to-use-the-grep-command-in-linux-for-searching-for-and-inside-files/

jzik, to python

The Right Way to Run Shell Commands From Python

https://martinheinz.dev/blog/98

jaandrle, (edited ) to programming
@jaandrle@fosstodon.org avatar

🎉 nodejsscript@v1.0.0 :nodejs:
Easy cross-platform “one–file” scripting using JavaScript.

You can use it as:

Gradually replenished thread 👇

jaandrle, (edited )
@jaandrle@fosstodon.org avatar

🎉 nodejsscript@v1.0.0 :nodejs:

…provides quick way to build cli with tab-completion support.

jaandrle,
@jaandrle@fosstodon.org avatar

🎉 nodejsscript@v1.0.0 :nodejs:

…use in terminal for example for analyze JSONs

jaandrle,
@jaandrle@fosstodon.org avatar

🎉 nodejsscript@v1.0.1 :nodejs:

quick evaluate JS in terminal, examining JSON (files), …

jaandrle,
@jaandrle@fosstodon.org avatar

🎉 nodejsscript@v1.0.1 :nodejs:

just small fixes in docs and tldr functionality

jaandrle,
@jaandrle@fosstodon.org avatar

🎉 nodejsscript@v1.0.1 :nodejs:

use CSS-like syntax for styling your outputs → simple loading/spin animation

btaroli, to ADHD
@btaroli@federate.social avatar

Both excited and stressed about an this week. Kind of an irony alert given I’m excited to participate but also stressed at all the preparation. So much focus on getting it “right.”

I have to admit I prefer a format that just lets participants speak on a subject freehand and take questions after. Too much stresses me out.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • InstantRegret
  • mdbf
  • ethstaker
  • magazineikmin
  • cubers
  • rosin
  • thenastyranch
  • Youngstown
  • osvaldo12
  • slotface
  • khanakhh
  • kavyap
  • DreamBathrooms
  • provamag3
  • Durango
  • everett
  • tacticalgear
  • modclub
  • anitta
  • cisconetworking
  • tester
  • ngwrru68w68
  • GTA5RPClips
  • normalnudes
  • megavids
  • Leos
  • lostlight
  • All magazines