Blogs tagged jerry wang s blog
-
There is a method finalized defined on Object: In order to test this method, I wrote the following test code: package basic; public class finalizeTest { private String name; public void finalize(){ System.out.println("finalize called: "... Read More »0Comments0Likes -
find your Yaas client id here: and client id and client secret could be found here: This will be used as tenant id: Now you can get OAuth token here: scope = hybris.document_view hybris.document_manage hybris.tenant=wishlistjerry Then we can... Read More »0Comments1Like -
The ‘generate-service’ plug-in goal The ‘generate-client’ plug-in goal Open url: https://devportal.yaas.io/tools/servicesdk/index.html#Plug-ins The ‘generate-service’ plug-in goal This goal provides... Read More »0Comments1Like -
1. Install WAMPServer: Change Apache server default port 80 to another port: configuration: <installation folder>\bin\apache\apache2.4.9\conf\httpd.conf 2. In Eclipse, specify PHP Executable: debug setting: Create a new debug... Read More »0Comments0Likes -
Source code: https://github.com/i042416/react-demos/blob/master/demo02/index.html If you would like to debug line 20 and 24 and set a JavaScript breakpoint there, the breakpoint can never be triggered, since the source code is written with a... Read More »0Comments1Like -
Test code: class Prefixer(val prefix: String){ def addPrefix(s: String)(p: Prefixer) = p.prefix + s } Consumer code: val myImplicitPrefixer = new Prefixer("***") println(myImplicitPrefixer.addPrefix("abc")(myImplicitPrefixer)) // returns... Read More »0Comments0Likes -
insert operation comparison read operation comparison I construct three internal tables with different table types: The complete test source code could be found in the end part of the blog. insert operation comparison The hashed table is least... Read More »1Comment4Likes -
There is a piece of JavaScript codes below: const add = x => y => x + y var c = add(1)(2); When executed, c is equal to 3 in the runtime. Why? Let’s debug in Chrome. 1. Only one argument, 1. Pay attention to the highlight part in... Read More »0Comments0Likes -
Calculate MD5 for string “Jerry” via ABAP Calculate via JavaScript Calculate MD5 for string “Jerry” via ABAP source code: DATA: md5_160 TYPE hash160. CALL FUNCTION 'CALCULATE_HASH_FOR_CHAR' EXPORTING alg ... Read More »0Comments2Likes -
This option is available in Chrome development tool – Settings – General: If it is switched off: If switched on, when you hover the mouse to the given row in Network tab, the duration of two types of time used, Waiting and Content... Read More »0Comments0Likes