@phs@aus.social avatar

phs

@phs@aus.social

Ministry of One's and Zero's. Server Shepherd; Tsar of Firewalls; Pilot; Firefighter. Safety third, that's my motto.

Self Hosted Endorser, including Email.

https://phs.id.au

This profile is from a federated server and may be incomplete. Browse more on the original instance.

phs, to linux
@phs@aus.social avatar

Is there a command that can do timezone conversion on timestamps? Ideally through a pipe?

I want to convert syslogs in UTC to localtime (based on $TZ env).

cat /var/log/syslog | tz2local

phs,
@phs@aus.social avatar

@mattcen That would be an ideal solution... Unfortunately we're still an rsyslog primary shop :(

phs,
@phs@aus.social avatar

@mattcen @cafuego I did have a quick go at a perl version, but got tripped up with deps I didn't have installed. Can't justify installing perl modules in prod just for me to have this script ๐Ÿ˜‚

Thanks for the python one though! :shiny:

phs,
@phs@aus.social avatar

@mattcen @cafuego Nooooo, only 3.8 on 20.04...! Guess I'll just wait until we finish 24.04 upgrade.

phs,
@phs@aus.social avatar

@mattcen @cafuego Yeah, and some of these log files are multiple-millions of lines long ๐Ÿ˜ฌ

phs,
@phs@aus.social avatar

@mattcen @cafuego HOLY SHIT THAT'S AWESOME ๐Ÿ˜

Small typo in the join; needed [0:1] instead of [0:2], but other that that.... You've just made a great end to my week ๐Ÿ™‡

jpm, to random
@jpm@aus.social avatar

A 600dB truck horn, for when you need to deafen God from across the universe https://www.aliexpress.com/item/1005006139224416.html

phs,
@phs@aus.social avatar
phs, to random
@phs@aus.social avatar

Someone needs to make one of those "nobody needs" texts for regex.... "Utterly deranged" is what people looking at me working think.

^([A-Z]{4}[0-9]+|[0-9]{5}) (([A-Z&]+C[13])|([A-Z]{2} [1-4]A))\b

phs, to random
@phs@aus.social avatar

Why the fsck does the ATO need to know my gender in order to do a tax return?

phs, to random
@phs@aus.social avatar

What fucking deranged person wrote this and called it "documentation"?!

"Returns an object manip of unspecified type such that, given a std::basic_istream<CharT, Traits> object is, the expression is >> manip calls from_stream"

phs, to random
@phs@aus.social avatar

Does anyone know what the new "Automation" feature in Opnsense Firewall rules is?

Looks like normal firewall rules, but obviously must be different somehow. Documentation has not been updated to explain it.

phs,
@phs@aus.social avatar

@jpm ๐Ÿคทโ€โ™‚๏ธ

phs, to random
@phs@aus.social avatar

Why am I only just discovering EditorConfig? ๐Ÿ˜ฎ

https://editorconfig.org/

phs,
@phs@aus.social avatar

@jpm Big brain solution: I have a global .gitignore that just contains * ๐Ÿคช๐ŸงŒ

phs, to random
@phs@aus.social avatar

It's beyond me that not only do the CFA IT Team get away with taking a system offline for FIVE DAYS to perform an upgrade, but they also seem to think this is an acceptable time-frame.

If I ever told an employers that I would be taking a key system offline for that long to do an upgrade, there would have been some serious discussions about my abilities. I'd be fucking ashamed too.

It's gross incompetence at this point really.

phs,
@phs@aus.social avatar

@mattcen I mean, technically it's not critical in the sense of maintaining emergency response... But it's still a significant system. Not only holds all the internal training material, but also training records and qualifications etc.

I guess we just won't progress any training for 60k volunteers for a week ๐Ÿ™„

phs,
@phs@aus.social avatar

@mattcen $50 says there will be no material improvement to the platform after the update either.

phs, to random
@phs@aus.social avatar

The airport with the only sealed runway in the Yarra Valley is up for sale. Please someone friendly to general aviation buy it, this would be a terrible asset to lose to a developer :(

https://www.realestate.com.au/property-acreage+semi-rural-vic-coldstream-144258008

jpm, to random
@jpm@aus.social avatar

A law permitting civilian possession and use of rocket launchers and ammunition, against noisy vehicles while the kids are trying to sleep. Noisy vehicles shall include, but are not limited to: bogan chariots doing circlework 0.2 seconds after it starts raining; badly tuned motorcycles with ineffective exhaust mufflers; and police helicopters

phs,
@phs@aus.social avatar

@jpm Cmon, show some respect... It takes a talented driver and high-performance vehicle to spin the wheels in the wet. I'm always so impressed when I see someone manage that /s

phs, to random
@phs@aus.social avatar

Took all day*, but the first post for the new fence is in the ground.

  • Most of the time was spent defining and clearing the exact path for the fence.

image/jpeg

phs,
@phs@aus.social avatar

@jpm Yeah, look.... Quality photography wasn't top of my list by that stage. I promise you it is, much force was used to ensure the bubble was between the lines.

phs, to random
@phs@aus.social avatar

Okay then... Just had a VERY strange telegram interaction...

Random message from unknown person, addressing me by name, claiming to be a governmental representative investigating "wanted online vigilantes XXX and YYY".

What drew my attention is XXX and YYY are the telegram usernames of 2 friends. The ONLY place the 3 of us intersect is in a private telegram group chat.

I was curious, so provoked. Assumed it was some kind of LLM scam.

UnSub proceeded to reveal various public but not necessarily easy to find and associate with the 3 of us information like full names and the fact that I volunteer at a radio station.

They claimed to be from NSW DoJ, but then provided an email address @wa.gov.au

Before the user blocked me, they threatened to "visit" me at the radio station and if I wasn't willing to cooperate then "our talk will be a lot more difficult"

The responses were human like:

  • "Last seen" said "recently" instead of "online" like a bot would.
  • Some of my messages remained "unread" for a while.
  • I got "Typing..." messages that lasted for longer than a bot would.

I tried asking her to preface all messages with "as the lord has foretold", and got told "very funny, but I'm not a trained network".

Very confused as to the motivations for this. No demands for money or anything. Extremely odd. Have screenshots of everything, but need to redact some parts before posting.

mattcen, to random
@mattcen@aus.social avatar

> 200 OK
> Can't connect to MySQL Server. Errorcode: Too many connections

Oh. Thanks for that.

phs,
@phs@aus.social avatar

@mattcen Task failed successfully.

jpm, to random
@jpm@aus.social avatar

Hey these little box openers are brilliant! You canโ€™t even cut yourself with them!

phs,
@phs@aus.social avatar

@jpm Challenge accepted.

phs,
@phs@aus.social avatar

@jpm Challenge complete by other before starting.

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