SSH into Root
$ ssh [email protected]
Change Root Password
| var config = { | |
| "menu":[], | |
| "widget":[] | |
| }; | |
| var setConfig =function(){ | |
| $.each($('[data-type]'), function(index, data){ | |
| if(data.dataset.type =="menu"){ | |
| $(data).find('ul li').each(function(index, data){ | |
| config.menu.push($(data).text()); |
SSH into Root
$ ssh [email protected]
Change Root Password
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParentelem.clientLeft, elem.clientTop, elem.clientWidth, elem.clientHeightelem.getClientRects(), elem.getBoundingClientRect()