Lanka Developers Community

    Lanka Developers

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Shop
    1. Home
    2. Popular
    Log in to post
    • All categories
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All Time
    • Day
    • Week
    • Month
    • Shakthi

      ikman wage shopping website ekak hadnna help ekak oni?
      Web Development • web development web designing • • Shakthi

      8
      1
      Votes
      8
      Posts
      1190
      Views

      ijseGovindu

      @Shakthi mokakda one help eka

    • Nubelle

      mobile app development course එක.
      Meetups & Workshop Sessions ( Free & Paid ) • ionic mobile app • • Nubelle

      8
      3
      Votes
      8
      Posts
      1331
      Views

      Nubelle

      @Ravindu-Yasas @kusalrathna Please contact him

    • kasun viduranga

      flutter use කරල dictionary app එකක් හදනවනම් ඒකට use කරන database සහ අලුතෙන් add කරන word වල update app එක download කරපු අයට දෙන්නෙ කොහොමද කියල දන්න කෙනෙක් ඉන්නවනම් කියන්න.
      Flutter • android app flutter firebase app apk • • kasun viduranga

      8
      0
      Votes
      8
      Posts
      1474
      Views

      iamprogrammerlk

      local database එකක් පාවිච්චි කරනවා නම් SQLite DB (sqflite package එක හෝ floor හරි moor වගේ packages පාවිච්චි කරන්න පුළුවන්) එක පාවිච්චි කරන්න. එතකොට DB එක file එකක් විදිහට update කරන්න පුළුවන්. නැතිනම් online database එකක් පාවිච්චි කරන්න firebase වගේ DB API එකක් නැත්තම් mysql, mongoDB වගේ server DB එකක් පාවිච්චි කරන්න පුළුවන්. හැබැයි DB එකට direct access දෙන්න එපා. app එකට වෙනම backend එකක් හදලා API call කරලා data access දෙන්න. නැත්නම් කතරගම ගිහිල්ලා database එක වෙනුවෙන් බාරයක් වෙලා එන්න.

    • thameemziyatha

      Android App Development
      Mobile Application Development • android app android studio apk apps • • thameemziyatha

      8
      0
      Votes
      8
      Posts
      1278
      Views

      Nubelle

      @IamProgrammerLK good advise brother, Thank you

    • dev_lak

      Ionic Login UI - Speed Code
      Mobile Application Development • andorid ionic ios mobile app • • dev_lak

      8
      3
      Votes
      8
      Posts
      1070
      Views

      dev_lak

      @root bro source code added to github - https://github.com/gihan667/ionic-login-ui

    • Kasun Rathnayake

      mysql: ERROR 1524 (HY000): Plugin 'mysql-native-password' is not loaded
      Mac OSX • mysq mac error524 • • Kasun Rathnayake

      8
      0
      Votes
      8
      Posts
      3097
      Views

      root

      @kasun-rathnayake

      your welcome

    • Nubelle

      Laravel live-wire or vue.js
      General Discussion • laravel vuejs • • Nubelle

      8
      0
      Votes
      8
      Posts
      1497
      Views

      K

      I think both have difference pros and cons

    • F

      Bulk Email AWS SES
      General Discussion • aws • • foxmolder

      8
      0
      Votes
      8
      Posts
      1255
      Views

      F

      import smtplib
      import email.utils
      from email.mime.multipart import MIMEMultipart
      from email.mime.text import MIMEText

      fruits = ["[email protected]","[email protected]", ]
      for RECIPIENT in fruits:

      Replace [email protected] with your "From" address. This address must be verified. SENDER = '[email protected]' SENDERNAME = 'ex.com' Replace [email protected] with a "To" address. If your account is still in the sandbox, this address must be verified. RECIPIENT = '[email protected]' Replace smtp_username with your Amazon SES SMTP user name. USERNAME_SMTP = "" Replace smtp_password with your Amazon SES SMTP password. PASSWORD_SMTP = "" (Optional) the name of a configuration set to use for this message. If you comment out this line, you also need to remove or comment out the "X-SES-CONFIGURATION-SET:" header below. CONFIGURATION_SET = "ConfigSet" If you're using Amazon SES in an AWS Region other than US West (Oregon), replace email-smtp.us-west-2.amazonaws.com with the Amazon SES SMTP endpoint in the appropriate region. HOST = "email-smtp.us-east-2.amazonaws.com" PORT = 587 The subject line of the email. SUBJECT = ' ' The email body for recipients with non-HTML email clients. BODY_TEXT = ("" "" "" ) The HTML body of the email. BODY_HTML = """<html> </html> """ Create message container - the correct MIME type is multipart/alternative. msg = MIMEMultipart('alternative') msg['Subject'] = SUBJECT msg['From'] = email.utils.formataddr((SENDERNAME, SENDER)) msg['To'] = RECIPIENT Comment or delete the next line if you are not using a configuration set msg.add_header('X-SES-CONFIGURATION-SET',CONFIGURATION_SET) Record the MIME types of both parts - text/plain and text/html. part1 = MIMEText(BODY_TEXT, 'plain') part2 = MIMEText(BODY_HTML, 'html') Attach parts into message container. According to RFC 2046, the last part of a multipart message, in this case the HTML message, is best and preferred. msg.attach(part1) msg.attach(part2) Try to send the message. try: server = smtplib.SMTP(HOST, PORT) server.ehlo() server.starttls() #stmplib docs recommend calling ehlo() before & after starttls() server.login(USERNAME_SMTP, PASSWORD_SMTP) server.ehlo() server.sendmail(SENDER, RECIPIENT, msg.as_string()) server.close() Display an error message if something goes wrong. except Exception as e: print ("Error: ", e) else: print ("Email sent!")
    • rohandhananjaya

      Do anyone works with cardcom payment gateway?
      Web Development • php payment gateway • • rohandhananjaya

      8
      0
      Votes
      8
      Posts
      1214
      Views

      rohandhananjaya

      @lkdev Yes! I am working on it. thanks again

    • oditha

      Angular CLI vs React JS vs Vue JS - වාසි අවාසි
      Front-End Development • angular react-js vue • • oditha

      7
      2
      Votes
      7
      Posts
      2708
      Views

      S

      use case eka anuwa thamai. hama framework ekema, library ekema advantages wagema disadvantages tyenawa. Angular, Vue frameworks, react library ekak. frameworks wala godak welawata ekata adala design pattern ekak tyenawa. library + design pattern = framework. Oyage use case eka anuwa thamai hodatama set wena eka balanna wenne.

    • S

      Node.js : Introduction - Part 1
      Back-End Development • node-js backend javascript • • sudo

      7
      7
      Votes
      7
      Posts
      2152
      Views

      isuru mahesh perera

      node js <3

    • P

      Java sinhalen..
      Announcements • java • • Prince92

      7
      5
      Votes
      7
      Posts
      2002
      Views

      G

      balagena innwa

    • akashmanujaya

      I want to change map icon as location condition
      Back-End Development • php api googlemaps javascript jquery • • akashmanujaya

      7
      3
      Votes
      7
      Posts
      1945
      Views

      dev_lak

      @akashmanujaya welcome bro...

    • Shaavi

      Agile methodology in software development
      Blogs • agile • • Shaavi

      7
      4
      Votes
      7
      Posts
      1800
      Views

      Nubelle

      good post

    • lkdev

      Nginx: connect() failed (111: Connection refused) while connecting to upstream
      Linux • nginx php server ubuntu • • lkdev

      7
      0
      Votes
      7
      Posts
      6666
      Views

      crxssrazr93

      @lkdev said in Nginx: connect() failed (111: Connection refused) while connecting to upstream:

      @crxssrazr93 said in Nginx: connect() failed (111: Connection refused) while connecting to upstream:

      @lkdev

      Make sure php-fpm is already running on the background...

      Then, change your listen 80; to listen 127.0.0.1; .

      @ciaompe said in Nginx: connect() failed (111: Connection refused) while connecting to upstream:

      Simply, open the following path to your php5-fpm (if you php 7 then open php 7 fpm)

      Php 5

      sudo nano /etc/php5/fpm/pool.d/www.conf

      Php 7

      sudo nano /etc/php/7.2/fpm/pool.d/www.conf

      Then find this line and uncomment it:

      listen.allowed_clients = 127.0.0.1

      Also comment below line

      Php 5

      ;listen = /var/run/php5-fpm.sock

      Php 7

      ;listen = /run/php/php7.2-fpm.sock

      and add

      listen = 9000 after you make the modifications, all you need to restart or reload both Nginx and Php fpm

      Php 5

      sudo service php5-fpm restart

      Php 7

      sudo service php7.2-fpm restart

      Nginx

      sudo service nginx restart

      Guys this works. thanks aganin and lankadevelopers thank you very much

      Anytime mate xD

    • lahirunc

      Xamarin Mobile Development - English Tutorials will begin soon...
      Hybrid App Development • xamarin xamarin android xamarin forms xamarin ios xamarin mobile • • lahirunc

      7
      3
      Votes
      7
      Posts
      1617
      Views

      lahirunc

      @root @yashura99 thanks guys! Will be coming up with the first video soon.

    • lahirunc

      Etiquette to follow when coding...
      Blogs • code • • lahirunc

      7
      2
      Votes
      7
      Posts
      1961
      Views

      F

      thank you mate :heart:

    • lahirunc

      Xamarin Tutorial (English) - Part 4 & 5
      Hybrid App Development • xamarin xamarin android xamarin forms xamarin ios xamarin mobile • • lahirunc

      7
      3
      Votes
      7
      Posts
      1906
      Views

      lahirunc

      @dev_lak @fern @Anjana360 thanks for the support Guys. Will be doing longer videos with good content in the future.

    • Shaavi

      Theory Behind Blockchain
      Blogs • blockchain blogs hashing • • Shaavi

      7
      3
      Votes
      7
      Posts
      2042
      Views

      Shaavi

      @dinlinux thank you

    • 1
    • 2
    • 6
    • 7
    • 8
    • 9
    • 10
    • 10 / 10