bash-cheatsheet

 Drive Link to pdf: https://drive.google.com/file/d/1HwG_Y0q8_UWSLWCjYGZ5fpmU5LpUZ5b-/view?usp=sharing To learn more bash tricks, my fav website is tldp.org They have awesome examples too. https://tldp.org/LDP/abs/html/manipulatingvars.html

January 9, 2021 · 1 min · Ben Shaji

Discrete mathematics is awesome?

Yes, after a year, I finally decided to take Discrete Mathematics again as part of my university course. Tbh, I didn’t really enjoy it when I first came across it. But now I feel like it’s helping me think more logically. I also found a good playlist for learning it. If you ever want to jump into this, this will help. I thanked him via Twitter for this. If you’re bored, I think this will fill — or blow — your mind. If you’re free, take a look. Btw, I’ve got a few things to say about YouTube and why I might leave it soon…

August 12, 2020 · 1 min · Ben Shaji

TA-1053 NOKIA Mini Flash guide

What I did to my Nokia TA-1053: Started on stock Android 7 Updated to Android 9 Downgraded to Android 7 (required for bootloader unlocking) Upgraded back to Android 9 (after unlocking) Flashed TWRP (one of the trickier steps) Rooted with Magisk If your stock recovery has been overwritten, you can no longer install OTAs directly. To get back on track: Downgrade to stock Android 7.1 Unlock bootloader (if not already done) Install all available OTAs up to Android 9, including the July security patch Flash Magisk (if needed) HMD Global is unlikely to roll out Android 10 for this device. Security patches should still be fine. ...

July 31, 2020 · 1 min · Ben Shaji

Persistent start is important!

When I started blogging, I was changing my domain frequently. I was never satisfied with any of them. Finally, I settled on the techcraft.tk domain and used it for a very long time. I was more passionate about blogging back then than I am now. For some reason, I couldn’t keep it going. So, after a very long time, here I am — changed domain again to bensh4. I really liked this username and sorta wanted it everywhere, which is why I made the switch. I was worried about AdSense because of all the changes, but since I’d stopped blogging anyway, I didn’t stress about it too much. My advice for a new blogger (or any starter) would be: be really sure about what you’re doing and plan to stick with it. Choose something — a username, for example — and resist the urge to change it. ...

July 28, 2020 · 1 min · Ben Shaji

I learned not to run my nginx as root

I mostly use Android for my daily stuff rather than my laptop. But when I do use my laptop, I’ll rarely touch my phone. 🙃 I was running nginx in Termux on port 80 for some reason. Since SELinux is set to permissive mode, it wasn’t stopping me from doing that. To start a server on that port, I had to be root — so I started nginx as root, which means it was running with root privileges. That’s essentially a real root user on my host, able to access my files and anything else. Running it in Docker would at least be better. Or you could get more fine-grained control via SELinux, AppArmor, or Firejail with custom profiles for tighter security. I found a good article about this > here <. It’s a Medium article. ...

July 28, 2020 · 1 min · Ben Shaji

Generate HTML from DirTree!

This is the most convenient way I’ve found to generate an HTML output of your current directory. I took the HTML file and used it as my HTTP server’s index.html. It’s simple and elegant enough. tree -H YOURDIR -L 2OR3ORANY -C > file.html Video link Don’t forget to add the RSS

July 28, 2020 · 1 min · Ben Shaji

Thinking about leaving Twitter 🤔

I’m realising there’s so much noise on Twitter. I’m still there for some reason I can’t really explain. I could post my thoughts here on this blog even if I left the platform. But I’m only thinking about it for now — though I’ll leave one day for sure. Think about it: why do we even need that platform? For sharing thoughts and ideas? That’s what a blog is for. That’s what I believe, anyway. Back in the day, it was great to see so many people writing their own blogs — like personal diaries. Now everybody’s on Twitter and the rest. There’s a lot more I could say about this. Maybe my first podcast episode will cover it. ...

July 28, 2020 · 1 min · Ben Shaji

What is WebDav | How to implement it in Android

After a long break, I’m back ;-) Let’s talk about WebDAV — what it is and how to set it up on Android. WebDAV stands for “Web Distributed Authoring and Versioning.” It uses the HTTP protocol and is essentially an extension of HTTP that adds file management capabilities — create, move, copy, delete files on a remote server. In simple terms, it’s a file server you access through a URL. ...

July 23, 2018 · 1 min · Ben Shaji

Run Windows XP on android without Root

This tutorial will show you how to run Windows XP on an Android device without root, using Limbo — a QEMU-based PC emulator for Android. Prerequisites: Limbo APK: https://play.google.com/store/apps/details?id=com.playdead.limbo.full&hl=en Windows XP ISO: http://www.mediafire.com/file/044jjkysj3unuab/WinLite.iso Blank disk image: https://drive.google.com/file/d/0B1CTJ1RdPN_WWXlJOHB0MUktYW8/view Alternative: https://drive.google.com/file/d/0B7e707nzxn4cYUt6VEx2Y1NjM1k/view?usp=sharing NOTE: If the blank disk image has no file extension, rename it to blankdisc.img. Before proceeding, note your device’s RAM, chipset type, and processor. You can find these with an app like My Device. ...

June 2, 2017 · 1 min · Ben Shaji

New update for Groove music app on Windows 10 mobile store

Microsoft updated its Groove Music app on Windows 10 Mobile. The new update brings Fluent Design to the app — previously available to Windows Insiders — adding blurry backgrounds that look much better. Download Groove Music update

June 1, 2017 · 1 min · Ben Shaji