Rob Stack
188 subscribers
178 photos
29 videos
3 files
108 links
Rob Stack is where I document my progress in software engineeringπŸ‘¨β€πŸ’» and share helpful tips and tech knowledge for fellow learners. And more of me.
Download Telegram
Forwarded from Dagmawi Babi
@Amkiru built NALTH, which is a TypeScript-agnostic security framework built on Vite.js foundations.

Nalth
β€’ NalthJS.com

It's a drop in replacement, no specific configuration is needed. All you have to do is:
npm create nalth@latest 


And that's it. It will apply some good security changed. Which includes HTTPS certificates generatiom, Security headers configuration, and so much more.

It's open-source
β€’ github.com/nalikiru-dev/nalth.js

They recently released v2.2 and it works with VitePlus. Really cool job!

#CommunityShowcase #Nalth
@Dagmawi_Babi
❀4
@Amkiru is a true frontend nerd. I met him at the INSA Summer Camp, and we were in the same project group. He’s still in high school, but already has 5 years of coding experience (pretty sure he started coding in his mom’s belly πŸ˜ƒ). He told me about NALTH, and I was impressed. I even got to review it, some parts were beyond my level (JS isn’t my main language), but I encouraged him to make it public. Now he’s getting amazing feedback from developers everywhere!
Go check out his work, give the repo a ⭐️ on GitHub.

@R0bstack
⚑6❀2πŸ”₯2
Am I the only one?πŸ€”

i’ve been doom scrolling on insta for hours.
but here’s the weird part, i feel productiveπŸ˜ƒ. Cause the feed’s are full of β€œuseful tips,” β€œhow to grow,” β€œstay consistent” kinda stuff.
but it’s been hours.
no real work done.
no moves made.
just poor me thinking i am improving when i am just scrolling.
wtf.🀯

@R0bstack
🀯4πŸ’―1
πŸ€”πŸ˜…

#Meme@R0bstack
😁6
Lets solve leetcode together🦾
Rob Stack
https://leetcode.com/problems/simplify-path/description/
once i understood the problem well, coming up with a solution wasn't that hard

        stack = []
for dir_name in path.split('/'):
if dir_name == '..':
if stack: stack.pop()
elif dir_name == '' or dir_name == '.':
continue
else:
stack.append(dir_name)
return '/' + '/'.join(stack)
⚑4
Rob Stack
https://leetcode.com/problems/maximum-subarray/description/
This was my first accepted soln
        for num in nums[1:]:
cur_sum = max(num, cur_sum + num)
max_sum = max(max_sum, cur_sum)
return max_sum

but later i checked there is a better soln with less Runtime(9ms)

currSum = 0
maxSum = nums[0]
for num in nums:
if currSum < 0:
currSum = num
else:
currSum += num
if currSum > maxSum:
maxSum = currSum
return maxSum
❀1
Enough for today. I solved 10 problems all day, and if you want to solve more, check out my friend @bella_devs_squad. He's kind of a pro😎

@R0bstack
❀4😁1🀯1🀝1
Forwarded from Luna's pathwayπŸ€— (Luna)
Daily Reminder 😌
Please open Telegram to view this post
VIEW IN TELEGRAM
🫑6πŸ”₯1
Sup everyone πŸ€“,I am redoing LeetCode problems I did in the previous days, and this is what happened:
πŸ•―οΈsome of the problems I struggled to solve yesterday or the day before I solved easily today.
πŸ•―οΈStill, there are some problems I understand the concept and know how to solve, but I struggle with the implementation.
πŸ•―οΈThere are also some that make me wonder, did I really solve this oneπŸ€”πŸ˜?
Overall, I reinforced my learning, and I don't think I will miss these questions on interviewsπŸ€“. I highly recommend you guys to redo LeetCode problems you solved yesterday before starting to solve new ones.

@R0bstack
❀3⚑2🀝2
Happy Sunday, may solving errors be this easy πŸ˜Œβ˜•

@R0bstack
🀩5
Sanyi
Aaand it's out https://www.youtube.com/watch?v=sTkHcix2mlU @thesanyi
1⃣6️⃣
What were you doing
When you were sixteen
πŸ«£πŸ˜„

@R0bstack
😒5πŸ€”1
Gov: You'll be a teacher next year.

Me: Sure, but make it IT and give me the lab key, or I'm ghosting 😎

#MEME@R0bstack
πŸ€“5πŸ‘Œ4
Forwarded from Mr. SeeFun.Dev (Sifen)
Ever notice how some websites don’t tell you whether your email or password is wrong when you try to log in? They just say "Invalid credentials" with no details.That’s actually a security feature.

It’s called User Enumeration Protection.
If a site tells you β€œemail not found,” attackers can test millions of emails and instantly know who has an account. So instead, websites use a generic message to keep your info safe.

@sifendev