Tag:key
-
Time:2021-1-15
Bimonthly: the 21st issue Here we share some interesting projects / tools and some hot news in the embedded field. The Lunar New Year is divided into 24 solar terms. We hope to release one issue on time on the day of each festival. This journal is an open source projectJayHeng/pzh-mcu-bi-weekly)Welcome to issue, contribute or […]
-
Time:2021-1-3
<?php /** *Encryption key */ define(“ENCRYPT_KEY”, “sqltest1179631111”); //Encryption $password = “123456”; $enCryPass = demoEncode($password); var_dump($enCryPass); //Decryption $deCryPass = demoDecode($enCryPass); var_dump($deCryPass); /** *Encryption *@ param $password string password before encryption * @return false|string */ function demoEncode($password) { return authCode($password, “ENCODE”, ENCRYPT_KEY); } /** *Encryption *@ param $encrypass string password to decrypt * @return false|string */ function […]
-
Time:2020-12-23
[foreword] Before, due to the wrong operation of Xiaobian, an item about SQL in the registration form was deleted by mistake. What was deleted was also forgotten. At that time, it was to solve a SQL problem, but the problem was not solved. Instead, SQL was unable to be repaired, installed or unloaded. However, due […]
-
Time:2020-12-20
/*Key position definition of key*/ unsigned char code anj[4][4] = { 1, 2, 3, 10, 4, 5, 6, 11, 7, 0, 9, 12, 13, 8, 14, 15, }; char ScanKey() { Char key = – 1; // the assignment is used to judge if the key is not pressed unsigned i,j; for (i = 0;i […]
-
Time:2020-12-14
In some cases of our program, we call the event. We link the event and related parameters to a function, called binding. When the event occurs, the function will be called. The event related content is divided into three parts: event event, callback function callback and binding Level of binding Binding components, usingbind()method Binding part […]
-
Time:2020-12-1
First of all, as a new comer, I don’t have much experience in SCM development, so there may be some errors in writing some related documents. I hope you can include them more! I also hope that you will give me your advice and advice! Good memory is not as good as bad writing. The […]
-
Time:2020-12-1
Git clone supports two ways to download source code: HTTPS and git (SSH) When using git mode to download, if SSH key has not been configured, the following error prompts will appear: Here’s how to configure the SSH key of GIT so that we can download the source code in Git mode. First, check whether […]
-
Time:2020-11-27
The words written in the front AutoHotKey is a lightweight, small but efficient, free and open source windows hotkey scripting language. Game manipulation, mouse operation, keyboard shortcut redefinition, shortcut phrases and so on, only you can’t imagine, without it, you can’t do it. The artifact of artifact, I hate to meet you late. install Download […]
-
Time:2020-10-31
Head navigation unit With a small house and return key, the background color can be set, the title text color can be set, the capsule background color can be set, the border color can be set, which is a more comprehensive, is currently in practical application, which can be referred to~ headerNabvar.js const app = […]
-
Time:2020-10-27
I tried to use third-party software to modify, but it was always unsuccessful. Later, I found that modifying the registry directly was very successful. Win + R input regedit Go to this path Note: to create a new binary file named scayboard, right click on it Enter the code 00,00,00,00,00,00,00,00 03,00,00,00,38,00,1D,00 1D,00,38,00,00,00,00,00 How it’s done […]
-
Time:2020-10-15
Key garbled code problem Since redis uses the jdkserializationredisserializer by default, the key is garbled, as follows: keys ‘*!report:flag:phon*’ 1) “\xac\xed\x00\x05t\x00!report:flag:phone_156464” 2) “\xac\xed\x00\x05t\x00!report:flag:phone_198946” 3) “\xac\xed\x00\x05t\x00!report:flag:phone_183302” Solve key garbled code private RedisTemplate redisTemplate; @Autowired(required = false) public void setRedisTemplate(RedisTemplate redisTemplate) { RedisSerializer stringSerializer = new StringRedisSerializer(); redisTemplate.setKeySerializer(stringSerializer); redisTemplate.setValueSerializer(stringSerializer); redisTemplate.setHashKeySerializer(stringSerializer); redisTemplate.setHashValueSerializer(stringSerializer); this.redisTemplate = redisTemplate; } Clean up […]
-
Time:2020-10-1
841. Keys and rooms Source: leetcode https://leetcode-cn.com/problems/keys-and-rooms subject There are n rooms. You were in room 0 at the beginning. Each room has a different number: 0, 1, 2,…, n-1, and there may be some keys in the room that will allow you to enter the next room. Formally, there is a key list rooms […]