Hexo blog theme installation and optimization

When you read this article, you must have built your Hexo blog and deployed it to Github. If not, please move Hexo+github blog! Because the default Hexo theme is really ugly, we can go Hexo theme On the theme website of the official website, I used yilia and yeele. At last, for some reasons, I changed t ...

Posted on Fri, 28 Feb 2020 03:02:07 -0800 by spellbinder

Fastadmin step in the pit diary-2. Magic change form

Fastadmin step in the pit diary-2. Magic change form After days and nights of searching, we can finally slowly start this, step on a few pits, and record it Pit 1 - the foreground cannot display emoji characters The first few emoji are two bytes, which can be displayed normally in the default double ...

Posted on Tue, 04 Feb 2020 04:27:03 -0800 by colforbin05

[python] solves its own bugs and remembers the bugs caused in the process of using variables once

[functional requirements] in the SMS editing interface, insert all emoji expressions into the editing area. There are 5 pages of expressions in total. When you traverse one page, you need to automatically turn the page to retrieve and insert the expressions again. There are only 10 expressions on page 5 Let's take a look at this code. Can you s ...

Posted on Fri, 24 Jan 2020 07:30:55 -0800 by tolutlou

Android TextView and EditText display the expression of the input method. Record it

Reference article at the top Android emoji display In fact, the code has not changed. Using emoji expression in Android system In this article, emoji expressions are actually a one-to-one correspondence between a set of Unicode codes and a set of expression descriptions. As for the corresponding pictures, it depends on how the ...

Posted on Wed, 18 Dec 2019 07:17:12 -0800 by xiao

Use of LiveData+ViewModel in JetPack

Let's start with JetPack: JepPack is a collection of Android Software Components launched by Google, which translates into a jetpack, With this framework, Google can fly you. It helps you follow best practices, frees you from the work of writing boilerplate code, and simplifies complex tasks so you can focus on the code you need. JetPck i ...

Posted on Mon, 02 Dec 2019 06:51:03 -0800 by josh

Java solves Emoji expression filtering problem (Reprint)

Author I am Zhou Zhou. Original link https://blog.csdn.net/u012904383/article/details/79376707 I use the third way to introduce jar.   Question: Emoji expression is not filtered from the three-party data, resulting in an error when it is stored in the DB.     Reason: UTF-8 encoding can be two, three, or four bytes. Emoji expression is ...

Posted on Fri, 25 Oct 2019 08:25:44 -0700 by emopoops

Flask Builds Blog Built-in Third Party Markdown

There's always been a catch-up with your blog site, and then you find that article editing can cause a lot of problems if you just use text editing, so you decide to look for data and have a third-party open source Markdown editor built in.Ultimately, I chose editor.md. Show me the final result. Say no ...

Posted on Thu, 08 Aug 2019 19:40:07 -0700 by parka

draft.js--Practice of Rich Text Editor Framework

Most rich text editors on the market are off-the-shelf, and it is difficult to modify their functions or rendering formats according to their own needs. The Facebook Open Source draft.js is a clean slate in rich text editors. Draft means "draft" in English. As its name says, it is not a ready-made rich text editor, but a rich text e ...

Posted on Mon, 20 May 2019 14:48:11 -0700 by rayk