Canhua's Blog
  • Blogs
  • My GitHub Projects
  • Profile
  • Linkedin

Canhua's Blog

Profile picture

Written by Canhua Li Experienced Full Stack Engineer at Microsoft, proficient in C++, C#, JavaScript, React, AngularJS, Ruby & Rails, and .Net.

  1. LLaMa2 local devbox setup and openai API server

    October 02, 2023

    Setup local LLama2 devbox and launch openai API server

  2. self and class<< in ruby

    October 04, 2022

    class method in Ruby

  3. How to test trusted types

    September 13, 2022

    How to test trusted types

  4. Create an ASP.NET Core app with React + Typescript in Visual Studio

    September 12, 2022

    Create an ASP.NET Core app with React + Typescript

  5. System Design Interview

    May 21, 2022

    System Design Interview Preparation

  6. Trie, Heap and Binary Index Tree

    May 21, 2022

    Trie, Max Heap and Binary Index Tree

  7. LeetCode 971 - Flip Binary Tree To Match Preorder Traversal

    March 16, 2022

    C++ and JavaScript solution for Flip Binary Tree To Match Preorder Traversal

  8. ES6 import

    January 18, 2022

    use 'import name from' to import json and css file in react project

  9. JavaScript Knowns 2

    January 10, 2022

    JavaScript Knowns 2

  10. JavaScript Knowns

    January 09, 2022

    JavaScript Knowns

  11. JavaScript Uses 32 bits Bitwise Operands

    January 03, 2022

    JavaScript stores numbers as 64 bits floating point numbers, but all bitwise operations are performed on 32 bits binary numbers.

  12. Kid's word

    January 01, 2022

    Funs

  13. JavaScript tips - 2

    December 25, 2021

    JavaScript tips

  14. JavaScript Common Mistakes

    December 20, 2021

    JavaScript Common Mistakes

  15. JavaScript For..In/For..Of/ForEach Loops

    December 20, 2021

    JavaScript For..In/For..Of/ForEach Loops for Object, Array, Map, and Set

  16. LeetCode 2

    December 20, 2021

    Leetcode good solution

  17. C++ priority_queue and comparator

    December 15, 2021

    C++ Comparator for priority_queue

  18. JavaScript tips

    December 12, 2021

    JavaScript tips

  19. LeetCode 1

    December 11, 2021

    Leetcode good example

  20. JavaScript Data Structures and Algorithm Snapshot

    December 10, 2021

    An Introduction to Understanding and Implementing Core Data Structure and Algorithm Fundamentals

  21. 'Microsoft JScript compilation error' when running npx

    December 04, 2021

    bin field in your package.json which is a map of command name to local file name. which doesn't work if you are mssing #!/usr/bin/env node

  22. Issue of mixing @wkocjan/gatsby-theme-intro with gatsby-starter-blog

    December 02, 2021

    @wkocjan/gatsby-theme-intro used TailwindCSS framework and cause trouble if your main site is not using TailwindCSS

  23. Add @wkocjan/gatsby-theme-intro plugin

    December 01, 2021

    Use plugin to tell your story by showing your skills, projects and career path

  24. Setup my blog website with Gatsby and deploy the website to GitHub Pages

    November 30, 2021

    This is about how to deploy Gatsby to GitHub Pages. As a developer, I want to host my own blogs. Since my code is in GitHub, I would like to hosting my blog on GitHub pages too.

© 2023, Built with Gatsby