[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: okbuddy.png (953 KB, 1230x1326)
953 KB PNG
>Continuation of off-topic conversations from another board
>>534212635
---
Subject: Help each other with whatever questions we have. No negativity. Just bros doing some coding. I don't care about your LLM opinion, positive or negative.
Audience: Everyone - beginners -> pros
---
I can personally help with some terminal related questions. I have a rooted android, so hit me up if you need help. Using a homelab. Got automation but nothing fancy. Local LLMs (also API use); langchain. SST/TTS commands. Bash. Webdesign and SEO questions are welcome too. Not a pro in all of those fields but I'll try at least.
>sounds corny as fuck but I just want more people to have fun with this
>feel free to share whatever - idc
>>
File: Hmmmm.png (25 KB, 506x487)
25 KB PNG
Been getting this error lately when trying to connect to my mini PC on a home LAN using RDC. Should I be worried? Why would this shit start happening out of the blue and what's causing it? It only started happening recently and the cert is up to date.
>>
>>108729268
tui experiment anon reporting for duty
>>
>>108729277
who's it signed by? if it's self-signed then you're gonna get that warning anytime
>>
>>108729321
It's self-signed. And it was always self-signed (I think?), but it never threw this error before.
>>
>>108729324
well, unless someone else chips in with their own 2c my guess is someone ratcheted up a threat level somewhere during a windows update that made it check RDC connections for certs, if it really was always self-signed.
>>
>>108729330
It's possible that I used a third party cert when setting it up initially, but I really don't remember now.
>>
>>108729335
I do see that it auto-renewed recently to a self-signed one and that it expires in 6 months,
>>
>>>/pol/534212635
whoops, OP mistake.
>>108729277
I'm not using Remote Desktop nor Windows. Maybe someone else can help you. If I had to guess, I'd say you have to add your local self-signed certificate to the certicate store.
>Has it expired and renewed maybe? Changed data?
Like I said: Not a Windows user, sorry.
>>108729319
All right, gotta check that service to share code snippets anonymously. I already have something but I want to simplify it, so it's possible to learn from it.
>>108729335
can't you check the certificate, like query the server or I dunno what your context is?
>>
>>108729339
I did check it and it says it throws the error because the cert is not in the cert store.
>>
>>108729374
So add it.
---
Here is what I've found:
Manual steps to install a Root CA certificate

Double-click on the .cer file.
On the Certificate dialog box, click Install Certificate to start the Certificate Import Wizard.
On the Welcome page, click Next.
On the Certificate Store page, select Place all certificates in the following store and click Browse.
In the Select Certificate Store dialog box, select Show Physical Stores.
Double-click Trusted Root Certification Authorities, select Local Computer, and then click OK.
On the Certificate Store page, click Next.
On the summary page, review the details and click Finish.
---
Can't you download the cert and get it on the device that prompts the msg?
>>
>>108729390
I can add it, that's not a problem. My initial question wasn't about that. I know the whole local cert thing is a pain in the ass, but the fact that this started happening out of the blue after months just seems suspicious to me.
>>
>>108729400
well it seems you got a partial answer with it having auto-renewed recently
>>
>>108729404
This, yeah. You can prevent it from happening by timing the renewal on both ends. If you would've used linux, I would've given you the exact commands. Best I can do here is point in a general direction.
>>108729319
Broski, haven't forgotten about you. Problem was that I needed to simplify whatever I already had. I also know from experience that there are two jq versions that have slightly different syntax. Fingers crossed we have the same one.
https://sharetext.io/lg0d55l8
I'll explain what the point will be but I think it's a nice starting point.
>>
>>108729460
that's interesting. I hadn't considered doing things that way. ty broski.
if I'm reading it right, the way to use that is to make a json file full of the commands I'd be interested in and have them execute sequentially as a list of commands until the command is complete, whereupon i'll get dumped back into the menu?

you know, this example actually just got me thinking about how you brought up tmux, and possibly hooking that up, making it so each command ran in a tmux session so it's detachable and completable in the background while doing other commands...

I think you succeeded at getting the brain going
>>
>>108729460
your bashfu is pretty high though, I still don't know how to use traps properly or what stuff like tput does
>>
>>108729500
>I think you succeeded at getting the brain going
The project I got going (with panes, mouse support, menu+output) is doing what you're getting at.
>detachable and completable in the background
You can just run background processes by added & behind your command.
Example
thunar& -> executes and gives you the ability to use terminal (backgrounded)
thunar -> you can't use terminal
But if you're just starting out, it's a lot more fun to build it from the ground up. Hence the shareurl.
>>108729506
An illusion. The trick is to save whatever you've learned and have easy ways to re-use it. The TUI is just one way to do it in a fun way.
>hot take: LLMs are great for getting best practice advice, although you need to take it with a grain of salt. It couldn't improve my projects in its entirety but it has very interesting advice on small aspects of them. Just scope it accordingly.
>>
>>108729564
true, but if you do that sometimes the terminal gets flooded with the output so you redirect it right? but sometimes you want it, and therefore... a tmux session that keeps all that info but also keeps the menu clean!
>>
>>108729618
and of course if you want to interact with it as well, say its also a tui, it would make it easy to hop in and out of different sessions.
>>
>>108729618
thunar > /dev/null 2>&1 &
I think that would be the command you're looking for to silence output and background it. stdout and stderr or suppressed with that.
That being said, you're still correct about tmux though. Just add flexibility. I think there are ways to create templates too. I mostly just use shell scripts, lol. Maybe a tmux expert can chime in. I'm just a pragmatic user and learn whatever is needed at the moment.
Anyway, I could make a little update to the menu, so we can add submenus and attach some commands to em. I'd save a few lessons the community makes in .txt files and include it in the TUI.
>(due to amount of text, I'm not proofreading as much... just ask if I'm being unclear with something now or later)
>doing the updated url in a separate post (for clarity)
>>
What is the point of this when >>108696259 exists?
Guess I have to filter 1 more thing, jeez.
>>
>>108729644
https://sharetext.io/lvpsjotq
Rewritten it a bit. Should be possible to add submenus, use a back button and extend it with cool functions. Hope it's useful to you.
>>108729776
It's just a continuation of a offtopic conversation from elsewhere. Not sure why you're salty. It's just supposed to be a little anonymous demo for people with basic knowledge of the terminal. Feel free to share something you're using.
>>
File: basic TUI.png (1.05 MB, 2785x2013)
1.05 MB PNG
>>108729319
OK, bruh... I had look up tons of stuff again to make it work. I'm not sure if it's the optimal baseline but it could be cool...
I will trim all the fat from it and will share a final version.
>Goal:
>TUI which contains JSON menus, which contains commands that are linked to a function that displays .txt files in a subdirectory.
I can share the code if there is still interest.
>>
since I can't bump my own thread, might as well test the unicode characters
▲ ▼ ◀ ▶ ▴ ▾ ◂ ▸

Will maybe do a little experiment rather than an off-topic thread.
>>
>>108729268
How is this any different from /sqt/ ?
>>
>>108730502
>since I can't bump my own thread
anon...
>>
>>108731972
lmao I noticed afterwards, you could've let it die.
>>108731960
Again: Was just an offtopic conversation on /pol/ which was continued here. Assumed that was the way to go.
Anyway, got something slightly different but I'm not sure yet on how to do it. We can let it die now.
>>
how to achieve emancipation
>>
File: laughing cyber girls.jpg (298 KB, 996x851)
298 KB JPG
Does anyone have experience porting initramfs-tools hook scripts to dracut?
I was about to go to bat for including some Linux laptops in our library's circulation because the Ubuntu/Mint implementation of overlayroot would allow us to use fairly low-spec (read cheap) machines in a reasonably private and low maintenance way (on each boot root is overlayed with a newly encrypted upper with a random password).
I was previously looking in to how to do it myself so I could try setting it up in Void, but it looks like someone at Canonical has already tried to port it for the release of 26.04.
But their port doesn't work, or at least not the same way, and there's no new documentation on how to enable it.

Also feel free to let me know I'm retarded and overcomplicating this if a better more portable option exists, I just want these to be similar to our Windows laptops (users can install software, change system settings, basically all admin privilege).



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.