<?php //加密 function base62_encode($data){ $base62str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; $data = strval($data); $base62 = str_split($base62str); $len = strlen($data); $i = 0; $tmpArr = array(); while($i<$len){ $val = $data[$i]; $tmp...
public class HdfsClientDemo1 { public static void main(String[] args) throws Exception { // 0获取配置信息 Configuration configuration = new Configuration(); // 配置在集群上运行 //fs.defaultFS设置namenode configuration.set("fs.defaultFS", "hdfs://hadoop102:9000"); //1 获取文件系统 FileSystem...
sizeof(buf));if(addr!=NULL&&::ReadProcessMemory(::GetCurrentProcess(),addr,buf,4,NULL)){entry.stringList.push_back(std::make_pair(addr,std::string(buf)));}BYTEtemp[16];if(instr.opcode==0x68){memcpy(temp,c,instr.len);*(PVOID*)(temp+1)=*(PVOID*)buf;}else{instr.addr_l[0]=...
shm_locks:optionalstring. The name of alua_shared_dict. When specified, lua-resty-lock will use this shared dict to store its locks. This option can help reducing cache churning: when the L2 cache (shm) is full, every insertion (such as locks created by concurrent accesses triggering L3 c...
split():Table - separates the string by whitespace into a table of strings remove_range(between:Range):Str - removes characters within the range +(other:Obj):Str - concatenates the string and other.stringify *(count:Int):Str - repeats the string count times ==(other:Obj):Bool - returns...
editor.Property[string key | int key] = string value | int value [WO] Set up a value that may be used by a lexer for some optional feature editor.PropertyInt[string key | int key] = int value\n [RO] Retrieve a "property" value previously set with SetProperty, interpreted as an ...
The rest of default.conf comprises Nginx 'server' blocks. Because I support multiple versions of Grafana at once, I've split out each version into its own port. Reverse-proxying can be a complex topic, but it is good to know that Grafana has documentation for correctlyreverse-proxying Grafan...
The idea of the framework is liking a Windows Message/Event Driven mode. A serial of events you can define, and handle them in a callback function. The key point is an event can be defined as triggered how many times within a period orinfinitetime. ...
LDoc is intended to be compatible withLuaDocand thus follows the pattern set by the various *Doc tools: --- Summary ends with a period.-- Some description, can be over several lines.-- @param p1 first parameter-- @param p2 second parameter-- @return a string value-- @see second_fun...
offline: returns number of seconds of the current offline period (or 0 if alive) total_offline: returns number of seconds of the overall offline latency: returns the current average latency in seconds (or 0 if offline)Parameters:url {string}: resource to monitor type {string}: type of monit...