How to protect your .MP3 from downloading in your OTT project

Securing your content is a crucial aspect, when it comes to downloading a media or a muti-media files from prying eyes of your users specially on an OTT based project if you’re working on to. Now this can get tricky and might cost you some money if you make up you’re mind in buying some plugins from third party vendors. The neat trick mentioned below helps for any .mp3 files or an .aac file, song which you want it to be secured and by no means want them to be downloaded by your clients or users/readers/listeners etc.

The code is mentioned below on my GitHub repo as well as screengrab here, now this is again for hard coded from scratch for OTT platforms only.

here is the website:

https://akupedia.github.io/mp3dang/

the full code can be inspected here for reference:

https://github.com/akupedia/mp3dang/blob/master/code.html

Behold, a Giant I’m I, prevent piracy and be safe!

How to make a simple yet powerful Blog powered by Jekyll

We all have seen the power of Static Site Generators also known as SSG’s. They are lightning fast, pretty friendly on the SEO as well as super easy to use and customize. Today we’d be talking of the most preferred SSG know as Jekyll which is on Ruby programming language and let us see how did I get my first ever hobby GitHub Jekyll powered blog up and running in no time.

(Before I begin do read the official documentation as this shall make things super easy for you). Firstly clone any given theme. This can be done by selecting an official free theme from the Jekyll’s collection/showcase website, here http://jekyllthemes.org/

Second, if possible try and hunt for a GitHub or GitLab link where the repositories are hosted this makes the kickstart pretty easy.

Third with a little knowledge of HTML and markdown create posts and edit straight away from the _posts folder on the fly with the GitHub editor which makes perfect sense for me at least for my content publishing chores. And finally upload all the files on your very own free 0$ repository on GitHub or GitLab, yay!

Here is a nifty screengrab from the source:

For more details you may see this

https://jekyllrb.com/docs/installation/

For my very own setup of the hackers theme for my blog feel free to visit here:

https://github.com/akupedia/akupedia.github.io

This is my final showcase or the end result of what I’ve achieved.

Happy h@cking!

CloudLinux investment for more than a Million Dollars into CentOS clone

I’d stumbled upon this news sometime ago and thought of jotting down few points that rushed into my mind. Let’s first of all see who is CloudLinux and what bet are they making in this regard.

CloudLinux OS is a Linux distribution marketed to shared hosting providers. It is developed by software company CloudLinux, Inc. CloudLinux OS is based on the CentOS operating system; it uses the OpenVZ kernel and the rpm package manager. CloudLinux was founded in 2009 by Igor Seletskiy.

As you just read this it’s clear there bread and butter seems CentOS which is not only the base but also a backbone which indeed makes sense when such a decisions are to be made in order to persuade the prophecy which CentOS beholds from what a giant am I from it’s parent company Red Hat Inc. from where it derives its source code. Now let us read some of the statements made over the internet.

When Red Hat, CentOS’s Linux parent company, announced it was “shifting focus from CentOS Linux, the rebuild of Red Hat Enterprise Linux (RHEL), to CentOS Stream, which tracks just ahead of a current RHEL release,” it lost a lot of friends. CentOS co-founder, Gregory Kurtzer, immediately announced he’d create his own RHEL clone and CentOS replacement: Rocky Linux. He wasn’t the only one. CloudLinux also proclaimed it would create a new CentOS clone Lenix. And, CloudLinux shall pour money into this perhaps a more than a million USD.

Now do note here that Lenix is not something which is a complete and still under development just like Rocky Linux which I’d write about here. Lenix is just a placeholder the name shall be disclosed later when things brew up in Linux world. The point which I wanna make here is that the shift if it goes well should be absolutely seamless and painless here is what is being surfaced. Igor Seletskiy, CloudLinux CEO and founder, explained, “Red Hat’s announcement has left users looking for an alternative with all that CentOS provides and without the disruption of having to move to alternative distributions. We promise to dedicate the resources required to Project Lenix that will ensure impartiality and a not-for-profit community initiative. CloudLinux already has the assets, infrastructure, and experience to carry out the mission, and we promise to be open about the process of developing Project Lenix.” […] Project Lenix will be a free, open-source, community-driven, 1:1 binary compatible fork of RHEL 8 (and future releases). For CentOS users, the company promises Lenix will provide an uninterrupted way to convert existing CentOS servers with absolutely zero downtime or need to reinstall anything.

-> via ZDNet, Red hat blogs and reddit.

Enable WiFi in Fedora laptops

This issue has been persisting since long for most of the Fedora users and let it be any version most of the time WiFi does not get enabled automatically, the best solutions which I’ve found as aggregated over the internet on my own re-search are as follows:

