Truth (@Gom3a_ca) profile picture
Joined May 2010
This is a valid Dockerfile for a NodeJS application. It is also a pile of 💩! We can improve: - 🔒 Security - 🏎️ Build speed - 👁️ Clarity Follow along as we go from 💩 to 🥇! (code in alt text)
198
1,443
119
7,786
888,053
Can't wait to read @swizec's software engineering lessons from production. No bullshit. 👉 swizec.com/letters/
8
Hi @moshhamedani thanks for all your efforts. I have a git question. What would be the possible reason that when a person branches out of main and do create a PR, that this PR will not contain his new work, rather will undo an older previous commit? -he does not know revert-
1
Also @moshhamedani when this bad PR is accepted on Main, and then followed by a revert -good commit on main-, why when other devs pull latest main, they are prompted with merge conflicts for the files that they did not touch but was only included in the revert fixed?
I am attending DevOps.js Conference. Register for free and join me there with other engineers and great speakers! devopsjsconf.com/badge/gomaa… #DevOpsJS
Truth retweeted
News: AWS has released AWS UI, a collection of @Reactjs + @Typescript libraries for a new design system. - @awsui/components-react - @awsui/collection-hooks - @awsui/design-tokens - @awsui/global-styles - @awsui/test-utils-core Source not yet available. theregister.com/AMP/2021/01/…
12
71
7
397
📢 Ditch Hex for HSL 📢 Pluck colors out of your head without looking them up 🧙‍♂️ One of my biggest takeaways from Refactoring UI 👍 What do you use for colors in your CSS? 🧐 Practice with this slider control 🤓 ⚒️ @reactjs 👉 codepen.io/jh3y/pen/gOwegKr via @CodePen
14
69
11
451
Dark mode all the things!
Replying to @donavon
Add Dark Mode to *your* app with the #ReactJS useDarkMode custom hook. Free for a limited time only! dwe.st/dm 👈 (Ok, free forever)
2
4
This has to be the BEST guide for setting up #VSCode for @Vuejs with #ESLint, #Vetur and #Prettier all working seamlessly. I've never been able to fully nail it until now. Tip: Don't install Prettier Ext - who knew! Thanks @VueMastery 🙏 vuemastery.com/blog/vs-code-…
3
6
35
I've been looking forward to this day for a very long time. So excited to see this finally go live. xitter.cf/tailwindcss/status/132…
47
34
17
900
React devs: try `npx create-vite-app --template react` - it's the same code of the default CRA template and Vite handles it just fine... except much faster ;)
17
109
11
699
Truth retweeted
📺Vite for @Reactjs Devs youtu.be/oJd9XzNIHzQ Playing around with @evanyou's new Vite build tool - it gets SO MUCH RIGHT with React Fast Refresh and @TypeScript! Dare I say it's.... blazing fast? ⚡
React devs: try `npx create-vite-app --template react` - it's the same code of the default CRA template and Vite handles it just fine... except much faster ;)
12
53
12
348
🤯 Free up GBs of node_modules in less than 30 secs. ❯❯ $ npx npkill I've deleted 50 GB+ so far. #OneDevMinute
15
99
14
623
Want to place an ion-input and ion-button next to each other? Check out this snippet I used recently for one of my projects. Pretty neat that @Ionicframework components can now be easily styled with CSS Shadow Parts.
2
11
41
My current favorite app stack: * Next.js deployed on Vercel * React/Redux/Redux-Saga * PWA over native mobile * RITEWay unit tests * TestCafe functional tests * @magic_labs auth * Firebase db
8
30
187
Hi ! Here's how to setup a full blown react application in 30 seconds with @parceljs 🤯. After watching, please comment below👇 and tell me why you still use webpack or create react app. ⛈️⛈️⛈️
12
22
2
73
Did you know there is an official Highcharts wrapper for React? Make your life easier and check out this tutorial! #reactjs #charts buff.ly/2KuwRcC
4
1