bind

var rec = new XS.model.User({ id: 12, name: 'Foo' }); var viewModel = new Ext.app.ViewModel({ links: { theUser: { type: 'xsT_comeg8989o', id: 17 } }, data: { otherUser: rec } }); viewModel.bind('{otherUser.name}', function(v) { console.log(v+'afasfasfasfafafasdf'); }); viewModel.set('otherUser.name',999)  

Static analysis of Android reverse

Presumably all the CTF guys have touched the Android converse more or less, so Big Brother is going to give you a whole series of static and dynamic analysis of the Android converse. This installment begins with a static analysis of the Android reverse, including the use of reverse tools, file descriptions, example parsing, and so on.. AndroidReverse is the process of decompilation, because you do not understand the Android forward compiled results, so the premise of static analysis in CTF is to decompile the file appears to us to understand a layer of source code, static analysis. 0X01 Basic...

Ajax encountered problems that could not be sent, and no return information was received.

1.When I did ajax, the data was sent successfully, and the background confirmed that the message was returned, but it couldn’t be received in success anyway. The reason I met was due to the wrong dataType return value type. var url = "Request data interface / path ";$.ajax ({Method:'post',Async:false,DataTye:'json',Url:url,Success:function (data)) {Console.log ("return value" +data);}}) In the last section of Ajax sending, the background gave me a text-type data when I returned, but my dataType was written as json, causing how to print out the returned data, small details, can not be ...

Several Linux commands commonly used to troubleshoot online problems

top Equivalent to Windows Task Manager As you can see, the output is divided into two parts, the first five lines are the overview, the following is the specific process resource usage.Look at the following line by line. First lines top – 18:14:58 up 112 days,  1:35,  1 user,  load average: 0.00, 0.10, 0.11 In turn: the current time, the time the system has been running, the number of users currently logged in, the system in the past 1 minute, 5 minutes, 15 minutes of load (PS: From this line, we can know the following information The current time is 18:14:58. The system has be...

15, Linux memcpy function

  Function prototype   void *memcpy(void*dest, const void *src, size_t n);   function   Data of N consecutive bytes from SRC to address is copied into a space where destination to address is the starting address.   header file   #include<string.h>   Return value     The function returns a pointer to dest.     Explain     1.sourceAnd Destin refers to the memory area can not be overlapped, the function returns a pointer to Destin.     2.Compared with strcpy, memcpy does not end with’\0′, but it will copy n bytes.   memcpyUsed for memory co...