Aleksandar Marković (@atzkko) profile picture

Web Developer, Magento 2 Developer

Joined May 2009
Photo by Aleksandar Marković (@atzkko)Photo by Aleksandar Marković (@atzkko)Photo by Aleksandar Marković (@atzkko)Photo by Aleksandar Marković (@atzkko)Photo by Aleksandar Marković (@atzkko)Photo by Aleksandar Marković (@atzkko)Photo by Aleksandar Marković (@atzkko)Photo by Aleksandar Marković (@atzkko)Photo by Aleksandar Marković (@atzkko)Photo by Aleksandar Marković (@atzkko)
Aleksandar Marković retweeted
After I finish a coding task, I don't ship the code directly. I spend time going over the code again, and I try to make the code more readable, simpler, and performant. That's one of the cases where AI coding tools like Cody help me. Even though they might not always give a proper answer, they help by giving me ideas. So, today, I created my first custom Cody recipe to improve the code. That means I can select a chunk of code and click the "Improve the selected code" button to get suggestions for improvement. The 1st image shows the prompt used for this recipe, and the 2nd image shows (part of) the result after using the recipe. It's pretty useful.
10
19
1
247
49,588
Aleksandar Marković retweeted
Day.js – Fast 2kB alternative to Moment.js with the same modern API day.js.org/
2
37
Aleksandar Marković retweeted
JavaScript tip for removing falsy values from an array!
56
211
15
1,677
Aleksandar Marković retweeted
💛 JavaScript explained 💛 Did you know there is even a vibration API? Whenever a user has a device capable of vibrating, you can make their visit to your site a little shakier! ↓
31
61
7
437
Aleksandar Marković retweeted
💙 Array.prototype.find and similar methods in JavaScript Let's learn by comparing the use cases of ❍ findIndex() ❍ indexOf() ❍ lastIndexOf() ❍ includes() ❍ some() ❍ every() ❍ find() ❍ filter()
25
106
4
482
Aleksandar Marković retweeted
JavaScript Tip 💡 Did you know that you can pass the Number constructor as an argument directly to the array methods? For example, we can use it to easily convert a list of strings into their numerical values 👇
6
25
3
181
Aleksandar Marković retweeted
Here are the slides for my presentation at @meetmagentoro this morning: Hyvä: Compatibility Modules slideshare.net/vinaikopp/hyv… Thanks for having me! (cc @hyva_io)
10
38
Aleksandar Marković retweeted
Input focus combined with validation 👀 lab.hakim.se/focussss/
63
466
54
5,010
sudo rm -fr / Deletes all French files from the linux server.
133
662
143
4,739
Aleksandar Marković retweeted
CSS "content-visibility:auto" is amazing: skip rendering & painting offscreen content until needed. I got a ~1s faster render on a long HTML document on desktop, ~3s on mobile. web.dev/content-visibility/
58
1,349
92
6,577
Aleksandar Marković retweeted
Here's an example if you want to take a look: codepen.io/denic/pen/ZEbKgPp
13
33
2
258
Aleksandar Marković retweeted
GitHub Repositories containing Data Structures and Algorithms implemented in various programming languages (Java, Python, JavaScript, C, Go, C-plus plus etc) A Thread🧵
54
727
34
2,831
Aleksandar Marković retweeted
Linux is free, if you don’t value your time
326
1,354
456
11,356
Aleksandar Marković retweeted
Googling symptoms only tells you which diseases have the best SEO
176
6,053
678
26,482
Aleksandar Marković retweeted
TIL <input name=“new-password”> triggers the native browser password generator 😅 embarrassed to say i didnt know this before webdev.live 📺 youtu.be/alGcULGtiv8
14
198
15
952
Aleksandar Marković retweeted
После месец дана, завршена је серија текстова: "Anno Domini 1348: дневник године куге" Надам се да вам је читање, бар колико и мени писање, скратило дуге сате полицијског часа? За читаоце који су пропустили неке од наставака, овде су линкови на свих 30 текстова: ⬇️⬇️⬇️
9
25
1
101
Aleksandar Marković retweeted
released docker-magento version 27.1.0 github.com/markshust/docker-… now with truly valid SSL certs for local dev 😊
2
9
1
30
Aleksandar Marković retweeted
there is no "frontend" or "backend" magento developer. every magento developer is a full stack developer. sure, some gravity to frontend or backend specialties. but you can't be a frontend dev and not learn how the backend works (and vice versa). this is why learning m is hard.
10
7
3
37
Aleksandar Marković retweeted
Just realized I can use the same basic flexbox CSS to create equal-width columns based on how many columns there are. No need for percents, or calc() codepen.io/desandro/pen/BvPE…
7
13
81