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.

Souk – A cool way to install Flatpak App on Linux.

While talking about the famous Snapcraft which is gaining some traction for the users of Ubuntu and Linux Mint as well as other derivatives for Ubuntu based distros out there. “Souk” a new way or rather a slick end to install or replace the apps on Linux via the GUI which is not to be confused with the Gnome software center or the Ubuntu Software Center in general. It is not a software replacement tool rather a very own way to install via Flatpak repos out there.

“Souk” meaning the (Arab bazaar or the marketplace) is built using the GTK4(gonna release very soon in the end of 2020). Also uses Rust programming language for the backend and it’s fast as per the user experience is concerned. The code can be found out on gitlab page here.
Some FAQ’s are answered here:

FAQ

-> What is the goal/scope of Souk?

Souk just wants to do one thing well – provide a Flatpak-focused app store. Not more – not less. To achieve this we’re using Rust and GTK4. We intend to support desktop and mobile devices, and use libhandy to build our adaptive interface.

-> Is Souk going to replace GNOME Software?

No. GNOME Software does a lot more things like doing firmware upgrades, managing packagekit packages, or doing complete OS upgrades. We don’t want to add such functionality in Souk.

-> Is Souk an official GNOME app?

No. Souk is an independent third-party application.

that’s all for now.

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.