you can check this here

lspci -vnn | grep -i net

if you have above driver you can solve problem by following

yum install b43-fwcutter

or

you may need to install rpmfusion repo to install b43-fwcutter in your fedora version.

Hope this will help you. Note it is also a best practice to check on the live usb whether Wifi is working or not you can also

dnf upgrade

the whole system, trust me it helps incase you’re location is different say India then you can always opt-in for third party repos over the rpm fusion via the software center. This reddit post has some more light as follows:

sudo dnf install -y broadcom-wl kernel-devel
sudo akmods --force --kernel `uname -r` --akmod wl
sudo modprobe -a wl

Happy Fedora networking!

How to find where the websites is hosted, IP, owner etc, ports open and the rest info – Google Chrome extension

Well interested in finding the lurking information for any website which you need the maximum info of that or from it?, well you’re in luck for most of the time in-case you use this cool plugin which shall many times come handy and is basically a info sec tool in reality but can also be used for productivity purpose. Meet Shodan.

The Shodan plugin tells you where the website is hosted (country, city), who owns the IP and what other services/ ports are open.

The Shodan plugin for Chrome automatically checks whether Shodan has any information for the current website. Is the website also running FTP, DNS, SSH or some unusual service? With this plugin you can see all the info that Shodan has collected on a given website/ domain.
Do note that this plugin is somewhat outdated but does the job most surprisingly well indeed.

SSH via browser – Google Chrome

Wanna geek around SSH and use a browser for that, well you’re on luck and this is not something new, few folks working at Google have found out the way using a SSH or a secure shell via or with a browser is possible and the simplest way to do this is through using an extension. We shall consider Google Chrome browser and install the extension via the Chrome Web Store.

Terminal emulator and SSH and SFTP client. The name here says it all. Find this cool extension fro Google Chrome here…

https://chrome.google.com/webstore/detail/secure-shell-dev/algkcnfjnajfhgimadimbjhmpaeohhln

Happy SSH’ing!!! meanwhile let me know which other SSH clients you guys prefer on Google Chrome or Firefox, comments are open below.

Why Linux is a preferred choice for Techies

Talking about nerds and geeks whomsoever concern 😉 Linux is definitely a way to go for a plethora of reasons. The free and open source nature and a strong code base makes it all the lovable reasons for a wannabe techie to adore Linux. Now wait I know there are plenty of Mac folks out there who are also techies and perhaps Windows users too but we are not considering this here for time being at-least as firstly this is a blog powered on open source tech and written on Linux OS and secondly Mac’s are shiny exhilarating flamboyant toys which costs too much and hey those Windows well they are Windows after all and take your call now, we ain’t talking on Mac and Windows, only Linux here folks so here we go:

Flavors, yummy makes me hungry:

When we talk about Linux and it’s ecosystem, boy there are not one or two but perhaps gazillions of flavors which we know and call them as distros or distributions in a way. From forks to respins, we have all the fancy bells and whistles which keep on blowing and sparking finesse here and there in the so called Linux ecosystem.

Choices, well I’ve to think and Google perhaps

Having the freedom of choice is great but techies are smart and they do some re-searching here and there over the internet and find the best or the most preferred way of there computing chore thing well suited for them and here is were we know Linux wins. From desktop choices to packages, front-ends and back-ends, well i mean the look and feel right from the terminal windows till the GUI and rest nitty gritty.

Beautiful and Ugly perhaps, bring em’ on

Well there are distros which are aesthetically so beautiful and pleasing to the eye. And there are some of them which does the job well and are oriented for specific purposes of just getting the task/work done for the end user and does little or maybe nothing to make things pleasing but finally the Linux kernel r0cks!

Faster then the fastest

Yay, Linux is fast, damn fast IMO it’s fastest OS the world has ever seen. Till this date Windows stands no match in terms of speed and i know Mac’s are blazing fast but they are Unix and matured than Linux, wait Linux still wins the race and leads here again this is my opinion here folks.

Security, well R0ck solid isn’t it

Who can argue on Linux security, well i can’t after using it for like a decade or more little bit. It’s just too good and no match in front of other technologies which techies would prefer in there computing chores where freedom and security is just unparalleled and goes pretty smooth.

The Future is here, it’s Linux or a fork of this?

Well this might be my prophecy in my opinion here. Even though things evolve with time Linux key principles shall always be implemented and considered for it’s true openness and transparency.

Conclusion:

Linux Rocks for me and shall always be, i adore this piece of tech and use it in my daily driver computing chore and I’d never felt that anything would or shall replace it sooner or later, but I’m open to my readers thoughts and constructive feedback on this which shall be appreciated.

Happy LinuXing!