Navigation

    Lanka Developers Community

    Lanka Developers

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Shop
    1. Home
    2. root
    3. Posts
    • Profile
    • Following 26
    • Followers 23
    • Topics 12
    • Posts 715
    • Best 180
    • Groups 4

    Posts made by root

    • RE: How to reconnect next.js localhost

      npm run dev

      posted in General Discussion
      root
      root
    • RE: SOAP VS REST API

      what is the best ?

      posted in Back-End Development
      root
      root
    • RE: How to fix $supabase does not exist on type in NUXTJS

      @nubelle Thanks man it works

      posted in Front-End Development
      root
      root
    • How to fix $supabase does not exist on type in NUXTJS

      I'm getting this error when i access my $supabase nuxt plugin in pages/index.vue

      a4fae784-06fc-4828-8262-c642e21aec0f-image.png

      ~/plugins/supabase.js

          import {createClient} from '@supabase/supabase-js'
      
          export default ({ app },inject) => {
              
              const supabaseUrl = app.$config.supabaseUrl
              const supabaseKey = app.$config.supabaseApi
      
              const supabase = createClient(supabaseUrl, supabaseKey)
      
              inject('supabase', supabase)
          }
      

      i loaded plugin in nuxt config

      plugins: [
          {src: '~/plugins/supabase.js', mode : 'client'}
        ],
      

      Anyone can help to fix this issue, i use typescript with nuxtjs

      posted in Front-End Development
      root
      root
    • Secure Your Laravel Website: A Guide on How to Force Redirect HTTP to HTTPS for Better SEO

      In this article, i'll explain how to redirect HTTP to HTTPS in Laravel. Whether you're using Laravel 6, 7, 8, 9 or 10 we've got you covered!

      We have to modify AppServiceProvider boot method, i also disable HTTPS redirect in local.

      in app/Providers/AppServiceProvider.php.

      <?php
      
      namespace App\Providers;
      
      use Illuminate\Support\ServiceProvider;
      use Illuminate\Pagination\Paginator;
      
      class AppServiceProvider extends ServiceProvider
      {
          /**
           * Register any application services.
           *
           * @return void
           */
          public function register()
          {
      
          }
          /**
           * Bootstrap any application services.
           *
           * @return void
           */
          public function boot()
          {
              if ($this->app->environment('production')) {
                   \URL::forceScheme('https');
              }
      
              Paginator::useBootstrap();
          }
      }
      
      posted in Laravel Framework
      root
      root
    • RE: Europe රටකට IT related business idea එකක්

      pm ekak damma balala kiyanna

      posted in General Discussion
      root
      root
    • RE: Hi. I'm new here. I'm looking for few developers for project in KOREA.

      hello what kind of project do you have ?

      posted in Job Portal
      root
      root
    • RE: Static website nuxtjs or nextjs

      both are same bro the only difference is react and nextjs developed by big companies.

      posted in Web Development
      root
      root
    • How to Fix "nvm not found" Error in MacOS

      When you install NVM using Homebrew, you still need to add the following lines to your shell configuration file (.bashrc, .zshrc, etc.)

      export NVM_DIR="$HOME/.nvm"
      . "/usr/local/opt/nvm/nvm.sh"
      

      If you are using the Bash shell, open the ~/.bashrc file in your favorite text editor, and add the following lines at the end of the file:

      export NVM_DIR="$HOME/.nvm"
      . "/usr/local/opt/nvm/nvm.sh"
      

      If you are using the Zsh shell, open the ~/.zshrc file in your favorite text editor, and add the following lines at the end of the file:

      export NVM_DIR="$HOME/.nvm"
      . "/usr/local/opt/nvm/nvm.sh"
      

      After adding the lines to the appropriate file, save it and close the editor. Then, restart your terminal or run the source command to load the changes:

      source ~/.bashrc
      
      source ~/.zshrc
      
      posted in Mac OSX
      root
      root
    • How to Flush DNS on Mac – MacOS Clear DNS Cache
      MacOS Version Command
      macOS 12 (Monterey and above) sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
      macOS 11 (Big Sur) sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
      macOS 10.15 (Catalina) sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
      macOS 10.14 (Mojave) sudo killall -HUP mDNSResponder
      macOS 10.13 (High Sierra) sudo killall -HUP mDNSResponder
      macOS 10.12 (Sierra) sudo killall -HUP mDNSResponder
      OS X 10.11 (El Capitan) sudo killall -HUP mDNSResponder
      OS X 10.10 (Yosemite) sudo discoveryutil udnsflushcaches
      OS X 10.9 (Mavericks) sudo killall -HUP mDNSResponder
      OS X 10.8 (Mountain Lion) sudo killall -HUP mDNSResponder
      Mac OS X 10.7 (Lion) sudo killall -HUP mDNSResponder
      Mac OS X 10.6 (Snow Leopard) sudo dscacheutil -flushcache
      Mac OS X 10.5 (Leopard) sudo lookupd -flushcache
      Mac OS X 10.4 (Tiger) lookupd -flushcache
      posted in Mac OSX
      root
      root
    • RE: Sampath payment gateway response issue

      documentation eka danna balanna

      posted in Web Development
      root
      root
    • RE: Bigcommerce API Development

      ahenne oAuth api eka genada ?

      posted in Back-End Development
      root
      root
    • RE: #html

      නියමයි bro දිගටම articles දන්න

      posted in Front-End Development
      root
      root
    • RE: Android game developed using Unity 3D

      Great man, can you post tutorial how to make a game with Unity 3D

      posted in Game Development
      root
      root
    • RE: WordPress Premium Plugin Themes අවශ්‍ය එකක් ඉල්ලන්න

      Niyamai machan keep it up.

      posted in Wordpress
      root
      root
    • RE: Looking for a district and city database of Sri Lanka

      what about this

      https://github.com/madurapa/sri-lanka-provinces-districts-cities

      posted in Comments & Feedback
      root
      root
    • RE: How Can i Fix Wordpress database Error

      please check database login credentials and host , wordpress cannot establish database connection with your database server

      posted in General Discussion
      root
      root
    • RE: Mobile Recharge

      check this

      https://quickpay.lk/

      posted in General Discussion
      root
      root
    • TPM Device is not Detected in Dell Inspiron 3000

      My laptop got shutdown immediately , then showing a warning message "TPM Device is not Detected", after this warning screen windows stuck in the boot screen .

      WhatsApp Image 2022-08-11 at 11.10.46 AM.jpeg

      please help me to fix this

      posted in General Discussion
      root
      root