Bank Codes of Sri Lanka

Every bank has a unique bank code assigned to it. This bank code is useful when doing international money transfers and other bank-related work.
We hope our bank code list will be useful for the public.

A bank code is a code assigned by a central bank, a bank supervisory body, or a Bankers Association in a country to all its licensed member banks or financial institutions.
The rules vary to a great extent between the countries. Also, the name of bank codes varies.

if you find any errors in below Sri Lankan bank code list, kindly inform us.


Bank Code Bank Name
7852 Alliance Finance Company PLC
7463 Amana Bank PLC
7472 Axis Bank
7010 Bank of Ceylon
7481 Cargills Bank Limited
8004 Central Bank of Sri Lanka
7825 Central Finance PLC
7047 Citi Bank
7746 Citizen Development Business Finance PLC
7056 Commercial Bank PLC
7870 Commercial Credit & Finance PLC
7807 Commercial Leasing and Finance
7205 Deutsche Bank
7454 DFCC Bank PLC
7074 Habib Bank Ltd
7083 Hatton National Bank PLC
7737 HDFC Bank
7092 Hongkong Shanghai Bank
7384 ICICI Bank Ltd
7108 Indian Bank
7117 Indian Overseas Bank
7834 Kanrich Finance Limited
7861 Lanka Orix Finance PLC
7773 LB Finance PLC
7269 MCB Bank Ltd
7913 Mercantile Investment and Finance PLC
7898 Merchant Bank of Sri Lanka & Finance PLC
7214 National Development Bank PLC
7719 National Savings Bank
7162 Nations Trust Bank PLC
7311 Pan Asia Banking Corporation PLC
7135 Peoples Bank
7922 People’s Leasing & Finance PLC
7296 Public Bank
7755 Regional Development Bank
7278 Sampath Bank PLC
7728 Sanasa Development Bank
7782 Senkadagala Finance PLC
7287 Seylan Bank PLC
7038 Standard Chartered Bank
7144 State Bank of India
7764 State Mortgage & Investment Bank
7302 Union Bank of Colombo PLC
7816 Vallibel Finance PLC





මෙම දත්තවල නිරවද්‍යතාවය අපි සහතික නොකරමු. ඔබේම අවදානමකින් එය භාවිතා කරන්න
We do not guarantee the accuracy of above information, please use at your own risk.

Sri Lanka Time & Time now in Sri Lanka

Welcome to Sri Lanka time page. Here we display the current time in Sri Lanka. You can view time now in Sri Lanka from any where in the world using this page.

Sri Lanka is an Island in the Indian Ocean and is separated from peninsular India by the Palk Strait. It is located between latitudes 5°55′ and 9°51′ N and longitudes 79°41′ and 81°53′ E and has a maximum length of 268 miles (432 km) and a maximum width of 139 miles (224 km).

Currency: Sri Lankan Rupee (LKR) / Rs / රු.
Languages: Sinhala, Tamil, English
Country Code: +94

Current: IST — India Standard Time
Current Offset: UTC/GMT +5:30 hours

Sri Lanka time right now is shown above.

What is the Sri Lanka time now

For those who wonder what is the sri Lanka time now? , you can refer the time widget below to find the time in sri Lanka accurately.

Current time in sri lanka right now ?  

For those who looking for the current time in sri lanka right now ,  you can refer the time widget below to find the time in sri Lanka accurately.

Please consider Sri Lankan time shown above is only  approximately correct. If you require greater accuracy for important work, kindly use some other means to get precise Sri Lankan time. Sri Lankan time shown here is not recommended for any purpose. 

Sri Lanka Fuel Station Codes

ඔබේ ඉන්ධන පිරවුම්හල් කේතය පහතින් ඇතුළත් කර සෙවුම ඔබන්න.

கீழே உங்கள் எரிபொருள் நிலையக் குறியீட்டை உள்ளிட்டு தேடலை அழுத்தவும்.

 

 

Sri Lanka issues fuel to public in ration system called the National Fuel Pass. When someone uses their QR code to buy fuel using their weekly allocation, the fuel pass system sends a automated SMS to notify the usage, balance  and the code of the fuel station.  We hope the below list will help people to match the station code to the fuel station details.

For a more accurate and up-to-date list of stations, please log in to your fuel pass dashboard and select station list.

We are not affiliated with or endorsed by the National Fuel Pass system or the government of Sri Lanka. 
The data is copied from the national fuel pass website’s station list page and published in the public domain for the convenience of the public in good faith.  

P.S.: We did not develop the national fuel pass QR system. We do not guarantee the accuracy of the data either. Use it at your own risk.

පවතින තත්වය යටතේ  ශ්‍රී ලංකාව ජාතික ඉන්ධන බලපත්‍රය ලෙස හඳුන්වන සලාක ක්‍රමයෙන් මහජනතාවට ඉන්ධන නිකුත් කරයි. යමෙක් තම සතිපතා සලාකය භාවිතා කර ඉන්ධන මිලදී ගැනීමට තම QR කේතය භාවිතා කරන විට, ඉන්ධන අවසර පත්‍ර පද්ධතිය , ශේෂය සහ ඉන්ධන පිරවුම්හලේ කේතය දැනුම් දීමට ස්වයංක්‍රීය SMS එකක් යවයි. පහත ලැයිස්තුව මහජනයාට ඉන්ධන පිරවුම්හල් විස්තරවලට පිරවුම්හල් කේතය ගැලපීමට උපකාරී වනු ඇතැයි අපි බලාපොරොත්තු වෙමු.

