Fork me on GitHub
#babashka
<
2020-10-01
>
borkdude12:10:44

Delete file tree recursively using java nio: https://gist.github.com/borkdude/2a85971164a7e71282d0d0a59fb4b60f

9
👀 3
sogaiu14:10:33

it should be called rm-rf;P

borkdude14:10:00

Thanks. TIL you can use reify with more than one interface. I wonder if we can extend the analyze-reify tree-sitter project to analyze for that ;P

borkdude14:10:12

as in: who is actually doing that. I've never encountered it

sogaiu23:10:35

time for querying a large sample of code? 😜

tzzh15:10:16

Hey, I remember somebody mentioning email on this channel recently so I thought it would be fun to try and create a pod for it so I started https://github.com/tzzh/pod-tzzh-mail which is using a popular Go email library https://github.com/jordan-wright/email

🎉 9
tzzh15:10:23

Cool thanks, I am happy to help the babashka community 🙂

borkdude15:10:20

There's a small typo in your example. Also there's a password in it

borkdude15:10:24

not sure if that's real or not ;)

tzzh16:10:47

ah thanks I’ll take a look - the password is not real (I mean I haven’t tried it it might belol)

borkdude16:10:49

I just tested it, it works!

borkdude16:10:47

Do you have a twitter handle btw?

borkdude16:10:03

I just tweeted it, but I didn't mention you

tzzh16:10:12

lol thanks I don’t have one

borkdude16:10:20

Minor thing: on Windows I think .zip is more supported

borkdude16:10:32

I love that the go code is effectively below 200 lines

tzzh16:10:08

yeah it’s great it’s just super simple wrapper code 🙂

lucian30316:10:23

cool @thomas.ormezzano @borkdude i will def give that a shot