• Binding small programs and official account (through open platform)


    Apply for open platform, and bind official account and applet. The applet is authorized to log in and get the unionid When the official account is concerned, get unnionID and query whether unionID exists, then exist, update official account openid information, and there is no new one. Reference documents: Official account No. unionID mechanism: https://developers.weixin.qq…. […]

  • An article to learn how to choose JS HTTP request Library


    Request principle 1.1 browser The browser implements HTTP request through XMLHttpRequest object. In ancient times, IE6 used activexobject object to implement HTTP request. At present, it has been used by nobody and does not consider compatibility. The new fetch API proposed by W3C standard is based on promise, which is more convenient to call than […]

  • Big data development – to solve several common problems in Windows development environment


    1. Background A lot of people don’t agree with the test environment for big data development. In fact, repeated packaging, uploading and testing takes only a few minutes each time, but it often takes a lot of time to accumulate. However, a complete test environment is often difficult to form a closed loop in the […]

  • Appdelegate. M lifecycle


    AppDelegate.m // // AppDelegate.m // FirstIOS // // Created by MaTsonga on 14-2-23. //Copyright (c) 2014 matsonga. All rights reserved // #import “AppDelegate.h” @interface AppDelegate () @end @implementation AppDelegate – (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { Nslog (@ “program started…); return YES; } – (void)applicationWillResignActive:(UIApplication *)application { Nslog (@ “program will lose focus…); // Sent when […]

  • MapReduce of Hadoop (2) introduction of workflow and inputformat


    1. Complete MapReduce program A complete MapReduce program includes two types of instance processes in distributed operation1) Mrappmaster: responsible for the scheduling and state coordination of the whole program running process2) Yarnchild: responsible for the whole data processing process of map phase3) Yarnchild: responsible for the whole data processing process in the reduce phase.Maptask and […]

  • Programming language should not be talked about without the development environment


    When it comes to programming language, some netizens will make some false empty remarks such as “casually”, “Mastering the essence”, “IDE is not important, language and programming method are important”, etc. this kind of speech is widely spread. Whenever someone wants to learn some programming, these people will come out with a lot of words. […]

  • Using Python to develop app, let’s see how it works.


    The text and pictures of this article are from the Internet, only for learning and communication, and do not have any commercial use. The copyright belongs to the original author. If you have any questions, please contact us in time This article is from Tencent cloud by Python sophomore Recently, I thought of trying to […]

  • Linux multi process programming and network programming related knowledge you really master???


    If you are very interested in the following questions and really lack the following questions, then I think you can look down. I also think you need to improve your core knowledge. If not, then this article is of little value to you. There’s no need to waste time reading. https://segmentfault.com/a/11… What is ELF fileWhat […]

  • Gyp err! Find Python solution


    The command line error is as follows E:\vue-admin\node_modules\fibers>if not defined npm_config_node_gyp (node “D:\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js” rebuild –releas e ) else (node “D:\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js” rebuild –release ) gyp ERR! find Python gyp ERR! find Python Python is not set from command line or npm configuration gyp ERR! find Python Python is not set from environment variable PYTHON gyp ERR! […]

  • Wechat applet uses goeasy to realize websocket real-time communication


    A series of articles: Wechat applet uses goeasy to realize websocket real-time communication Using goeasy to realize websocket real time communication in uniapp It doesn’t need to be downloaded and installed, and it can be quickly forwarded between wechat friends and wechat groups. Users only need to scan the code or click in wechat to […]

  • Mongodb primary series 2: adding, deleting, modifying and querying in node


    preface In the last article(Mongodb primary series 1: users and permissions)Describes the user and permissions, this article will introduce how to add, delete, modify and query in the node. get ready First, to use mongodb in a node, you need to install mongodb driver. The command is as follows:npm install mongodb –saveGitHub address:node-mongodb-native At the […]

  • CMD redirection


    1. Execute a single CMD command public static string ExecuteCmd(string command) { Process p = new Process(); p.StartInfo.FileName = “cmd.exe”; p. StartInfo.UseShellExecute =False; // do you want to start using the operating system shell p. StartInfo.RedirectStandardInput =True; // accepts input from the calling program p. StartInfo.RedirectStandardOutput =True; // get the output information from the calling […]