How to Use GitHub for Hosting JavaScript and CSS files through Rawgit

Are you Facing problem in hosting JavaScript or CSS for your blogger website? Today in this article we are going to explain How to Host Free JavaScript and CSS For blogger on Github.

Use GitHub for Hosting JavaScript and CSS files through Rawgit

This is a great challenge to find a suitable free CDN (Content Delivery Network) with unlimited bandwidth. As a web developer and Blogger we often host JavaScript and CSS file on hosting service provider site. But you won’t do it freely with unlimited bandwidth. Formerly we has hosted our JavaScript files on Google Code but unfortunately Google stopped their service and they were open a new door for us that is called Google Drive.But similarly Goggle also discontinued serving content via Google Drive host.So we should find another way to host our JavaScript and CSS file in another server.

I have found a better alternative which is called Github. But you can host only JS and CSS file on Github but can’t load it on your Website. And for loading JS and CSS files you have to load through RawGit. RawGit serves raw files directly from GitHub with proper Content-Type headers.

However our main objective is to host JavaScript and CSS files on GitHub and load it on our Blog. But for this you can to go through 4 steps-

  1. Sign up With GitHub
  2. Creating a Repository on GitHub
  3. Creating a GitHub Project to host JS and CSS files
  4. Adding GitHub file or gist URL on RawGit for serving file on our Website.

So the total process looking little lengthy but don’t worry this is very easy. I will discuss it below step by step.

How to create an account on GitHub?


Step 1. First visit the Github
Step 2. Now Click On Sign Up Button.
Step 3. Now Create Your Username , Add email Address and password for creating account on Github.
Step 4. You will head to “Step 2” for choosing your Plan and from there select “Unlimited public repositories for free.” from the list. After that, click “Continue” button.
Step 5. Now Go to your email and activate the Github Account.

How to Creating a Repository on GitHub?


Step 1. Go to your “GitHub Dashboard” and click “Create new… “, “+” icon from top right corner to select “New repository”.
Step 2. You will head to “Create a new repository” page and write a name under “Repository name” field. Write your repository description under “Description” field but this is optional.
Step 3. Select radio button where written “Public”, thus anyone can see your repository.
Step 4. Put tick on “Initialize this repository with a README” option. As well as add Git ignore and License on your repository by using “Add .gitignore” & “Add a license” dropdown option.
Step 5. Finally click “Create repository” to go next level.

How to create a GitHub Project to host JavaScript or CSS files?


Step 1. Click “Create new file” from the top.
Step 2. Now you will see the Code Editor under “Code” tab.  First write your file name with appropriate extension like myfile.js or myfile.css and below “<>Edit new file” add your JavaScript or CSS code.
Step 3. After that scroll down and locate “Commit new file”, simply click on it.
Step 4. You see in example that myfile.js file has created click on the myfile.js file and copy the URL address from your browser address bar.  It will look like below.
https://github.com/USERNAME/RepositoryName/blob/master/myfile.js
So we have successfully host and published our JavaScript or CSS file in GitHub.

How to link the GitHub default URL with RawGit CDN for serving file on our Website


Step 1. First of all, navigate to Rawgit official website.
Step 2. Then, paste the default GitHub Link (which you copied on browser address bar [Part 3 & Step 4]) on the first input field.
Step 3. RawGit will provide you two different links first one for limited traffic and the second one for unlimited traffic or Production. Then just copy or use the 2nd link which is for Production.
Now your JavaScript file is ready to use on your blogger blog or website.

How to use hosted file from RawGit to blog or website?


After hosting file on GitHub and getting RawGit URL from your JavaScript or CSS file the URL would be like below-
https://cdn.rawgit.com/USERNAME/RepositoryName/master/myfile.js
Now you would like to use this JavaScript file on your blog or website. This is really easy to add GitHub hosted file on blog or website to make it work. But for hosting JavaScript file on blog or website the above JS file URL should write like below.
<script src="https://cdn.rawgit.com/USERNAME/RepositoryName/master/myfile.js" type="text/javascript"></script>

I hope now it is clear to you that how we can host any file on GutHub and make it work on our blog or website.

