Skip to content

Instantly share code, notes, and snippets.

@htasirx
htasirx / IP-Blocker-in-cPanel.md
Last active February 24, 2023 16:18
How to Use the IP Blocker in cPanel

How to Use IP Blocker in cPanel - Step-by-Step Guide

If you're running a website or managing a server, you may encounter situations where you need to block certain IP addresses from accessing your site or server. This is where the IP Blocker feature in cPanel can come in handy. In this tutorial, we'll show you how to use the IP Blocker feature in cPanel to block specific IP addresses from accessing your website or server.

Blocking an IP address in cPanel

Step 1: Login to cPanel First, log in to your cPanel account. You can access cPanel by going to yourdomain.com/cpanel or by logging in through your web hosting provider's control panel.

Step 2: Access the IP Blocker feature Once you're logged in to cPanel, navigate to the Security section and click on IP Blocker.

@htasirx
htasirx / What-is-Web-Hosting.md
Created February 2, 2023 18:43
What is Web Hosting?

Web hosting is a service that allows internet users to access websites from anywhere in the world by providing servers, data centers, and space on those servers. Depending on the web hosting service, these servers can host one or more websites and be set up with different operating systems for shared, dedicated, or VPS hosting.

When a person wants to view a website, all they have to do is type the web address into their browser. The computer then connects to the server, where all of the website's files (HTML, CSS, images, photos, etc.) are stored in a folder. This server sends these files to the user's browser, allowing them to view the website. In order to build a website, one needs a domain and hosting account.

A domain can be purchased as an add-on from a domain registrar, or you can purchase both the domain name and website hosting from the same company.

However, if you want to use a different

@htasirx
htasirx / What is apache server used for.md
Created February 2, 2023 09:36
What is apache server used for?

Apache Server is mainly used for hosting web content including websites and applications. Apache Server can also be used for running scripts written in various languages like PHP, Perl and Python as well as providing secure access to databases via SQL.

It is also capable of serving a variety of multimedia formats such as audio, video and streaming media. In addition, it provides features that allow administrators to control access rights, manage virtual host servers and configure server-side scripting technologies such as AJAX or CGI.

@htasirx
htasirx / Zoom-vs-Google-Meet.md
Created February 1, 2023 12:55
Zoom vs. Google Meet - Which is better for 2023

The online meeting landscape has been completely revolutionized with the introduction of video conferencing apps such as Google Meet and Zoom. Both of these popular apps have become essential tools for businesses, educational institutions, and individuals who need to collaborate remotely. But how do they compare? In this blog post we’ll take a look at the features, pros and cons, and some frequently asked questions (FAQs) about Google Meet vs. Zoom.

Features:

Google Meet provides users with excellent audio and video quality, screen sharing capabilities, integrated real-time transcription services, breakout rooms for smaller groups within larger meetings, support for dial-in participation from landlines or mobile phones without internet access, end-to-end encryption for security purposes ,and even automated noise cancellation technology to reduce background noise during calls. As an added bonus it also offers integration with G Suite products like Gmail and Calendar so you can easily create me

@htasirx
htasirx / Bandwidth-and-Data-Transfer.md
Created February 1, 2023 06:50
What is Bandwidth and Data Transfer?

If you’re looking for web hosting, it is important to understand the differences between bandwidth and data transfer. While both are related to how your website functions on the internet, they are not the same thing. Knowing these distinctions can help ensure that you make a wise choice when selecting a hosting provider.

Bandwidth refers to the amount of data that your site is allowed to send and receive at one time. It is measured in bits per second (bps) or megabits per second (Mbps). If your site receives more traffic than its allotted bandwidth, it will be slower because there isn't enough capacity to handle all of the requests.

Data transfer, on the other hand, measures how much information is transferred from your website to visitors over a period of time. This is usually measured in gigabytes (GB) or terabytes (TB). Data transfers occur each time someone downloads something from your website or accesses multimedia content such as images or videos.

When [choosing a web hosting provider](h

@htasirx
htasirx / DigitalOcean-coupon-codes.md
Last active February 1, 2023 21:29
DigitalOcean Promo Code 2023 - $200 credit for 60 days - Free trial

digitalocean_logo

DigitalOcean Promo Code – 100% / 1 Year Off Your Orders

Last updated: Jan 15, 2023

DigitalOcean is one of the largest VPS hosting platforms in the world. DigitalOcean provides vps services to nearly two million subscribers in 195 countries. DigitalOcean's servers provide the fastest vps services from 13 locations on 4 continents. If you have DigitalOcean promo code, you can get 200$ free credit for 2 months to create VPS Droplet

Top DigitalOcean Online Deals & Discount Codes for 2023

@htasirx
htasirx / hello-bnzix.md
Created November 21, 2021 15:46
test test1 test2

hello dev

@htasirx
htasirx / npm.md
Last active January 30, 2020 18:03
npm test

echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc

. ~/.bashrc

mkdir ~/local

mkdir ~/node-latest-install

cd ~/node-latest-install

@htasirx
htasirx / node-and-npm-in-30-seconds.sh
Created January 30, 2020 18:01 — forked from isaacs/node-and-npm-in-30-seconds.sh
Use one of these techniques to install node and npm without having to sudo. Discussed in more detail at http://joyeur.com/2010/12/10/installing-node-and-npm/ Note: npm >=0.3 is *safer* when using sudo.
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl https://www.npmjs.org/install.sh | sh
@htasirx
htasirx / readme.md
Created January 30, 2020 17:58 — forked from coolaj86/how-to-publish-to-npm.md
How to publish packages to NPM

Getting Started with NPM (as a developer)

If you haven't already set your NPM author info, now you should:

npm set init.author.name "Your Name"
npm set init.author.email "you@example.com"
npm set init.author.url "http://yourblog.com"

npm adduser