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:
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
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
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
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
Rob Stack
https://leetcode.com/problems/simplify-path/denoscription/
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/denoscription/
This was my first accepted soln
but later i checked there is a better soln with less Runtime(9ms)
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
@R0bstack
❤4😁1🤯1🤝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
🕯️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
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
Me: Sure, but make it IT and give me the lab key, or I'm ghosting 😎
#MEME@R0bstack
🤓5👌4
Forwarded from 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
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