3 different CPUs:
Note: this CPU is virtual, it is the same as on slice.
Model name: Intel Xeon Processor (Cascadelake)
Stepping: 6
CPU MHz: 2095.068
BogoMIPS: 4190.13
CPU MHz: 2095.068
BogoMIPS: 4190.13
var $ = jQuery; | |
function getProp(propName) { | |
var props = ""; | |
$(".eItemProperties_name").each(function(i, e){ | |
if ($(e).text().indexOf(propName) != -1) { | |
props = $($(e).siblings()[0]).text().replace(/\s+/g, " ").trim(); | |
} | |
}); | |
return props; | |
} |
public static AccessibilityNodeInfo findNoButton(final AccessibilityNodeInfo source, final String keyword) { | |
Queue<AccessibilityNodeInfo> queue = new ArrayDeque<>(); | |
if (source == null) { | |
return null; | |
} | |
queue.add(source); | |
while (!queue.isEmpty()) { | |
AccessibilityNodeInfo cur = queue.poll(); | |
for (int i = 0; i < cur.getChildCount(); i++) { | |
AccessibilityNodeInfo child = cur.getChild(i); |
2.2 SharedPreference
# import the necessary packages | |
import numpy as np | |
import imutils | |
import cv2 | |
class Stitcher: | |
def __init__(self): | |
# determine if we are using OpenCV v3.X | |
self.isv3 = imutils.is_cv3() |
glossGenerator("CLChatFile", { | |
id: "Int64", | |
regDate: "Date", | |
ownerId: "Int64?", | |
filename: "String", | |
mimeType: "String", | |
length: "Int64", | |
md5: "String" | |
}) |
# for randomly dropping 10% of incoming packets: | |
iptables -A INPUT -m statistic --mode random --probability 0.1 -j DROP | |
# and for dropping 10% of outgoing packets: | |
iptables -A OUTPUT -m statistic --mode random --probability 0.1 -j DROP |
function WindowController () { | |
this.id = Math.random(); | |
this.isMaster = false; | |
this.others = {}; | |
window.addEventListener( 'storage', this, false ); | |
window.addEventListener( 'unload', this, false ); | |
this.broadcast( 'hello' ); |
@Override | |
public void onWindowFocusChanged(boolean hasFocus) { | |
super.onWindowFocusChanged(hasFocus); | |
// логика | |
} | |
private void toggleFullscreen(final boolean fullscreen) { | |
getSupportActionBar().hide(); | |
if (fullscreen) { | |
if (Build.VERSION.SDK_INT >= 19) { |