PHP realizes wechat -- sharing Friend links

It's not some advanced knowledge, but it took a lot of time to do it for the first time. Finally, it's deducted bit by bit. It's in use now To solve this problem, I have encountered several bugs. 1. The generated signature is wrong. I printed it and checked it on the signature algorithm page of wechat. If it is right, it still ...

Posted by bogdani on Sat, 23 Nov 2019 17:48:56 +0100

Simple use of its dangerous

Why use itsdangerous is to ensure that your encrypted data has not been modified, because the original data cannot be re solved after modification, and the content cannot be solved after timeout. Activate the application scenario and send an activated website to you. If you fail to activate within a cer ...

Posted by very_new_user on Sat, 26 Oct 2019 19:02:28 +0200

Record an open of binary file of unknown type

Recently, we received a request to solve the content of a binary file. /home/work/files # ll total 312 -rw-------@ 1 honvid staff 30K 7 24 14:52 15158 -rw------- 1 honvid staff 46K 7 24 14:53 62770 -rw-------@ 1 honvid staff 73K 7 24 11:26 8686584 vi You can see the following mess. ^_<8b>^H^@^@^@^@^@^D^@í½^G`^\I<96>% ...

Posted by sridhar golyandla on Fri, 18 Oct 2019 00:21:15 +0200

Unique Identification of Android Devices (Multiple Implementation Solutions)

Preface In project development, how many of these requirements will be met: to obtain device Id, which is the unique identifier of the device, for: 1. Identify a unique device and do accurate data dissemination or data statistical analysis; 2. Account and equipment binding; 3..... Analysis This kind of article, there are many information on the ...

Posted by chings on Fri, 11 Oct 2019 05:47:17 +0200

Implementation of node.js + koa2 + https+ssl code for interface verification of public platform test number

Novice beginner node.js for development, in the application for access to the public platform development test number, because the official samples only for PHP and java and other ways of code, and node beginners do not understand, when submitted to the interface test URL, often unsuccessful, indicating "configuration failure", here i ...

Posted by r00tk1LL on Tue, 01 Oct 2019 15:10:43 +0200

Redis Learning Notes - Lua Scripts - Using Lua Scripts

Reference resources: http://www.redis.cn/commands/eval.html https://www.runoob.com/redis/redis-scripting.html Redis has supported Lua scripting since version 2.6.0. By embedding the Lua environment in the server, Redis clients can use Lua scripts t ...

Posted by harnacks on Mon, 02 Sep 2019 04:10:05 +0200

Using Python to simulate microblogging login, you can still play like this.

Today, I want to make a tool for micro-blog to climb personal pages to satisfy some secrets. So first of all, do what you have to do! Simulated landing... The code is for reference: https://www.douban.com/note/201767245/ I optimized the code, refact ...

Posted by forumsudhir on Fri, 23 Aug 2019 13:11:21 +0200

Wechat applet customer service message function php

Project description: This project is a simple Wechat small program customer service message class, to achieve customer service message related functions. The official example of php is wrong, so I won't Tucao anymore. This example uses a developer server instead of a cloud call. Official documents: Customer Service Message Guide Customer Servic ...

Posted by geethalakshmi on Sat, 10 Aug 2019 10:10:59 +0200

Git Learning Notes (Local)

Articles Catalogue Git Advantage Common Git commands git init git status .gitignore git add git commit git diff git rm git mv git log git reset git checkout git checkout -- "filename" git branch git stash git merge git rebase Git Advantage Traditional version control tools such as CVS and SVN ...

Posted by morph07 on Thu, 01 Aug 2019 06:31:29 +0200

Android Util Code KTX! It's time to improve your development efficiency! (Continuous updates...)

Preface The first contact with Kotlin was in 2017, when Kotlin was not upgraded, nor was it the official Android development language. As for how Amway got me, if I remember correctly, it should be Open Source Lab Kotlin tutorial. At that time, almost no one was studying Kotlin, and there were few related materials on the Internet. I also trans ...

Posted by gford on Fri, 19 Jul 2019 10:35:43 +0200