Everybody knows about using !! to add sudo to your previous command, but there are a couple other things I constantly use it for. So this is just a little PSA in case it never occured to you:
1. grep results
Say I want to search a bunch of files for a string, and then open all files containing that string in my editor.
I want to check the search results first, and I never get the exact search correct on my first try anyway, so I’ll run a series of commands that might look like…
Checking the results each time, until I have exactly the set of files that I want.
Here’s the trick: now add the “-l” flag to grep to get just the file paths:
grep -Rnil . -e "my.\?string"
Now when you use !!, you’ll get all those filenames. Therefore we can just do vim -p $(!!) to get all those files opened in tabs in vim.
2. with which
Sometimes I want to read or edit a script that’s on my computer.
To find it, I run which some-command. This confirms that it exists under that name, and that it’s an actual script and not an alias or shell function.
Now, we can just use vim $(!!) or cat $(!!) or whatever to open it.
Everybody knows about using !! to add sudo to your previous command, but there are a couple other things I constantly use it for. So this is just a little PSA in case it never occured to you:
1. grep results
Say I want to search a bunch of files for a string, and then open all files containing that string in my editor.
I want to check the search results first, and I never get the exact search correct on my first try anyway, so I’ll run a series of commands that might look like…
Thank you so much for all your donations towards Make-A-Wish International and their incredible work - together you raised a total of $672.79 during our segment 💛
Please note that the Tiltify campaign is still open, and you can still donate. If we reach the goal of $1000, there will be a follow-up stream featuring more wheel spins, more locations, and perhaps a conclusion to Zix’s guild journey.
Link to the fundraiser in the video description!
Thank you so much for all your donations towards Make-A-Wish International and their incredible work - together you raised a total of $672.79 during our segment 💛
Please note that the Tiltify campaign is still open, and you can still donate. If we reach the goal of $1000, there will be a follow-up stream featuring more wheel spins, more locations, and perhaps a conclusion to Zix’s guild journey.
CERT stands for Community Emergency Response Team, which is a program that trains volunteers in basic disaster response skills to assist their communities during emergencies.
Ham radio operators are really useful to CERT and at least in the community I joined with my local city they really recommend to get into ham radio, so from my perspective of what I’ve learned locally is they go hand in hand.
I know this server rules say communities should be amateur radio related and I think it goes pretty well together, but would also like general CERT discussion for example what people keep in their CERT backpack and what events they have participated in etc beyond just the radio aspect of it. I feel the CERT community would fit nicely on lemmy.radio
CERT stands for Community Emergency Response Team, which is a program that trains volunteers in basic disaster response skills to assist their communities during emergencies.
Ham radio operators are really useful to CERT and at least in the community I joined with my local city they really recommend to get into ham radio, so from my perspective of what I’ve learned locally is they go hand in hand.
I know this server rules say communities should be amateur radio related and I think it goes pretty well together, but would also like general CERT discussion for example what people keep in their CERT backpack and what events they have participated in etc beyond just the radio aspect of it. I feel the CERT community would fit nicely on lemmy.radio
It’s in one of the elevators in my apartment building. I guess the LA is the Los Angeles “logo”, but no idea what the she and t is, tried searching “shelat” but that doesn’t really give any results other than it’s an indian name.
It’s in one of the elevators in my apartment building. I guess the LA is the Los Angeles “logo”, but no idea what the she and t is, tried searching “shelat” but that doesn’t really give any results other than it’s an indian name.
I’m trying to figure out how I add groups, specifically groups i have on my mobile app to my terminal.
simple x help suggested I add a directory bot but It is still not clear how i can connect to an existing group in the CLI,
i’d expect /groups list should return some kind of list but that option doesn’t exist.
Any tips appreciated!
EDIT:
Well, looks like I figured it out.
I need to find the URL from the group in the website, then paste that after /connect <URL>
This worked for a few but anything that required a captcha just didn’t work, so not sure if there is a way around that.
I’m trying to figure out how I add groups, specifically groups i have on my mobile app to my terminal.
simple x help suggested I add a directory bot but It is still not clear how i can connect to an existing group in the CLI,
i’d expect /groups list should return some kind of list but that option doesn’t exist.
Any tips appreciated!
EDIT:
Well, looks like I figured it out.
I need to find the URL from the group in the website, then paste that after /connect <URL>
This worked for a few but anything that required a captcha just didn’t work, so not sure if there is a way around that.
I’ve encountered this sort of point before, you’ll likely find many examples right on Lemmy. Does the US “not have culture”? Does it have lots of different cultures? Has it just been so good at spreading culture that everything feels American?
Post picture is something that feels uniquely US, for better or worse
I’ve encountered this sort of point before, you’ll likely find many examples right on Lemmy. Does the US “not have culture”? Does it have lots of different cultures? Has it just been so good at spreading culture that everything feels American?
We’re continuing our webinar series on building your own fictional programming language!
In our first session, we explored the core building blocks: the lexer, parser, semantic analyzer, and evaluator—how they work and how they fit together.
Now it’s time to dive into grammars. What is a language, really? How can you describe it in a way that a program understands what a sequence of symbols means and what result it should produce? We’ll break it down in a clear and practical way—and, of course, get hands-on with grammars.
Join our webinar on March 27, 1:00 PM UTC+1—there will be lots of interesting insights to discover!
We’re continuing our webinar series on building your own fictional programming language!
In our first session, we explored the core building blocks: the lexer, parser, semantic analyzer, and evaluator—how they work and how they fit together.
Now it’s time to dive into grammars. What is a language, really? How can you describe it in a way that a program understands what a sequence of symbols means and what result it should produce? We’ll break it down in a clear and practical way—and, of course, get hands-on with grammars.
Join our webinar on March 27, 1:00 PM UTC+1—there will be lots of interesting insights to discover!
A user on the VRC forum posted a few weeks ago that they had made (with AI) patches for Proton that lets VRC access camera.
They’ve published their custom build onto github, you can get the latest tar.gz release and unpack it into ~/.steam/steam/compatibilitytools.d/ (different for flatpak install, see the repo readme), then restart Steam, set it to run VRC with the new proton you just added, and tada :3
A user on the VRC forum posted a few weeks ago that they had made (with AI) patches for Proton that lets VRC access camera.
They’ve published their custom build onto github, you can get the latest tar.gz release and unpack it into ~/.steam/steam/compatibilitytools.d/ (different for flatpak install, see the repo readme), then restart Steam, set it to run VRC with the new proton you just added, and tada :3
Custom USDT tokens are now being hawked through some Telegram accounts, such as this one t.me/blockzenn. Originally created for legitimate testing, they are increasingly being misused on cryptocurrency platforms and exchanges and are being swapped for fiat currency. These tokens appear fully legitimate on the blockchain and can be obtained cheaply, posing a critical security concern within the crypto ecosystem. Below is a screenshot of the custom USDT I purchased for a few USD.
Custom USDT tokens are now being hawked through some Telegram accounts, such as this one t.me/blockzenn. Originally created for legitimate testing, they are increasingly being misused on cryptocurrency platforms and exchanges and are being swapped for fiat currency. These tokens appear fully legitimate on the blockchain and can be obtained cheaply, posing a critical security concern within the crypto ecosystem. Below is a screenshot of the custom USDT I purchased for a few USD.
There is always a temptation to add “something AI” in new tools. Especially to tools that are somehow related to developer productivity.
At the same time I wanted to avoid this temptation with Voiden. So there is currently nothing screaming “AI” in it even though I can potentially see many many use cases.
This is also one of the main reasons I think that a plugin architecture is best. What was actually in my mind is that not adding AI is ok for now and the community will start coming up and building AI plugins. For example creating docs from specs and vice versa.
Any other use cases you can think that could be applicable to a tool like this? (Dev Tool with executable markdown files for API specs, tests and docs). The first plugins we shipped were more around methods (grpc, graph ql, web sockets etc etc).
There is always a temptation to add “something AI” in new tools. Especially to tools that are somehow related to developer productivity.
At the same time I wanted to avoid this temptation with Voiden. So there is currently nothing screaming “AI” in it even though I can potentially see many many use cases.
This is also one of the main reasons I think that a plugin architecture is best. What was actually in my mind is that not adding AI is ok for now and the community will start coming up and building AI plugins. For example creating docs from specs and vice versa.
Any other use cases you can think that could be applicable to a tool like this? (Dev Tool with executable markdown files for API specs, tests and docs). The first plugins we shipped were more around methods (grpc, graph ql, web sockets etc etc).
If I’m registered on a particular instance, say feddit.uk and I want to create a new community but it doesn’t particularly fit on the instance on which I’m registered, am I able to create a community on a separate instance, say lemmy.world or do I have to first register an account on lemmy.world?
If I’m registered on a particular instance, say feddit.uk and I want to create a new community but it doesn’t particularly fit on the instance on which I’m registered, am I able to create a community on a separate instance, say lemmy.world or do I have to first register an account on lemmy.world?
Wir haben uns das Modell zu Weihnachten geschenkt und sind schon im Januar fertig geworden. Mein Sohn (8) und ich haben etwa vier Wochen an der Schwebebahn gebaut, im Wechsel mit den Schwiegereltern und mit Hilfe von Freunden. Reine Bauzeit war vielleicht 30 Stunden.
Der Aufbau war teilweise sehr komplex. Manche Schritte waren nicht sofort klar, sodass wir zweimal etwas neu bauen mussten. Andere Abschnitte waren dagegen eher monoton, weil sich viele Schritte wiederholt haben. Das kann auch was Gutes haben - ist ja meditativ. Insgesamt ist die Anleitung aber wegen der Ähnlichtkeit zu Lego-Anleitungen sehr gut gemacht.
Es gibt einige originelle Ideen bei der Konstruktion, z.B. die Sitze und die Panoramafenster. Die sind dadurch aber manchmal auch nicht besonders stabil.
Größtes Manko meiner Meinung nach ist die Stabilität des Gesamtkonstrukts. Es fehlt eine Längsversteifung, so dass das ganze Bauwerk wackelt, wenn man in Richtung der Fahrachse dagegen drückt. Außerdem wäre es cool, wenn man das Modell um einen weiteren Fahrbahnabschnitt erweitern könnte, damit die Bahn etwas weiter fahren kann.
Das fertige Modell sieht aber richtig gut aus und ich würde es wieder tun!
Wir haben uns das Modell zu Weihnachten geschenkt und sind schon im Januar fertig geworden. Mein Sohn (8) und ich haben etwa vier Wochen an der Schwebebahn gebaut, im Wechsel mit den Schwiegereltern und mit Hilfe von Freunden. Reine Bauzeit war vielleicht 30 Stunden.
Der Aufbau war teilweise sehr komplex. Manche Schritte waren nicht sofort klar, sodass wir zweimal etwas neu bauen mussten. Andere Abschnitte waren dagegen eher monoton, weil sich viele Schritte wiederholt haben. Das kann auch was Gutes haben - ist ja meditativ. Insgesamt ist die Anleitung aber wegen der Ähnlichtkeit zu Lego-Anleitungen sehr gut gemacht.
Es gibt einige originelle Ideen bei der Konstruktion, z.B. die Sitze und die Panoramafenster. Die sind dadurch aber manchmal auch nicht besonders stabil.
Größtes Manko meiner Meinung nach ist die Stabilität des Gesamtkonstrukts. Es fehlt eine Längsversteifung, so dass das ganze Bauwerk wackelt, wenn man in Richtung der Fahrachse dagegen drückt. Außerdem wäre es cool, wenn man das Modell um einen weiteren Fahrbahnabschnitt erweitern könnte, damit die Bahn etwas weiter fahren kann.
Das fertige Modell sieht aber richtig gut aus und ich würde es wieder tun!
So i for some reason i can’t get fritz to give me lockpicks and also get my friends to help beat up kunesh.
Ive talked to kunesh he refuses, i interact with his chest(says i need lockpicks). Go talk to my friends ask for help, do the deed.
And from here on out nothing i do can i get both the lockpicks and get help with the fight. Sometimes I can’t get my friends to do anything. they don’t help with the fight and walk away I can’t talk to Fritz and get lockpicks, what is going on.
What am i doing wrong please anyone help me i want to like this game. But this just screams red flags for rest of the game. If you know what’s going on please help
So i for some reason i can’t get fritz to give me lockpicks and also get my friends to help beat up kunesh.
Ive talked to kunesh he refuses, i interact with his chest(says i need lockpicks). Go talk to my friends ask for help, do the deed.
And from here on out nothing i do can i get both the lockpicks and get help with the fight. Sometimes I can’t get my friends to do anything. they don’t help with the fight and walk away I can’t talk to Fritz and get lockpicks, what is going on.
What am i doing wrong please anyone help me i want to like this game. But this just screams red flags for rest of the game. If you know what’s going on please help
Welcome to !crossword@lemmy.world! Unlike /r/crossword where the daily post focuses solely on the NYT crossword, we at Lemmy welcome discussion of all daily crosswords.
For those checking the comments, spoilers may be present, so please proceed with caution.
Head to the comments to find links to mini crosswords.
If there are any other crosswords you would like to see added to this list, please let us know, and we will add them in a future post.
Thank you for being a part of this community!
Welcome to !crossword@lemmy.world! Unlike /r/crossword where the daily post focuses solely on the NYT crossword, we at Lemmy welcome discussion of all daily crosswords.
For those checking the comments, spoilers may be present, so please proceed with caution.