How to use QcomDloader Tool

Do you want to use QcomDloader Tool ? if yes then you are at right place. Today we are here with a guide on How to use QcomDloader Tool.These are the instructions on how to use QcomDloader Tool to flash stock firmware on any Qualcomm Smartphone and Tablets.
Requirements: You need to have Qualcomm Stock Firmware of your Device. If in case you have already downloaded the Stock Firmware of your device, then follow the guide below.

Use QcomDloader Tool to Flash Firmware

Step 1: Download and extract QcomDloader Tool on your computer. After extracting, you will be able to see the following files:

qcomdloader file

Step 2: Now, Install the Qualcomm USB Driver on your Computer (if you have already installed the Qualcomm USB Driver on your computer then SKIP this step).

qcomdloader driver

Step 3: Once you have successfully installed the Qualcomm USB Driver, then Connect your device to the computer (using USB cable).

connect android device computer

Step 4: Once your device is connected to the computer, Open QcomDloader.exe.

qcomdloader open

Step 5: Once, QcomDloader Tool is launched, you will be able to see the following interface:

QcomDloader Tool

Step 6: Now, Click on the Load Button and locate the Qualcomm Firmware of your Device.

Qcomdloader Load

qcomdloader firmware folder

Step 7: Now, Click on the Settings Button and Select Download Mode as Upgrade.

qcomdloader settings

Qcomdloader Download Mode

Step 8: Under Download Settings, Tick Validate Downloaded ROM.

qcomdloader validate

Step 9: Now, Leave the eMMC Programmer, Raw program, Patch0 Box as it is. But, you may need to change it, if the name of respected file is not same as written in the Box.

For example: If you Open the Qualcomm Firmware Folder (assuming you have already downloaded the firmware), you will find various files of which 3 main files are read by QcomDloader to Flash the extire package i.e prog_emmc_firehose_8916.mbn, rawprogram_unparse.xml, patch0.xml.

If in case the eMMC file name is different, then simply write the exact name in QcomDloader, so that it can recoginize the firmware.

Step 10: Now, Under chipset ID write the Chipset number (here eMMC file name if prog_emmc_firehose_8916.mbn of which 8926 is the Chipset ID).

qcomdloader chipset

Step 11: Now, Click OK to exit the configuration interface.

qcomdloader setting ok

Step 12: Now, Click on Start Button to begin the Flashing process.

qcomdloader start

Step 13: Once, Flashing is completed you will be able to see Green Passed message.

Qcomdloader Passed
Keep in Mind:
[*] Compatible With: It supports Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 (x32 and x64 bit).
[*] Supports: QcomDloader Tool only supports Qualcomm Smartphone and tablets. If your device is having other chipset than Qualcomm then it will not work for you.
So this was our guide on How to use QcomDloader Tool, I hope the methods given above helped you in using QcomDloader Tool.

How to Install ADB Driver

Do you want to Install ADB Driver on your PC ? if yes then you are at right place. Today we are here with a guide on How to Install ADB Driver.

connect android device computer

Requirements: In order to install the Universal ADB Driver completely on your Computer, you need to have a Android Device.

How to install Universal ADB Driver


These are the instructions to install Universal ADB Driver (based on Google ADB Driver) on Windows Computer in few clicks only.

Step 1: Connect your android device to the computer with USB Debugging enabled.

Step 2: Download and extract Universal ADB Driver on your computer. After extracting, you will be able to get the setup file.


Step 3: Now, Open the Setup file.

Step 4: Once you have launched the ADB Driver setup, it will automatically detect your device and show it in the device list.

Step 5: Now, Click on the Install button to begin the installation process.

Step 6: During the installation process, you will be able to see Windows Security Dialog Box.

Step 7: Click on Install this driver software anyway to continue.

Step 8: Once, installation is completed you will be able to see the Installation Success message with green process bar.

Manually install Google ADB Driver


These are the instructions to manually install Google ADB Driver on Windows Computer (including Windows XP, Vista, Windows 7, Windows 8, 8.1 and Windows 10).

Step 1: Download and extract Google ADB Driver on your Windows Computer.


