Giter VIP home page Giter VIP logo

Hi 👋, I'm TRAN VAN DIEP (tecklens.com)

A passionate web/mobile developer from Vietnam

dieptv1999

trunghieu99tt

Connect with me:

rikikudo rikikudo99

Languages and Tools:

bootstrap cplusplus css3 express figma firebase git graphql heroku html5 java javascript linux mongodb mysql nextjs nodejs postman react redux sass typescript

dieptv1999's GitHub Stats

dieptv1999

SQL NOTE

CREATE OR REPLACE FUNCTION `remove_accents`(`str` TEXT CHARACTER SET utf8mb4 collate utf8mb4_unicode_ci )
    RETURNS text CHARACTER SET utf8mb4 collate utf8mb4_unicode_ci
    LANGUAGE SQL
    DETERMINISTIC
    NO SQL
    SQL SECURITY INVOKER
    COMMENT ''

BEGIN

    SET str = REPLACE(str, 'Š', 'S');
    SET str = REPLACE(str, 'š', 's');
    SET str = REPLACE(str, 'Ð', 'Dj');
    SET str = REPLACE(str, 'Ž', 'Z');
    SET str = REPLACE(str, 'ž', 'z');
    SET str = REPLACE(str, 'À', 'A');
    SET str = REPLACE(str, 'Á', 'A');
    SET str = REPLACE(str, '', 'A');
    SET str = REPLACE(str, '', 'A');
    SET str = REPLACE(str, '', 'A');
    SET str = REPLACE(str, '', 'A');
    SET str = REPLACE(str, '', 'A');
    SET str = REPLACE(str, 'Ă', 'A');
    SET str = REPLACE(str, '', 'A');
    SET str = REPLACE(str, 'Â', 'A');
    SET str = REPLACE(str, '', 'A');
    SET str = REPLACE(str, '', 'A');
    SET str = REPLACE(str, '', 'A');
    SET str = REPLACE(str, '', 'A');
    SET str = REPLACE(str, '', 'A');
    SET str = REPLACE(str, 'Ã', 'A');
    SET str = REPLACE(str, 'Ä', 'A');
    SET str = REPLACE(str, 'Å', 'A');
    SET str = REPLACE(str, 'Æ', 'A');
    SET str = REPLACE(str, 'Ç', 'C');
    SET str = REPLACE(str, 'È', 'E');
    SET str = REPLACE(str, 'É', 'E');
    SET str = REPLACE(str, '', 'E');
    SET str = REPLACE(str, '', 'E');
    SET str = REPLACE(str, 'Ê', 'E');
    SET str = REPLACE(str, '', 'E');
    SET str = REPLACE(str, '', 'E');
    SET str = REPLACE(str, '', 'E');
    SET str = REPLACE(str, 'Ë', 'E');
    SET str = REPLACE(str, 'Ì', 'I');
    SET str = REPLACE(str, 'Í', 'I');
    SET str = REPLACE(str, '', 'I');
    SET str = REPLACE(str, 'Î', 'I');
    SET str = REPLACE(str, 'Ï', 'I');
    SET str = REPLACE(str, 'Ñ', 'N');
    SET str = REPLACE(str, 'Ò', 'O');
    SET str = REPLACE(str, 'Ó', 'O');
    SET str = REPLACE(str, '', 'O');
    SET str = REPLACE(str, 'Ô', 'O');
    SET str = REPLACE(str, '', 'O');
    SET str = REPLACE(str, '', 'O');
    SET str = REPLACE(str, '', 'O');
    SET str = REPLACE(str, '', 'O');
    SET str = REPLACE(str, '', 'O');
    SET str = REPLACE(str, 'Õ', 'O');
    SET str = REPLACE(str, 'Ơ', 'O');
    SET str = REPLACE(str, '', 'O');
    SET str = REPLACE(str, '', 'O');
    SET str = REPLACE(str, '', 'O');
    SET str = REPLACE(str, '', 'O');
    SET str = REPLACE(str, '', 'O');
    SET str = REPLACE(str, 'Ö', 'O');
    SET str = REPLACE(str, 'Ø', 'O');
    SET str = REPLACE(str, '', 'U');
    SET str = REPLACE(str, 'Ù', 'U');
    SET str = REPLACE(str, 'Ú', 'U');
    SET str = REPLACE(str, '', 'U');
    SET str = REPLACE(str, 'Ư', 'U');
    SET str = REPLACE(str, '', 'U');
    SET str = REPLACE(str, '', 'U');
    SET str = REPLACE(str, '', 'U');
    SET str = REPLACE(str, '', 'U');
    SET str = REPLACE(str, '', 'U');
    SET str = REPLACE(str, 'Û', 'U');
    SET str = REPLACE(str, 'Ü', 'U');
    SET str = REPLACE(str, 'Ý', 'Y');
    SET str = REPLACE(str, 'Þ', 'B');
    SET str = REPLACE(str, 'Đ', 'D');
    SET str = REPLACE(str, 'ß', 'Ss');
    SET str = REPLACE(str, 'à', 'a');
    SET str = REPLACE(str, '', 'a');
    SET str = REPLACE(str, 'á', 'a');
    SET str = REPLACE(str, '', 'a');
    SET str = REPLACE(str, '', 'a');
    SET str = REPLACE(str, '', 'a');
    SET str = REPLACE(str, '', 'a');
    SET str = REPLACE(str, '', 'a');
    SET str = REPLACE(str, 'â', 'a');
    SET str = REPLACE(str, '', 'a');
    SET str = REPLACE(str, '', 'a');
    SET str = REPLACE(str, '', 'a');
    SET str = REPLACE(str, '', 'a');
    SET str = REPLACE(str, '', 'a');
    SET str = REPLACE(str, 'ã', 'a');
    SET str = REPLACE(str, 'ä', 'a');
    SET str = REPLACE(str, 'å', 'a');
    SET str = REPLACE(str, 'æ', 'a');
    SET str = REPLACE(str, 'ç', 'c');
    SET str = REPLACE(str, 'è', 'e');
    SET str = REPLACE(str, 'é', 'e');
    SET str = REPLACE(str, '', 'e');
    SET str = REPLACE(str, '', 'e');
    SET str = REPLACE(str, 'ê', 'e');
    SET str = REPLACE(str, '', 'e');
    SET str = REPLACE(str, '', 'e');
    SET str = REPLACE(str, 'ế', 'e');
    SET str = REPLACE(str, 'ë', 'e');
    SET str = REPLACE(str, 'ì', 'i');
    SET str = REPLACE(str, 'í', 'i');
    SET str = REPLACE(str, '', 'i');
    SET str = REPLACE(str, 'î', 'i');
    SET str = REPLACE(str, 'ï', 'i');
    SET str = REPLACE(str, 'ð', 'o');
    SET str = REPLACE(str, 'ñ', 'n');
    SET str = REPLACE(str, 'ò', 'o');
    SET str = REPLACE(str, 'ó', 'o');
    SET str = REPLACE(str, 'ơ', 'o');
    SET str = REPLACE(str, '', 'o');
    SET str = REPLACE(str, '', 'o');
    SET str = REPLACE(str, '', 'o');
    SET str = REPLACE(str, '', 'o');
    SET str = REPLACE(str, '', 'o');
    SET str = REPLACE(str, '', 'o');
    SET str = REPLACE(str, 'ô', 'o');
    SET str = REPLACE(str, '', 'o');
    SET str = REPLACE(str, '', 'o');
    SET str = REPLACE(str, '', 'o');
    SET str = REPLACE(str, '', 'o');
    SET str = REPLACE(str, '', 'o');
    SET str = REPLACE(str, 'õ', 'o');
    SET str = REPLACE(str, 'ö', 'o');
    SET str = REPLACE(str, 'ø', 'o');
    SET str = REPLACE(str, '', 'u');
    SET str = REPLACE(str, 'ù', 'u');
    SET str = REPLACE(str, 'ú', 'u');
    SET str = REPLACE(str, '', 'u');
    SET str = REPLACE(str, 'ư', 'u');
    SET str = REPLACE(str, '', 'u');
    SET str = REPLACE(str, '', 'u');
    SET str = REPLACE(str, '', 'u');
    SET str = REPLACE(str, '', 'u');
    SET str = REPLACE(str, '', 'u');
    SET str = REPLACE(str, 'û', 'u');
    SET str = REPLACE(str, 'ý', 'y');
    SET str = REPLACE(str, 'ý', 'y');
    SET str = REPLACE(str, 'þ', 'b');
    SET str = REPLACE(str, 'ÿ', 'y');
    SET str = REPLACE(str, 'ƒ', 'f');
    SET str = REPLACE(str, 'đ', 'd');


    RETURN str;
END

Trần Văn Điệp's Projects

chat_app icon chat_app

A flutter chat app built with firestore. It is clone of messenger.User can create stories,chat and search in real time.

chatroomapp icon chatroomapp

Simple app for a chat room in using library socket.io

dio_cache_interceptor icon dio_cache_interceptor

Dio HTTP cache interceptor with multiple stores respecting HTTP directives (ETag, Last-Modified, Cache-Control) with options.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.