For සිංහල and Tamil translations see the bottom of this page. Most Searched Fuel Stations – Top 20 Filling Stations Searched on this page

වඩාත් නිවැරදි සහ යාවත්කාලීන ස්ථාන ලැයිස්තුවක් සඳහා, කරුණාකර ඔබේ ඉන්ධන බලපත්‍ර වෙබ් අඩවියට  ඇතුළු වී ස්ථාන ලැයිස්තුව තෝරන්න. https://fuelpass.gov.lk/

මෙම වෙබ් අඩවිය ජාතික ඉන්ධන බලපත්‍ර ක්‍රමයට හෝ ශ්‍රී ලංකා රජයට අනුබද්ධ හෝ අනුමත නැත.
මෙම දත්ත ජාතික ඉන්ධන අවසරපත්‍ර වෙබ් අඩවියේ ස්ථාන ලැයිස්තු පිටුවෙන් පිටපත් කර මහජනතාවගේ පහසුව සඳහා සද්භාවයෙන් පොදු වසමෙහි ප්‍රකාශයට පත් කෙරේ.

ප.ලි: කිව් ආර් පද්දතිය හැදුවෙ අපි නෙවෙයි. මෙම දත්තවල නිරවද්‍යතාවය අපි සහතික නොකරමු. ඔබේම අවදානමකින් එය භාවිතා කරන්න

தேசிய எரிபொருள் பாஸ் எனப்படும் ரேஷன் முறையில் இலங்கை பொதுமக்களுக்கு எரிபொருளை வழங்குகிறது. ஒருவர் தனது வாராந்திர ஒதுக்கீட்டைப் பயன்படுத்தி எரிபொருளை வாங்குவதற்கு அவர்களின் QR குறியீட்டைப் பயன்படுத்தினால், எரிபொருள் நிலையத்தின் பயன்பாடு, இருப்பு  மற்றும் குறியீடு ஆகியவற்றைத் தெரிவிக்க, எரிபொருள் பாஸ் அமைப்பு தானியங்கு SMS ஒன்றை அனுப்புகிறது. கீழேயுள்ள பட்டியல் மக்களுக்கு எரிபொருள் நிலையக் குறியீட்டை எரிபொருள் நிலைய விவரங்களுடன் பொருத்த உதவும் என்று நம்புகிறோம்.

நிலையங்களின் மிகவும் துல்லியமான மற்றும் புதுப்பித்த பட்டியலுக்கு, தயவுசெய்து உங்கள் எரிபொருள் பாஸ் டாஷ்போர்டில் உள்நுழைந்து நிலையப் பட்டியலைத் தேர்ந்தெடுக்கவும்.

நாங்கள் தேசிய எரிபொருள் பாஸ் அமைப்பு அல்லது இலங்கை அரசாங்கத்துடன் இணைக்கப்படவில்லை அல்லது அங்கீகரிக்கப்படவில்லை.
தேசிய எரிபொருள் அனுமதிச் சீட்டு இணையத்தளத்தின் நிலையப் பட்டியல் பக்கத்தில் இருந்து தரவு நகலெடுக்கப்பட்டு பொதுமக்களின் வசதிக்காக நல்லெண்ணத்துடன் பொது களத்தில் வெளியிடப்பட்டது.

பி.எஸ்.: தேசிய எரிபொருள் பாஸ் QR அமைப்பை நாங்கள் உருவாக்கவில்லை.

இந்தத் தரவின் துல்லியத்திற்கும் நாங்கள் உத்தரவாதம் அளிக்கவில்லை. உங்கள் சொந்த ஆபத்தில் அதைப் பயன்படுத்தவும்.

How to write a CV for Sri Lanka – Curriculum Vitae Formats and Templates Download

Your CV and cover letter are the first contact point with a potential employer. Therefore they must give off the best possible first impression of you, to convince an employer to take your application further. 

It is at this phase that you must start to demonstrate why you are the best prospect for the position. In this article we will discuss the advantages of a good CV and cover letter.

Magento 2 How to reset admin password using CLI / Command Prompt / Terminal in Linux