Step 2: Now, On using your Computer Keyboard Press Win + R key to launch Run Command.

Step 3: Once, run command is launched, type devmgmt.msc and Press on OK Button to launch Device Manager.

Step 4: Once, Device Manager is launched, Click on your computer Name.

Step 5: Now, Click on Action Menu and Select Add Legacy Hardware.

Step 6: In the Add Hardware Wizard > Click on Next to Continue.

Step 7: Now, Select Install the hardware that I manually select from a list (Advanced) and click on Next to Continue.

Step 8: Now, under Common hardware types > select on show all devices and click Next to continue.

Step 9: Now, click on Have Disk and using the browse button locate the extracted Google ADB Driver (android_winusb.inf) that you have downloaded in Step#1.

Step 10: Once, your driver is listed in the blank area, click on Next to continue.

Step 11: Now, again click on Next to continue.

Step 12: Lastly, Click to finish button to close the Add Hardware Wizard.

Above, you can see the Google ADB Driver is installed and listed in the Device Manager. Which means you can now connect your android device to the Windows Computer without any issue.
Keep in Mind:
[*] If you are trying to connect your device to the computer after installing the Google ADB Driver, then try to connect after enabling the USB Debugging on your Android Device.
[*] Google ADB driver is a Universal Driver which supports almost all the Android Device in the market.
[*] Compatibility: Universal ADB Driver Setup supports Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 (x86 or x64).
[*] Known Bug: Universal ADB Driver v1.0 Setup doesnt detect the device if it is added after starting the setup. We have to close the Setup first then restart it again to get the device detected by the setup or try the latest version.
So this was our guide on How to Install ADB Driver, I hope the methods given above helped you.

How to Flash Stock Rom using Smart Phone Flash Tool

SP flash tool is an application which is mainly help you to flash Stock ROM, Custom recovery and fixing in some extreme cases ( firmware update, Flash recovery, unbrick bricked android device etc.). SmartPhone FlashTool is working with MediaTek Android smartphones (MTK based).

SP flash tool

These are the instructions to Flash Stock Rom or any custom rom using Smart Phone Flash Tool (SP Flash Tool) on Windows Computer.

Requirements: Your Android Smartphone should have at-least 40-50 percent of battery to perform the Flashing Process.

Flash Stock Rom using Smart Phone Flash Tool


Step 1: Download and install Android USB Driver on your computer. In case Android USB Drivers are already installed on your Computer then skip this step.

Step 2: Power Off your Android Smartphone and remove the Battery (if it is removable).

Step 3: Download the Stock Rom or Custom Rom that you want to Flash on your Android Smartphone and extract it on your Computer.

Step 4: Download and Extract Smart Phone Flash Tool on Your Computer. After Extracting you will be able to see the following files:

Smart Phone Flash Tool Extracted Files

