DevNitin
Tips | Tricks | C# | ASP.NET | JQuery | Javascript | SQL | Angular | Articles | Electronics
Oct 30, 2024
Oct 25, 2024
जब आप कंप्यूटर सायंटीस्ट का इंटरव्यू लेते है...
वा! तूने तो सब प्रश्नों का सही जवाब दिया. ये तूने कैसे कर लिया बे?
*Le Bala
सही पकडे हैं! सरजी आपने पिछले 5 सालों से जितने भी इंटरव्यू लिये उनसे बात की और सब प्रश्नों का मुल्यमापन कर लिया.
फिर मैने एक ऐसा प्रोग्राम लिखा जो आपके सब प्रश्नों का 80% सटीक उत्तर दे.
Manager:
वा! बढीयां है, लेकीन तूने तो बहुत बडी ठगी की है, मैं तुम्हे नहीं ले सकता
*Le Bala
जादा उडो मत सरजी, मैं मेरे AI BOT को परख रहा था...
//Console.WriteLine("nitinsawant.com");
Oct 24, 2024
'illegal instruction' on raspberry pi 0w while installing cloudflared
Considering the fact that you have installed Debian on `raspberry pi 0w`,
While setting up cloudflared tunnel on `raspberry pi 0w` we get following error
illegal instruction
workaround for fixing this issue:
Groundwork before execution
1. First we make sources.list modifyable
chmod 777 /etc/apt/sources.list
2. Add following entry in sources.list
deb [arch=arm signed-by=/usr/share/keyrings/cloudflare-main.gpg] https://pkg.cloudflare.com/cloudflared buster main
3. Add arm architecture to the system
dpkg --add-architecture arm
The execution
4. Install ARM version of cloudflared on your `raspberry pi 0w` as shown in above screenshot
curl -L --output cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-arm.deb
sudo dpkg -i cloudflared.deb
sudo cloudflared service install <connector-token>
Oct 11, 2024
Whenever two people talk, there are seven opinions
When two people talk, there are seven opinions
- P1's opinion about P2- P2's opinion about P1
- T's opinion about P1
- T's opinion about P2
- P1's own opinion about himself
- P2's own opinion about himself
- T's opinion about both P1 & P2
PS: P1 & P2 are the two people and T is third person
Oct 4, 2024
Increasing team engagement
At the end of that hectic work week, the team gets exhausted
featuring item about technology for increased team engagement, item can be:
- person
- gadget
- company
- article
Team meeting scenario
- all turn off their webcams and mute mic
- ask each person to think about volunteer for featuring something
- person 1 volunteers
- explains featured item by screen sharing
- from the audience ask one volunteer to criticize
- go to step 2 until all gets featured
- highlight one person’s featured idea at the end
PS: ask featured person to share webcam video too
Oct 1, 2024
Busyness contributes to happiness
Researchers found that those who'd spent 15 minutes walking ended up significantly happier than those who’d spent 15 minutes waiting.
Busyness contributes to happiness even when you think you’d prefer to be idle.
A recent study has suggested that there really is such a thing as too much free time
– and that our subjective well being actually begins to drop if we have more than five hours of it in a day.
As a dev if you feel I dont know what to do, you don't even realize that idleness is killing your mental state & making you unhappy
Conclusion
To recap, the universe has been fundamentally altered by this revelation.
So dont stay idle for longer time,
Dont stay longer in dark places for longer time
Avoid procrastination
Otherwise your happiness will drop to 0
Linux is the underdog that's gonna steal the show
Nowdays Linux can be easily installed on
1. Windows -> WSL
2. Android Mobile -> Termux, proot-distro
3. Cloud -> Google cloud shell
4. VM -> virtualbox
Too much procrastination because idleness?? dont want to choose either options??
Go investigate the mysterious device lurking in the corner,
hint: it has blinking lights, and check if it supports OpenWrt and install it.
Most devs will go to random OTT/YT or keep on scrolling those shorts/reels
that is also killing your mental state & you dont even realize it is continuously disturbing you.
Technology is saving you from profound levels of boredom and its a problem
devs should keep themselves idle for sometime but no longer than 5 hours,
software development is 80% thinking and 20% summoning those digital spirits with your keyboard prowess
Don't keep yourself busy watching that ott or listening to that music
Just do nothing for sometime, just breathe, live in present,
understand your surrounding in detailed manner,
After sometime your mind will be filled with void
Let it happen, dont label it as boredom.
after random interval your mind will wakeup from deep sleep state and you will feel productive
and when you are at that state you can do the impossible. go do that impossible thing now!
PS: The author is not a software engineer, he is computer scientist
Sep 30, 2024
Sep 28, 2024
own home-lab on-premise micro cloud on Android
Aim
At the end of this article you will be running your own small scale on-premise cloud on Android
Requirements
- Android device
- Cloudflare account
- Domain name
- Knowledge of Linux (optional)
TLDR;
- Install termux on your Android device
- Create Cloudflare account
- Get your domain name and point nameservers to Cloudflare
- Install any proot-distro on Android using Termux
- Point domain to your Linux using Cloudflare zero trust
The Method
--TODO--
Conclusion
Unlimited possibilities when you run linux on your mobile phone and point cloud to your linux running on mobile
Recommended Hardware
--TODO--
References
--TODO--