Let’s see how we can reset Magento 2 admin password in Linux using CLI / command prompt or terminal.

  1. Getting the cryptographic salt
    Magento 2 passwords are stored after scrambling with the cryptographic salt which is defined in the app\etc\env.php
    So first we need to copy that.
    1. open the file app\etc\env.php
    2. Goto crypt section and copy the key value. ( check the image below)
      reset magento-2 admin password
  2. Preparing the SQL
    1. In below sql query,
      1. Replace xxxxxxx with the crypt key from step 1
      2. Replace YourNewPassword with your new password.
      3. Replace admin with your admin username ( if its changed from admin)
      4. if you your magento 2 installation uses a table_prefix , please add that infront ofadmin_user

        UPDATE admin_userSET password = CONCAT(SHA2(‘xxxxxxxYourNewPassword‘, 256), ‘:xxxxxxx:1′) WHERE username = ‘admin‘;
         
  3. Now you have two options to execute this query against your database.
    1. Via CLI/command prompt/terminal
      1. Login to Mysql using the below command
        mysql -u root -p ( enter mysql password when prompted
      2. select your database
        use your_database_name;
      3. Paste the query and press enter
    2. Via PHPMyAdmin
      Paste the query in the PHP myAdmin SQL tab and execute.
  4. Log in to the Magento admin using the new password! that’s it!

[/vc_column_text][/vc_column][/vc_row]

Magento 2 Modes , Set Mode in Magento 2

Display the current mode in Magento 2 using CLI/Command Prompt

bin/magento deploy:mode:show

This will result in something like below

Current application mode: {mode}.

Set/Change mode in Magento 2 using CLI/Command Prompt

bin/magento deploy:mode:set {mode}

{mode} can be either default, developer, or production. If changing to developer mode, out put will be like below

 

PHP Get path in an Laravel application

Laravel framework provides several useful helper methods to get various paths required to access some commonly used directories/folders.

  • app_path() – Laravel app_path helper
  • base_path() – Laravel  helper
  • config_path() – Laravel  helper
  • database_path() – Laravel  helper
  • mix() – Laravel  helper
  • public_path() – Laravel  helper
  • resource_path() – Laravel  helper
  • storage_path() – Laravel  helper

How to get app folder path in laravel ? Laravel app_path php

The app_path method returns the fully qualified ( absolute) path to your application’s app directory.
You may also use the app_path function to generate a fully qualified( absolute) path to a file relative to the application directory:

Enable or Disable Magento 2 Maintenance Mode using CLI / Command Prompt or Files

What is the magento maintenance mode ?

When Magento is in maintenance mode, visitors see a Service Temporarily Unavailable message in their web browsers instead of the store. However, authorized IP addresses can still view the store normally.

You can enable maintenance mode using two methods.

How to enable magento maintenance mode using cli / command prompt / terminal.

Login to your server using SSH or terminal that is available to you.

change the directory to your Magento store root folder

magento-enable-maintenance-mode-cli-command-prompt

 

 

Then type in the below command and press enter to enable the maintenance mode for everyone.

bin/magento maintenance:enable

enable the maintenance mode for everyone

 

 

 

Now everyone visiting the website will see a Service Temporarily Unavailable message like below.

magento-enable-maintenance-website-viewHow to enable magento maintenance mode for everyone except few IP addresses ( or yourself)

You can also enable the maintenance mode for everyone except a few known IP addresses. This option is useful for fixing a bug on a live website.  Using this method a developer/admin can view the Magento website while other people will see a site under maintenance banner.

1st find out your computers IP address. Easiest way is to go to Chrome and search for “What is my IP address” : click here to search

what-is-my-ip-address-google-searchNow enter below command with your IP address like below .

bin/magento maintenance:enable --ip xxx.xxx.xxx.xxx

The magento website will be now under maintenance mode except for the specified IP.

magento-enable-maintenance-mode-cli-command-prompt-for-specific_ip

 

 

How to disable Magento maintenance mode using CLI / Command Prompt / Terminal

Login to your server using SSH or terminal that is available to you.

change the directory to your Magento store root folder

magento-enable-maintenance-mode-cli-command-prompt

 

 

Then type in the below command and press enter to enable the maintenance mode for everyone.

bin/magento maintenance:disable

 

 

Now the Magento “Service Temporarily Unavailable” message will be gone and the normal website will be shown.

How to enable/disable Magento maintenance mode file “maintenance.flag”

If you dont have access to SSH terminal, still you can enable magento maintenance mode by creating a blank file named “maintenance.flag” under the magento root folder using a FTP client.

To disable magento maintenance mode , delete the file “maintenance.flag” under your magento root folder.

Enable GZIP compression for Magento 2 Website on Apache/Linux to Make it Load Faster

What is GZIP ?

Gzip is a data compression algorithm capable of compressing and decompressing files quickly.

How can enabling GZIP can make a website load faster?

Websites are getting larger and carry a lot of content that can be compressed and save bandwidth during transmission over the networks. Compressing large text format files like javascript and css can save a lot of bandwidth thus improving loading speeds.

Using GZIP on a website

On Apache web server gzip compression is utilized to compress the outgoing traffic via mod_deflate. To use GZIP on a website mod_deflate must be installed, enabled and loaded with Apache. You can check of mod_deflate status by running below command in the linux terminal. >sudo httpd -M | grep deflate if mod_deflate is installed and enabled, you should see deflate_module (shared).  

Magento 2 add a user via command line cli

Magento does not allow resetting password of an existing user using the command prompt CLI.

But it allows creating new admin users via CLI.

Login to the command line and change directory to your magento 2 root directory.

e.g. cd  /var/www/magento2

Enter the below command and press enter.

php bin/magento admin:user:create

The CLI will prompt for username, password, email address, first name and last name for the user being created.