Step 5: Now Open Flash_tool.exe (you will find this from the extracted files in Step#6).

Open SP Flash Tool

Step 6: Once Smart Phone Flash Tool is launched, Click on the Download Tab.

Step 7: In the Download Tab, now click on the scatter-loading button.

Smart Phone Flash Tool

Step 8: Now, Locate the Scatter File (you will find the scatter file in the Stock rom folder).

Locate Scatter File in SP Flash Tool

Step 9: Now, Click on the Download Button to begin the Flashing Process.

Begin Stock Rom Flash Process

Step 10: Now, Connect your Smartphone to the Computer using USB Cable (without battery- if it is removable). After connecting the device to the computer Press Volume Down or Volume Up key, so that your computer easily detect your smartphone.

Step 11: Once Flashing is completed, a Green Ring will appear.

Green Ring in Smart Phone Flash Tool

Step 12: Close the Smart Phone Flash Tool on your computer and disconnect your Android Smartphone from the computer.
Congratulations, Now your Android Smartphone is successfully running the Stock Rom you have Downloaded.
Keep in Mind:
[*] The above tutorial only works with the Stock firmware or Custom Rom which comes with the Scatter file in it (basically mediatek devices).
[*] Backup Please: Take a backup of your important data before using the Smart Phone Flash Tool as because during the flashing process your personal data will be removed permanently.
So this was our guide on How to Flash Stock Rom using Smart Phone Flash Tool, I hope the methods given above helped you.

How to install Android CDC Driver Manually

Do you want to install Android CDC Driver Manually ? if yes then you are at right place. Today we are here with a guide on How to install Android CDC Driver Manually.

install Android CDC Driver

These are the instructions to install Android CDC Driver on Windows Computer, including Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10.

How to install Android CDC Driver


Step 1. Download and Extract Android CDC Driver on your Windows Computer.

Step 2. Now, Open Device Manager on your Computer (to open device manager > Press Win + R to launch Run Command > In Run Command Window type devmgmt.msc and Hit OK Button).

Step 3. Once Device Manager is Launched, Click on your Computer Name.

Step 4. Now, Click on Action menu and Select Add Legacy Hardware.

Step 5. In the Add Hardware Wizard, Click on Next Button.

Step 6. Now, Select Install the Hardware that I manually Select from a list (advanced) and Click on Next Button.

Step 7. Now, under common hardware types > select on show all devices and click Next Button.

Step 8. Now, Click on Have Disk Button > Locate the Android CDC Driver (Android_Gadget_CDC_driver.inf) on your Computer.

Step 9. Once your driver is listed in the blank area, click on Next to continue.

Step 10. Now, Again Click on Next Button.

Step 11. Now, you will be able to see Windows Security Dialog Box. Under Windows Security Dialog Box, Select Install this driver software anyway.
Now, device manager will install the Android CDC driver on your computer (may take 1-2 minutes only).

Step 12. Now, Click on Finish button to close the Add Hardware Wizard.

Step 13. Below you can see the Android CDC driver is installed and listed in the device manager.

So this was our guide on How to install Android CDC Driver Manually, I hope the methods given above helped you in installing Android CDC Driver.

How to Install Android VCOM Drivers Manually

Do you want to Install Android VCOM Drivers Manually ? if yes then you are at right place. Today we are here with a guide on How to Install Android VCOM Drivers Manually.

Android mtk drivers

These are the instructions to install Android VCOM Driver on Windows Computer, including Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10.

Download MediaTek USB VCOM drivers
Click Here

How to Install VCOM Drivers

  1. Open Device manager from My computer. Click on any item & Goto Actions > Add legacy hadware.
  2. Now, Press next & select Install drivers manually. 
  3. Press next & click on Have disk.
  4. From the browse option, select the VCOM drivers as per your OS.
  5. Once its done. You will see a screen similar to this:

SP Flash tool VCOM Drivers installation

Once you are done with the Installation part, goto device manager & you'll find a device similar to this:

SP Flash tool VCOm Drivers

So this was our guide on How to Install Android VCOM Drivers Manually, I hope the methods given above helped you in installing Android VCOM Drivers.

How to use Qualcomm Flash Image Loader (QFIL)

Qualcomm Flash Image Loader (QFIL) is a small application that allows you to flash stock firmware on Qualcomm Smartphone and tablets. These are the instructions on How to use Qualcomm Flash Image Loader (QFIL) tool to flash stock firmware on any Qualcomm Device.
Requirements: This tool only works on Qualcomm Device only. If in case you are having a device which is not powered by Qualcomm Chipset then this will not work for you.

Use Qualcomm Flash Image Loader (QFIL)


Step 1: Download and install Qualcomm USB Driver on your Computer (if you have already installed the Qualcomm USB Driver on your Computer then SKIP this step).

Step 2: Download and extract Qualcomm Flash Image Loader (QFIL) on your computer. After extracting, you will be able to see the following files:

qfil files

Step 3: Now, Open QFIL.exe.

qfil launch

Step 4: Once QFIL is launched, you will be able to see the following screen on your computer:

Qualcomm Flash Image Loader (QFIL)

Step 5: Now, Switch Off your Smartphone or Tablet.

power off android

Step 6: Once your Device is Switched Off, Press and Hold Volume UP Key and Connect the Device to the Computer using USB Cable.

Step 7: Now, In QFIL, Click on Browse Button and locate the Firmware (.mbn).

qfil browse

qfil locate

Step 8: Once, you have added the firmware file, QFIL will automatically load the rest of the firmware data.

Step 9: Now, Click on the Download button to begin the Flashing Process.

qfil download

Step 10: Flashing Process may take upto 10-15 minutes to complete.

Step 11: Once Flashing process is completed your device will be reboot automatically.

Thats It, We are done!. Now disconnect your device from the computer and setup everything on your device to use it.
Tips:
  • Download Button Not Appearing? Download button will only become active when your device is connected properly. Make sure you have installed the Qualcomm Driver and connected the device to the computer by Holding the Volume UP key.
  • Take a backup of your important data before using the QFIL Application, as your personal data will be deleted after flashing the stock firmware using QFIL Application.

How to Make Babycorn Jhalfrezi

Babycorn Jhalfrezi

Prep Time : 6-10 minutes
Cook time : 16-20 minutes
Serve : 4
Level Of Cooking : Medium
Cuisine : Bengali
Course : Veg

-: Ingredients :- 

Babycorn halved1 cup
Salt to taste
Turmeric powder ¾ teaspoon
Oil 2 tablespoon
Dried red chillies broken3-4
Cumin seeds 1 teaspoon
Ginger cut into thin strips1 inch
Green chillies finely chopped3
Onions sliced2 medium
Green capsicums cut into thin strips1 medium
Tomato cut into thin strips1 medium
Red chilli powder 1 teaspoon
Tomato ketchup 1½ cup
Paneer (cottage cheese) 200 grams
Vinegar 1 tablespoon
Fresh coriander sprigs 10-12

-: Nutrition Info :-

Calories : 1198
Carbohydrates : 79.7
Protein : 51.6
Fat : 74.7

-: Method :-

Step 1 :- Boil 4-5 cups water in a non-stick pan, addbabycorns, salt and¼ tsp turmeric powder and cook for 3-4 minutes. Strain and put them into a bowl.
Step 2 :- Heat oil in a non-stick pan, add dried red chillies and cumin seeds and sauté till thechillies are crisp. Add ginger, green chillies and onions and sauté tillonions are translucent.
Step 3 :- Add tomato and capsicum strips, red chilli powder and ½ tspturmeric powder and toss. Add boiled babycorns, tomato ketchup and salt and mix well. Cut cottage cheese into batons and add and mix. Add vinegar and toss.
Step 4 :- Finely chop coriander sprigs and add and mix well. Cook for 2-3 minutes
Step 5 :- Transfer intoa serving plate and serve hot.

Tags: Babycorn Jhalfrezi Recipe - This popular dish from Bengal has babycorns and cottage cheese cooked with some simple masalas.

How to Make Paneer Tikka Masala

Paneer Tikka Masala

Prep Time : 26-30 minutes
Cook time : 26-30 minutes
Serve : 4
Level Of Cooking : Easy
Cuisine : Punjabi
Course : Veg

-: Ingredients :-

Paneer (cottage cheese) cubed200 grams
Onions 3 large
Tomatoes 3 large
Green capsicum 1/2 medium
Hung yogurt 1/2 cup
Fresh cream 1/2 cup
Ginger cut into juliennes 1 inch piece
Green chillies slit2
Mustard oil 3 tablespoons
Red chilli powder 2 teaspoons
Turmeric powder 1/4 teaspoon
Garam masala powder 1 1/2 teaspoons
Coriander powder 1 tablespoon
Lemon juice 1 1/2 tablespoons
Oil 2-3 tablespoons
Salt to taste
Dried fenugreek leaves (kasoori methi) 1 teaspoon
Ginger garlic paste 2 tablespoons
Cumin seeds 1 teaspoon
Cashewnut paste 1/2 cup
Fresh coriander Finely chopped for garnishing

-: Method :- 

Step 1 :- In a bowl take yogurt, one teaspoon red chilli powder, salt, one-fourth teaspoon dried fenugreek leaves, one tablespoon ginger garlic paste, one tablespoon lime juice, half teaspoon garam masala powder and two table spoons of mustard oil. Whisk well and keep aside.
Step 2 :- Cut paneer into cubes, cut onion into one inch pieces and separate the layers, cut one tomato into half, remove the pulp and cut into cubes.
Step 3 :- Add the cut capsicum, onions and tomatoes to the yogurt mixture. Mix well. Add paneer cubes and mix gently. Keep aside to marinate.
Step 4 :- In a pan heat two tablespoons of oil. Add cumin seeds and 2 finely chopped onions to the pan. Cook for seven to eight minutes or till onions start browning.
Step 5 :- Skewer Pieces of onion, tomato, capsicum and paneer on the satay sticks.
Step 6 :- Add one tablespoon ginger garlic paste to onions. Sauté for a minute.
Step 7 :- Add two finely chopped tomatoes and cook for five minutes.
Step 8 :- Heat 2 teaspoons oil in a grill pan, place the paneer skewers on it and cook for two minutes on each side.
Step 9 :- To the onion tomato masala, add one teaspoon chilli powder, one tablespoon coriander powder, half teaspoon garam masala powder, one-fourth teaspoon turmeric powder and salt. Mix well.
Step 10 :- Add ginger juliennes, slit green chillies and cashewnut paste to the pan. Mix well.
Step 11 :- Add half cup water and mix well. Add fresh cream and mix.
Step 12 :- Add the skewered veggies to the masala.
Step 13 :- Add half teaspoon garam masala powder, one-fourth teaspoon kasoori methi and remaining lime juice. Mix.
Step 14 :- Garnish with chopped coriander and serve hot.

Tags: Paneer Tikka Masala Recipe - Chunks of marinated paneer, capsicum, onions and tomatoes cooked in a spicy makhani masala.

How to Make Bhog

Bhog

Prep Time : 26-30 minutes
Cook time : 51-60 minutes
Serve : 4
Level Of Cooking : Medium
Cuisine : Bengali
Course : Rice

-: Ingredients :-

Basmati rice soaked and drained2 cups
split skinless green gram (dhulimoong dal) soaked and drained1 cup
Ghee 2 tablespoon
Cloves 6-7
Black peppercorns 1 teaspoon
Cinnamon 1 inch
Green cardamoms 5-6
Asafoetida ¼ teaspoon
Cumin seeds 1 teaspoon
Coriander seeds 1 tablespoon
Ginger finely chopped1 tablespoon
Green chillies finely chopped4-5
Onion finely chopped1 medium
Brinjal 1 long
Potato peeled and cubed1 medium
Carrot peeled and cubed1 medium
Cauliflower florets 8-9
Turmeric powder 1 teaspoon
salt to taste
Bay leaves 2
Red chilli powder 1 teaspoon
Cumin powder ½ teaspoon
Coriander powder 1 tablespoon
Garam masala powder 1½ teaspoon
Green peas ½ cup
Tomatoes finely chopped2 medium

-: Nutrition Info :-

Calories : 2802
Carbohydrates : 503.8
Protein : 97.9
Fat : 44

-: Method :-

Step 1 :- Heat 1 tbsp ghee in a deep non-stick pan, add green gram and sauté for 5-6 minutes. Transfer into a bowl.
Step 2 :- Heat remaining ghee in the same pan, add cloves, peppercorns, cinnamon, cardamoms, asafoetida, cumin seeds, coriander seeds, ginger and green chillies, mix and sauté for ½ minute.
Step 3 :- Add onion, mix and sauté for 1 minute.
Step 4 :- Cut brinjal horizontally into half, cut into small pieces and add alongwith potato, carrot and cauliflower florets, mix and sauté for 2 minutes.
Step 5 :- Add turmeric powder and salt, mix and sauté for 2-3 minutes. Add bay leaves and toss. Sauté for 12-15 minutes.
Step 6 :- Add red chilli powder, cumin powder, coriander powder and garam masala powder and mix well.
Step 7 :- Add sautéed green gram, rice, green peas and tomatoes and mix well. Add 6 cups water, cover and cook, stirring at intervals, till the water is absorbed and the rice is cooked.
Step 8 :- Transfer into a serving bowl and serve hot.

Tags: Bhog Recipe - This khichdi is indeed fit for God.