Python怎么将UTF-8字符串(“%u4E0A%u7F51”)还原为中文?

类似于 %u4E0A%u7F51 这一类型的字符串我也不是很清楚具体是什么编码格式。在网上好几种UTF-8转换工具(https://www.jsdaima.com/tools/utf8http://tool.oschina.net/encode?type=2 )上都能转换为中文,但是暂时在网上搜索utf8转码问题,还没找到能将其还原的python代码。

1个回答

sinat_37734954
复位宸星 大概刚才钻进牛角尖了,谢谢
10 个月之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
Python+OpenCV计算机视觉

Python+OpenCV计算机视觉

无法通过Python验证RSASSA-PSS签名-> Go

<div class="post-text" itemprop="text"> <p>I've boiled this down to the simplest test case I can. I need to take RSASSA-PSS signatures that were generated in Python and validate them in Go. The Python code to create the RSA keypair and sign with it is as follows:</p> <pre><code>&gt;&gt;&gt; from tuf import pycrypto_keys as k &gt;&gt;&gt; pub, priv = k.generate_rsa_public_and_private() &gt;&gt;&gt; sig, method = k.create_rsa_signature(priv, "The quick brown fox jumps over the lazy dog.") &gt;&gt;&gt; sig.encode("hex") '4e05ee9e435653549ac4eddbc43e1a6868636e8ea6dbec2564435afcb0de47e0824cddbd88776ddb20728c53ecc90b5d543d5c37575fda8bd0317025fc07de62ee8084b1a75203b1a23d1ef4ac285da3d1fc63317d5b2cf1aafa3e522acedd366ccd5fe4a7f02a42922237426ca3dc154c57408638b9bfaf0d0213855d4e9ee621db204151bcb13d4dbb18f930ec601469c992c84b14e9e0b6f91ac9517bb3b749dd117e1cbac2e4acb0e549f44558a2005898a226d5b6c8b9291d7abae0d9e0a16858b89662a085f74a202deb867acab792bdbd2c36731217caea8b17bd210c29b890472f11e5afdd1dd7b69004db070e04201778f2c49f5758643881403d45a58d08f51b5c63910c6185892f0b590f191d760b669eff2464456f130239bba94acf54a0cb98f6939ff84ae26a37f9b890be259d9b5d636f6eb367b53e895227d7d79a3a88afd6d28c198ee80f6527437c5fbf63accb81709925c4e03d1c9eaee86f58e4bd1c669d6af042dbd412de0d13b98b1111e2fadbe34b45de52125e9a' </code></pre> <p>The pycrypto_keys library referenced there can be found <a href="https://github.com/theupdateframework/tuf/blob/develop/tuf/pycrypto_keys.py" rel="nofollow">here</a> for reference of the specific implementation of the functions <code>generate_rsa_public_and_private</code> and <code>create_rsa_signature</code>.</p> <p>My Go test consists of 2 simple files that only rely on core packages. First the verification function, in verify.go:</p> <pre><code>package example import ( "crypto" "crypto/rsa" "crypto/sha256" "crypto/x509" "fmt" ) func Verify(key []byte, sig []byte, msg []byte) error { digest := sha256.Sum256(msg) pub, err := x509.ParsePKIXPublicKey(key) if err != nil { return fmt.Errorf("Failed to parse key") } rsaPub, ok := pub.(*rsa.PublicKey) if !ok { return fmt.Errorf("Invalid value returned from ParsePKIXPublicKey") } opts := rsa.PSSOptions{SaltLength: 16, Hash: crypto.SHA256} if err = rsa.VerifyPSS(rsaPub, crypto.SHA256, digest[:], sig, &amp;opts); err != nil { return fmt.Errorf("Failed Verification") } return nil } </code></pre> <p>And second, a test case. The key pair and signature were generated using the Python commands at the top and copied in here to create a static set of parameters to use for compatibility testing.</p> <pre><code>package example import ( "encoding/hex" "encoding/pem" "testing" ) func TestPyCryptoRSACompatVerify(t *testing.T) { pubPem := "-----BEGIN PUBLIC KEY----- MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAnKuXZeefa2LmgxaL5NsM zKOHNe+x/nL6ik+lDBCTV6OdcwAhHQS+PONGhrChIUVR6Vth3hUCrreLzPO73Oo5 VSCuRJ53UronENl6lsa5mFKP8StYLvIDITNvkoT3j52BJIjyNUK9UKY9As2TNqDf BEPIRp28ev/NViwGOEkBu2UAbwCIdnDXm8JQErCZA0Ydm7PKGgjLbFsFGrVzqXHK 6pdzJXlhr9yap3UpgQ/iO9JtoEYB2EXsnSrPc9JRjR30bNHHtnVql3fvinXrAEwq 3xmN4p+R4VGzfdQN+8Kl/I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rIFiYid4BrMrwW mSeq1LZVS6siu0qw4p4OVy+/CmjfWKQD8j4k6u6PipiK6IMk1JYIlSCr2AS04JjT jgNgGVVtxVt2cUM9huIXkXjEaRZdzK7boA60NCkIyGJdHWh3LLQdW4zg/A64C0lj IMoJBGuQkAKgfRuh7KI6Q6Qom7BM3OCFXdUJUEBQHc2MTyeZAoHAJdBQGBn1RFZ+ n75AnbTMZJ6Twp2fVjzWUz/+rnXFlo87ynA18MR2BzaDST4Bvda29UBFGb32Mux9 OHukqLgIE5jDuqWjy4B5eCoxZf/OvwlgXkX9+gprGR3axn/PZBFPbFB4ZmjbWLzn bocn7FJCXf+Cm0cMmv1jIIxej19MUU/duq9iq4RkHY2LG+KrSEQIUVmImCftXdN3 /qNP5JetY0eH6C+KRc8JqDB0nvbqZNOgYXOfYXo/5Gk8XIHTFihm -----END RSA PRIVATE KEY-----" testStr := "The quick brown fox jumps over the lazy dog." sigHex := "4e05ee9e435653549ac4eddbc43e1a6868636e8ea6dbec2564435afcb0de47e0824cddbd88776ddb20728c53ecc90b5d543d5c37575fda8bd0317025fc07de62ee8084b1a75203b1a23d1ef4ac285da3d1fc63317d5b2cf1aafa3e522acedd366ccd5fe4a7f02a42922237426ca3dc154c57408638b9bfaf0d0213855d4e9ee621db204151bcb13d4dbb18f930ec601469c992c84b14e9e0b6f91ac9517bb3b749dd117e1cbac2e4acb0e549f44558a2005898a226d5b6c8b9291d7abae0d9e0a16858b89662a085f74a202deb867acab792bdbd2c36731217caea8b17bd210c29b890472f11e5afdd1dd7b69004db070e04201778f2c49f5758643881403d45a58d08f51b5c63910c6185892f0b590f191d760b669eff2464456f130239bba94acf54a0cb98f6939ff84ae26a37f9b890be259d9b5d636f6eb367b53e895227d7d79a3a88afd6d28c198ee80f6527437c5fbf63accb81709925c4e03d1c9eaee86f58e4bd1c669d6af042dbd412de0d13b98b1111e2fadbe34b45de52125e9a" testKey, _ := pem.Decode([]byte(pubPem)) sigBytes, err := hex.DecodeString(sigHex) if err != nil { t.Fatal(err) } err = Verify(testKey.Bytes, sigBytes, []byte(testStr)) if err != nil { t.Fatal(err) } } </code></pre> <p>The code fails in the final check of the Verify function, outputting the error <code>Failed verification</code>. I've had a look at the Go PSS verification code and if anything goes wrong, a generic verification error is returned so it's not that helpful. Even if it was more specific, either there is a compatibility problem here, a bug in one of the language implementations, or my code is wrong.</p> <p>Much thanks for any help.</p> </div>

谁知道这段代码的内容是什么???

\u0048\u0069\uff0c\u0066\u0072\u0069\u0065\u006e\u0064\uff01\u6781\u4e50\u7f51\u6b22\u8fce\u4f60\uff1a\u0077\u0077\u0077\u002e\u0064\u0072\u0065\u0061\u0077\u0065\u0072\u002e\u0063\u006f\u006d\ua\u6211\u4eec\u53ea\u662f\u60f3\u7528\u4e00\u79cd\u66f4\u5e7d\u9ed8\u65b9\u5f0f\u671f\u5f85\u4e0e\u4f60\u7684\u76f8\u8bc6\uff0c\u4e89\u53d6\u4e00\u6b21\u4f60\u7684\u4e00\u6b21\u56de\u7738\uff01\ua\u6781\u4e50\u7f51\u662f\u4e00\u4e2a\u6280\u672f\u4eba\u5458\u7684\u95ee\u7b54\u7f51\u7ad9\uff0c\u5728\u8fd9\u91cc\u4e0d\u4ec5\u6709\u5f88\u591a\u6280\u672f\u4eba\u5458\u53ef\u4ee5\u81ea\u7531\u7684\u4ea4\u6d41\uff0c\u5e76\u4e14\u8fd8\u53ef\u4ee5\u5173\u6ce8\u4e0d\u540c\u9886\u57df\u7684\u524d\u6cbf\u4ea7\u54c1\u3002\ua\u671f\u5f85\u60a8\u7684\u5230\u6765\uff0c\u4e0e\u6211\u4eec\u4e00\u540c\u4ea4\u6d41\u3001\u5b66\u4e60\u3001\u8fdb\u6b65\uff01

去字符串。包含()比Python3慢2倍?

<div class="post-text" itemprop="text"> <p>Am converting a text pattern scanner from Python3 to Go1.10, but am surprised it is actually 2 times slower. Upon profiling, the culprit is in <code>strings.Contains()</code>. See the simple benchmarks below. Did I miss anything? Could you recommend a faster pattern search algorithm for Go that would perform better in this case? I'm not bothered about startup time, the same pattern will be used to scan millions of files. </p> <p>Py3 benchmark:</p> <pre><code>import time import re RUNS = 10000 if __name__ == '__main__': with open('data.php') as fh: testString = fh.read() def do(): return "576ad4f370014dfb1d0f17b0e6855f22" in testString start = time.time() for i in range(RUNS): _ = do() duration = time.time() - start print("Python: %.2fs" % duration) </code></pre> <p>Go1.10 benchmark:</p> <pre><code>package main import ( "fmt" "io/ioutil" "log" "strings" "time" ) const ( runs = 10000 ) func main() { fname := "data.php" testdata := readFile(fname) needle := "576ad4f370014dfb1d0f17b0e6855f22" start := time.Now() for i := 0; i &lt; runs; i++ { _ = strings.Contains(testdata, needle) } duration := time.Now().Sub(start) fmt.Printf("Go: %.2fs ", duration.Seconds()) } func readFile(fname string) string { data, err := ioutil.ReadFile(fname) if err != nil { log.Fatal(err) } return string(data) } </code></pre> <p><code>data.php</code> is a 528KB file that can be <a href="https://raw.githubusercontent.com/gwillem/magento-malware-scanner/master/corpus/backend/3f34f51c981a9ddcfb0f41815c7dad49" rel="nofollow noreferrer">found here</a>.</p> <p>Output:</p> <pre><code>Go: 1.98s Python: 0.84s </code></pre> </div>

在修改别人的新闻客户端,在logcat中能够解析出jason信息,但是在手机中缺无法显示

![图片说明](https://img-ask.csdn.net/upload/201601/12/1452580032_513873.png) 能够解析出来 但是listview中没有任何显示。大致上的代码如图!大神能够帮忙的话,源码在这链接:http://pan.baidu.com/s/1jGVzvHc 密码:1nsl public class HttpUtils { public static void getNewsJSON(final String url, final Handler handler){ new Thread(new Runnable() { @Override public void run() { HttpURLConnection conn; InputStream is; try { conn = (HttpURLConnection) new URL(url).openConnection(); conn.setRequestMethod("GET"); is = conn.getInputStream(); BufferedReader reader = new BufferedReader(new InputStreamReader(is)); String line = ""; StringBuilder result = new StringBuilder(); while ( (line = reader.readLine()) != null ){ result.append(line); } Message msg = new Message(); msg.obj = result.toString(); handler.sendMessage(msg); } catch (Exception e) { e.printStackTrace(); } } }).start(); } public static void setPicBitmap(final ImageView thumb_value, final String custom_fields){ new Thread(new Runnable() { @Override public void run() { try { HttpURLConnection conn = (HttpURLConnection) new URL(custom_fields).openConnection(); conn.connect(); InputStream is = conn.getInputStream(); Bitmap bitmap = BitmapFactory.decodeStream(is); thumb_value.setImageBitmap(bitmap); is.close(); } catch (Exception e) { e.printStackTrace(); } } }).start(); } } ``` public class News { private String title; private String excerpt; private String date; private String id; private String thumb_value; private String custom_fields; public News(String title, String excerpt, String date, String id, String custom_fields,String thumb_value ){ setTitle(title); setExcerpt(excerpt); setDate(date); setId(id); setCustom_fields(custom_fields); setThumb_value(thumb_value);} public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getExcerpt() { return excerpt; } public void setExcerpt(String excerpt) { this.excerpt = excerpt; } public String getDate() { return date; } public void setDate(String date) { this.date = date; } public String getId() { return id; } public void setId(String id) { this.id = id; } public String getThumb_value() { return thumb_value; } public void setThumb_value(String thumb_value) { this.thumb_value = thumb_value; } public String getCustom_fields() { return custom_fields; } public void setCustom_fields(String custom_fields) { this.custom_fields = custom_fields; } } ``` public class NewsAdapter extends BaseAdapter { private Context context; private List<News> newsList; public NewsAdapter(Context context, List<News> newsList){ this.context = context; this.newsList = newsList; } @Override public int getCount() { return newsList.size(); } @Override public News getItem(int position) { return newsList.get(position); } @Override public long getItemId(int position) { return position; } @Override public View getView(int position, View convertView, ViewGroup parent) { if (convertView == null){ convertView = LayoutInflater.from(context).inflate(R.layout.news_item, null); } TextView Title = (TextView) convertView.findViewById(R.id.Title); TextView excerpt = (TextView) convertView.findViewById(R.id.excerpt); TextView date = (TextView) convertView.findViewById(R.id.date); ImageView thumb_value = (ImageView) convertView.findViewById(R.id.thumb_value); News news = newsList.get(position); Title.setText(news.getTitle()); excerpt.setText(news.getExcerpt()); date.setText(news.getDate()); String custom_fields = news.getCustom_fields(); HttpUtils.setPicBitmap(thumb_value,null); return convertView; } } ``` private Handler getNewsHandler = new Handler(){ public void handleMessage(android.os.Message msg) { String jsonData = (String) msg.obj; System.out.println(jsonData); try { JSONArray jsonArray = new JSONArray(jsonData); for (int i=0;i<jsonArray.length();i++){ JSONObject object = jsonArray.getJSONObject(i); String id = object.getString("id"); String title = object.getString("title"); String excerpt = object.getString("excerpt"); String date = object.getString("date"); String custom_fields = object.getString("custom_fields"); String thumb_value = object.getString("thumb_value"); /*System.out.println("title = " +title); System.out.println("thumb_value = " +thumb_value);*/ newsList.add(new News(id, title, excerpt, date,custom_fields, thumb_value )); } /*adapter.notifyDataSetChanged();*/ } catch (Exception e) { e.printStackTrace(); } }; }; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); lvNews = (ListView) findViewById(R.id.lvNews); newsList = new ArrayList<News>(); adapter = new NewsAdapter(this, newsList); lvNews.setAdapter(adapter); lvNews.setOnItemClickListener(this); HttpUtils.getNewsJSON(GET_NEWS_URL, getNewsHandler); } @Override public void onItemClick(AdapterView<?> arg0, View arg1, int position, long arg3) { News news = newsList.get(position); Intent intent = new Intent(this, BrowseNewsActivity.class); intent.putExtra("Excerpt", news.getExcerpt()); startActivity(intent); } } ``` public class BrowseNewsActivity extends Activity { private WebView webView; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.acitivy_browse_news); webView = (WebView) findViewById(R.id.webView); String Excerpt = getIntent().getStringExtra("Excerpt"); webView.loadUrl(Excerpt); webView.getSettings().setJavaScriptEnabled(true); webView.getSettings().setCacheMode(WebSettings.LOAD_CACHE_ELSE_NETWORK); } } ``` 这是jason链接获取的数组,貌似我开头那段没有获取 { "status": "ok", "count": 20, "count_total": 2440, "pages": 122, "posts": [{ "id": 3562, "title": "\u6d77\u5b81\u6709\u4eba\u975e\u6cd5\u96c6\u8d44600\u591a\u4e07\uff0c\u8fd180\u4eba\u53d7\u9a97\uff01", "excerpt": "<p>\u4ece\u53bb\u5e74\u5f00\u59cb\uff0c\u6709\u5f88\u591a\u8001\u4eba\u5bb6\u53d7\u5230\u9ad8\u989d\u5229\u606f\u7684\u8bf1\u60d1\uff0c\u628a\u94b1\u6295\u8fdb\u4e86\u4e00\u4e2a\u6240\u8c13\u7684\u6d77\u5b81\u6295\u8d44\u7ba1\u7406\u516c\u53f8\u3002\u7ed3\u679c\u5462\u8fd9\u4e00\u5bb6\u6295\u8d44\u516c\u53f8\u641e\u7684\u662f\u975e ...<\/p>\n", "date": "2016-01-13 10:22:18", "comment_count": 0, "custom_fields": {} }, { "id": 3534, "title": "\u6628\u5929\u4e0b\u5348\uff0c\u6d77\u5b81\u8857\u5934\u60ca\u73b03000\u4e07\u4fdd\u65f6\u6377\u8f66\u961f\uff0c\u8fd9\u662f\u600e\u4e48\u4e86\uff1f", "excerpt": "<p>\u6628\u513f\u4e2a\u4e0b\u5348\uff0c\u6d77\u5b81\u7684\u8857\u5934\u5f88\u662f\u70ed\u95f9\uff0c\u4e00\u6392\u7684\u4fdd\u65f6\u6377\u8f66\u8f86\u961f\u4f0d\u5de1\u6e38\uff0c\u90a3\u573a\u9762\u662f\u76f8\u5f53\u58ee\u89c2\uff0c\u636e\u8bf4\u662f\u4fdd\u65f6\u6377\u5e74\u4f1a\uff1f\u5230\u5e95\u53d1\u751f\u4e86\u4ec0\u4e48\uff0c ...<\/p>\n", "date": "2016-01-08 10:08:34", "comment_count": 0, "custom_fields": {} }, { "id": 3530, "title": "\u6628\u5929\u65e9\u4e0a\uff0c\u6d77\u5b81\u4e01\u6865\u53d1\u751f\u4e00\u8d77\u60b2\u5267\uff0c\u649e\u6210\u8fd9\u6837\u5f00\u7684\u5f97\u6709\u591a\u5feb\uff01", "excerpt": "<p>\u636e\u7f51\u53cb\u7206\u6599\uff1a\u6628\u5929\u65e9\u4e0a6\u70b9\u591a\u5de6\u53f3\uff0c\u6d77\u5b81\u4e01\u6865\u8054\u4e01\u7ebf\u9644\u8fd1\u53d1\u751f\u8f66\u7978\uff0c\u4e00\u8f86\u96ea\u4f5b\u5170\u8f7f\u8f66\u649e\u5728\u4e86\u6811\u4e0a\uff0c\u9a7e\u9a76\u5ba4\u88ab\u6324\u533e\u3002\u636e\u56f4\u89c2\u7fa4\u4f17 ...<\/p>\n", "date": "2016-01-04 11:09:36", "comment_count": 0, "custom_fields": { "thumb_value": ["http:\/\/www.zjhaining.com\/wp-content\/uploads\/2016\/01\/640.webp-2.jpg"] } }, { "id": 3522, "title": "\u6d77\u5b81\u8bb8\u6751\u53d1\u751f\u8f66\u7978 \u5730\u4e0a\u90fd\u662f\u8840 \u6c7d\u8f66\u51b2\u8fdb\u8349\u576a\uff01", "excerpt": "<p>\u636e\u7f51\u53cb\u201c@\u5ff5\u5ff5\u4e0d\u5fd8\u201d\u7206\u6599\uff1a\u6d77\u5b81\u897f\u7ad9\u62a5\u56fd\u6751\u9644\u8fd1\u53d1\u751f\u4ea4\u901a\u4e8b\u6545\uff0c\u4e24\u8f66\u76f8\u649e\uff0c\u8f66\u5934\u635f\u6bc1\u4e25\u91cd\uff0c\u4e00\u8f66\u76f4\u63a5\u51b2\u8fdb\u4e86\u8349\u576a\u91cc\uff0c\u6709\u4eba\u5458 ...<\/p>\n", "date": "2016-01-03 10:30:58", "comment_count": 1, "custom_fields": { "thumb_value": ["http:\/\/www.zjhaining.com\/wp-content\/uploads\/2016\/01\/640.webp-22.jpg"] } }, { "id": 3408, "title": "\u5728\u6d77\u5b81\uff0c\u7adf\u4e5f\u80fd\u770b\u5230\u5982\u6b64\u7f8e\u4e3d\u7684\u661f\u7a7a\uff01", "excerpt": "<p>\u8bb0\u5f97\u591a\u4e45\u6ca1\u6709\u770b\u5230\u8fc7\u661f\u7a7a\u4e86\u4e48\uff1f\u4e60\u60ef\u4e8e\u4e0d\u518d\u62ac\u5934\u4ef0\u671b\uff0c\u4e60\u60ef\u4e8e\u88ab\u96fe\u973e\u4ee5\u53ca\u706f\u706b\u901a\u660e\u56f4\u7ed5\uff0c\u4e60\u60ef\u4e8e\u8d8a\u6765\u8d8a\u539a\u91cd\u7684\u955c\u7247\u3002\u4eca\u5929\uff0c\u6307 ...<\/p>\n", "date": "2015-12-16 09:45:00", "comment_count": 2, "custom_fields": { "thumb_value": ["http:\/\/www.zjhaining.com\/wp-content\/uploads\/2015\/12\/640.webp-211.jpg"] } }, { "id": 3400, "title": "\u3010\u7206\u6599\u3011\u6d77\u5b81\u65b0\u82d1\u8def\u4e24\u8f66\u76f8\u649e\uff0c\u8f66\u76f4\u63a5\u9a91\u5728\u4e86\u6811\u4e0a\uff01", "excerpt": "<p>\u636e\u7f51\u53cb\u7206\u6599\uff1a14\u65e5\u4e0a\u5348\uff0c\u6d77\u5b81\u98ce\u548c\u4e3d\u82d1\u95e8\u53e3\u4e24\u8f66\u76f8\u649e\uff0c\u8f66\u5934\u53d7\u635f\u4e25\u91cd\uff0c\u6811\u90fd\u649e\u6b6a\u4e86\uff01\u76ee\u524d\u4e8b\u6545\u7684\u5177\u4f53\u539f\u56e0\u8fd8\u5728\u8c03\u67e5\u4e2d\u3002 \u5c0f ...<\/p>\n", "date": "2015-12-16 09:33:17", "comment_count": 0, "custom_fields": { "thumb_value": ["http:\/\/www.zjhaining.com\/wp-content\/uploads\/2015\/12\/640.webp-110.jpg"] } }, { "id": 3383, "title": "8\u53f7\u508d\u665a\uff0c\u6d77\u5b81\u4e0a\u7a7a\u60ca\u73b0\u4e0d\u660e\u98de\u884c\u7269\uff1f", "excerpt": "<p>8\u53f7\u508d\u665a\u4e94\u70b9\u5de6\u53f3\uff0c\u6d77\u5b81\u5f88\u591a\u7f51\u53cb\u8868\u793a\u770b\u5230\u4e86\u5929\u7a7a\u4e2d\u7684\u4e0d\u660e\u98de\u884c\u7269\u3002\u5728\u5929\u7a7a\u4e2d\uff0c\u6709\u4e00\u6761\u50cf\u706b\u7bad\u7684\u5c3e\u90e8\u55b7\u5c04\u51fa\u7684\u706b\u7130\u4e00\u822c\u7684\u98de\u884c ...<\/p>\n", ```

iOS json格式数据在真机解析错误问题

现在有一串Json格式的数据,在模拟器上可以正常解析,但是放到真机上就无法解析了,求问这是什么原因?代码示例如下: NSString *str = @"\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\n\n\n{\"code\":0,\"message\":\"success\",\"data\":{\"id\":2,\"name\":\"js\",\"img\":\"http://download2.ptteng.com/skill/thumb/f943eafb-306c-4582-b97f-3d3aa5e7ace3.jpg\",\"brief\":\"计算机网络协议,面向对象和数据结构和java基本语法\",\"description\":\"这个世界上最流行的手机操作系统,Java大显神威。\",\"salary\":\"\\\"[]\\\"\",\"difficult\":3,\"threshold\":5,\"cycle\":\"5年\",\"company\":12980,\"basis\":\"0\",\"type\":\"front\",\"onlineGradeCount\":1,\"offlineGradeCount\":1,\"classCount\":17,\"onlineClassCount\":9,\"offlineClassCount\":8,\"onlineUserCount\":201,\"offlineUserCount\":1,\"coreUserCount\":0,\"modules\":\"[{\\\"name\\\":\\\"职业简介\\\",\\\"content\\\":\\\"统治世界\\\"},{\\\"name\\\":\\\"工作内容\\\",\\\"content\\\":\\\"传销\\\"},{\\\"name\\\":\\\"需要技能\\\",\\\"content\\\":\\\"口才\\\"},{\\\"name\\\":\\\"发展前景\\\",\\\"content\\\":\\\"6666\\\"},{\\\"name\\\":\\\"入门门槛\\\",\\\"content\\\":\\\"cs一级棒\\\"},{\\\"name\\\":\\\"谁更合适\\\",\\\"content\\\":\\\"男人女人\\\"},{\\\"name\\\":\\\"职业限制\\\",\\\"content\\\":\\\"不能撬动地球\\\"}]\"}}\n\n\n"; NSData *data = [str dataUsingEncoding:NSUTF8StringEncoding]; NSLog(@"%@",[NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingAllowFragments error:nil]); 将一串字符串使用UTF-8编码之后使用Json反序列化出来之后的数据可以正常打印,数据如下: { code = 0; data = { basis = 0; brief = "\U8ba1\U7b97\U673a\U7f51\U7edc\U534f\U8bae\Uff0c\U9762\U5411\U5bf9\U8c61\U548c\U6570\U636e\U7ed3\U6784\U548cjava\U57fa\U672c\U8bed\U6cd5"; classCount = 17; company = 12980; coreUserCount = 0; cycle = "5\U5e74"; description = "\U8fd9\U4e2a\U4e16\U754c\U4e0a\U6700\U6d41\U884c\U7684\U624b\U673a\U64cd\U4f5c\U7cfb\U7edf\Uff0cJava\U5927\U663e\U795e\U5a01\U3002"; difficult = 3; id = 2; img = "http://download2.ptteng.com/skill/thumb/f943eafb-306c-4582-b97f-3d3aa5e7ace3.jpg"; modules = "[{\"name\":\"\U804c\U4e1a\U7b80\U4ecb\",\"content\":\"\U7edf\U6cbb\U4e16\U754c\"},{\"name\":\"\U5de5\U4f5c\U5185\U5bb9\",\"content\":\"\U4f20\U9500\"},{\"name\":\"\U9700\U8981\U6280\U80fd\",\"content\":\"\U53e3\U624d\"},{\"name\":\"\U53d1\U5c55\U524d\U666f\",\"content\":\"6666\"},{\"name\":\"\U5165\U95e8\U95e8\U69db\",\"content\":\"cs\U4e00\U7ea7\U68d2\"},{\"name\":\"\U8c01\U66f4\U5408\U9002\",\"content\":\"\U7537\U4eba\U5973\U4eba\"},{\"name\":\"\U804c\U4e1a\U9650\U5236\",\"content\":\"\U4e0d\U80fd\U64ac\U52a8\U5730\U7403\"}]"; name = js; offlineClassCount = 8; offlineGradeCount = 1; offlineUserCount = 1; onlineClassCount = 9; onlineGradeCount = 1; onlineUserCount = 201; salary = "\"[]\""; threshold = 5; type = front; }; message = success; } 但是放到真机上运行的时候则打印结果如下: { code = 0; data = { basis = 0; brief = "\U8ba1\U7b97\U673a\U7f51\U7edc\U534f\U8bae\Uff0c\U9762\U5411\U5bf9\U8c61\U548c\U6570\U636e\U7ed3\U6784\U548cjava\U57fa\U672c\U8bed\U6cd5"; classCount = 17; company = 12980; coreUserCount = 0; cycle = "5\U5e74"; description = "\U8fd9\U4e2a\U4e16\U754c\U4e0a\U6700\U6d41\U884c\U7684\U624b\U673a\U64cd\U4f5c\U7cfb\U7edf\Uff0cJava\U5927\U663e\U795e\U5a01\U3002"; difficult = 3; id = 2; img = "http://download2.ptteng.com/skill/thumb/f943eafb-306c-4582-b97f-3d3aa5e7ace3.jpg"; modules = "[{\"name\":\"\U804c\U4e1a\U7b80\U4ecb\",\"content\":\"\U7edf\U6cbb\U4e16\U754c\"},{\"name\":\"\U5de5\U4f5c\U5185\U5bb9\",\"content\":\"\U4f20\U9500\"},{\"name\":\"\U9700\U8981\U6280\U80fd\",\"content\":\"\U53e3\U624d\"},{\"name\":\"\U53d1\U5c55\U524d\U666f\",\"content\":\"6666\"},{\"name\":\"\U5165\U95e8\U95e8\U69db\",\"content\":\"cs\U4e00\U7ea7\U68d2\"},{\"name\":\"\U8c01\U66f4\U5408\U9002\",\" 少了一部分数据,求问大神这是为什么?

python 爬虫遇到问题了,这个问题怎么办

我们老师让写一个爬虫,爬东方财富每个股票的历史流动资金,我写出来后,运行程序,前面没什么问题,到后面就有问题了 代码如下:import requests import pandas import json import pymssql import re #获取股票资金流量网页的数据 def GetHtml(url): html=requests.get(url) html=html.text return html #对数据进行拆分 def CleanData(html): Str_data=html[len('jQuery1830006374794149931473_1577602052640')+1:-2] #对数据进行切割 Str_data2=json.loads(Str_data)['data'] #对无用数据进行再切分获取代码和名称 print(Str_data2['code']) code = Str_data2['code'] #股票编码 name = Str_data2['name'] #股票名称 data=[] for i in range (len(Str_data2['klines'])): data.append(Str_data2['klines'][i]) dealData(data,name,code) data.clear() Str_data2.clear() #对拆分数据进行整理 def dealData(datalist,name,code): #对列表中元素进行切片 new_datalist = ''.join(datalist) new_datalist=new_datalist.split(',') Name=name Code=code #将新列表放入数据库中 insertDatabase(new_datalist,Name,Code) new_datalist.clear() #将数据导入数据库中 def insertDatabase(datalist,Name,Code): #对新列表数据进行分类 date=datalist[0] #时间 close_price=datalist[11] #收盘价 Quote_change=datalist[12] #涨跌幅 Main_net=datalist[1] #主力净额 Main_foce=datalist[6] #主力净占比 Over_net=datalist[5] #超大单净额 Over_foce=datalist[10] #超大单净占比 Big_net=datalist[4] #大单净额 Big_foce=datalist[9] #大单净占比 Mid_net=datalist[3] #中单净额 Mid_foce=datalist[8] #中单净占比 Sm_net=datalist[2] #小单净额 Sm_foce=datalist[7] #小单净占比 data=(Name,Code,date,close_price,Quote_change,Main_net,Main_foce,Over_net,Over_foce,Big_net,Big_foce,Mid_net,Mid_foce,Sm_net,Sm_foce) sql="insert into Moneymove values (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s);" #建立连接 conn = pymssql.connect(host="localhost:1433", user="sa", password="123456", database="test", charset="UTF-8") cursor = conn.cursor() #插入测试数据 cursor.execute(sql , data) conn.commit() del data conn.close() #创建数据库 def Createdatabase(): conn = pymssql.connect(host="localhost:1433", user="sa", password="123456", database="test", charset="UTF-8") cursor = conn.cursor() cursor.execute(""" create table Moneymove( 股票代码 varchar(100), 股票名称 varchar(100), 时间 varchar(100) , 收盘价 varchar(100), 涨跌幅 varchar(100), 主流净额 varchar(100), 主流净占比 varchar(100), 超大单净额 varchar(100), 超大单净占比 varchar(100), 大单净额 varchar(100), 大单净占比 varchar(100), 中单净额 varchar(100), 中单净占比 varchar(100), 小单净额 varchar(100), 小单净占比 varchar(100) ) """) conn.commit() conn.close() # def NeedData(): # 建立连接并获取cursor conn = pymssql.connect(host="localhost:1433", user="sa", password="123456", database="test", charset="UTF-8") cursor = conn.cursor() # 如果连接时没有设置autocommit为True的话,必须主动调用commit() 来保存更改。 conn.commit() # 查询记录 cursor.execute('SELECT 股票代码 From SwClass$ ') # 获取一条记录 row = cursor.fetchone() code_list=[] # 循环打印记录(这里只有一条,所以只打印出一条) for i in range (3769): if row[0] != None: if str(row[0][0]) =='6': code='1.'+row[0] code_list.append(code) else: code = '0.'+row[0] code_list.append(code) row = cursor.fetchone() return code_list # 连接用完后记得关闭以释放资源 conn.close() def main(): Createdatabase() code_list=NeedData() print(code_list) for i in code_list: url='http://push2his.eastmoney.com/api/qt/stock/fflow/daykline/get?lmt=0&klt=101&secid='+ str(i)+'&fields1=f1,f2,f3,f7&fields2=f51,f52,f53,f54,f55,f56,f57,f58,f59,f60,f61,f62,f63,f64,f65&ut=b2884a393a59ad64002292a3e90d46a5&cb=jQuery1830006374794149931473_1577602052640&_=1577602052949' html=GetHtml(url) CleanData(html) main() 出现的问题是这个: Traceback (most recent call last): File "C:/Users/VULCAN/Desktop/爬虫实习/3.py", line 135, in <module> main() File "C:/Users/VULCAN/Desktop/爬虫实习/3.py", line 134, in main CleanData(html) File "C:/Users/VULCAN/Desktop/爬虫实习/3.py", line 25, in CleanData dealData(data,name,code) File "C:/Users/VULCAN/Desktop/爬虫实习/3.py", line 39, in dealData insertDatabase(new_datalist,Name,Code) File "C:/Users/VULCAN/Desktop/爬虫实习/3.py", line 65, in insertDatabase conn = pymssql.connect(host="localhost:1433", user="sa", password="123456", database="test", charset="UTF-8") File "src\pymssql.pyx", line 636, in pymssql.connect File "src\_mssql.pyx", line 1957, in _mssql.connect File "src\_mssql.pyx", line 675, in _mssql.MSSQLConnection.__init__ ValueError: list.remove(x): x not in list 请问各位大佬,这要如何解决?

JAVA里的rsa公钥加密128位的明文加出来的结果一定是512位的密文吗?可以加出来256位的密文么?

1.明文:[1111111111111111 ] 补空格至128位,rsa公钥加密后: 公钥为:-----BEGIN PUBLIC KEY----- MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDZWHcxw/xXAB/8bquCnLrQ6QYafG9bcZZ4mq+A6GBn3QtW5Sia3JPERW0qD62/4PuNOXqKTj3cw4RnYYr29gZXv/F8DfmY1UpfQkJxLC9az4f9eEiuEm5axMzpl5V4BNpnVgnmDTRAv45ZKj+V6k9TZ8rVVSQqTEGLTQkpU38QIDAQAB -----END PUBLIC KEY----- 密文为:B4671AABC963BAEFED0B43E0704090F018EE19CB09172E74DAC27130A44AFF6060C118B79369E682C05B88404882B39374A0BB2ECEB8DAAA53C3F3F51B51D796540316BC2D89DD320DADBFD74B62A27C30BC162B936DFE16894E0F825CD6337D1E3F550685C901422355AB94EB5152DB305617155BF463D8CE98162D2A456351 试了各种方法,只有填充方式为RSA/ECB/nopadding时,每次加密的结果才保持一致,其他情况,每次加密的结果都不同; 由于rsa加密在明文大小超过117时会分段加密,所以我现在128加出来的密文是512位的, 请问各位大佬,怎么才能加出来上述miwen

紧急登rabbitmq启动报错的问题

2018-04-26 21:38:19.435 INFO 11449 --- [TaskExecutor-26] o.s.a.r.l.SimpleMessageListenerContainer : Restarting Consumer: tag=[null], channel=null, acknowledgeMode=AUTO local queue size=0 2018-04-26 21:38:22.533 WARN 11449 --- [TaskExecutor-24] o.s.a.r.l.SimpleMessageListenerContainer : Consumer raised exception, processing can restart if the connection factory supports it. Exception summary: org.springframework.amqp.AmqpIOException: java.io.IOException 2018-04-26 21:38:22.533 INFO 11449 --- [TaskExecutor-24] o.s.a.r.l.SimpleMessageListenerContainer : Restarting Consumer: tag=[null], channel=null, acknowledgeMode=AUTO local queue size=0 2018-04-26 21:38:25.632 WARN 11449 --- [TaskExecutor-12] o.s.a.r.l.SimpleMessageListenerContainer : Consumer raised exception, processing can restart if the connection factory supports it. Exception summary: org.springframework.amqp.AmqpIOException: java.io.IOException 2018-04-26 21:38:25.632 INFO 11449 --- [TaskExecutor-12] o.s.a.r.l.SimpleMessageListenerContainer : Restarting Consumer: tag=[null], channel=null, acknowledgeMode=AUTO local queue size=0 2018-04-26 21:38:28.729 WARN 11449 --- [TaskExecutor-31] o.s.a.r.l.SimpleMessageListenerContainer : Consumer raised exception, processing can restart if the connection factory supports it. Exception summary: org.springframework.amqp.AmqpIOException: java.io.IOException 2018-04-26 21:38:28.729 INFO 11449 --- [TaskExecutor-31] o.s.a.r.l.SimpleMessageListenerContainer : Restarting Consumer: tag=[null], channel=null, acknowledgeMode=AUTO local queue size=0 2018-04-26 21:38:31.830 WARN 11449 --- [TaskExecutor-25] o.s.a.r.l.SimpleMessageListenerContainer : Consumer raised exception, processing can restart if the connection factory supports it. Exception summary: org.springframework.amqp.AmqpIOException: java.io.IOException 2018-04-26 21:38:31.833 INFO 11449 --- [TaskExecutor-25] o.s.a.r.l.SimpleMessageListenerContainer : Restarting Consumer: tag=[null], channel=null, acknowledgeMode=AUTO local queue size=0 2018-04-26 21:38:38.027 WARN 11449 --- [TaskExecutor-27] o.s.a.r.l.SimpleMessageListenerContainer : Consumer raised exception, processing can restart if the connection factory supports it. Exception summary: org.springframework.amqp.AmqpIOException: java.io.IOException 2018-04-26 21:38:38.027 INFO 11449 --- [TaskExecutor-27] o.s.a.r.l.SimpleMessageListenerContainer : Restarting Consumer: tag=[null], channel=null, acknowledgeMode=AUTO local queue size=0 2018-04-26 21:38:41.127 WARN 11449 --- [TaskExecutor-15] o.s.a.r.l.SimpleMessageListenerContainer : Consumer raised exception, processing can restart if the connection factory supports it. Exception summary: org.springframework.amqp.AmqpIOException: java.io.IOException 2018-04-26 21:38:41.127 INFO 11449 --- [TaskExecutor-15] o.s.a.r.l.SimpleMessageListenerContainer : Restarting Consumer: tag=[null], channel=null, acknowledgeMode=AUTO local queue size=0 2018-04-26 21:38:44.224 WARN 11449 --- [TaskExecutor-32] o.s.a.r.l.SimpleMessageListenerContainer : Consumer raised exception, processing can restart if the connection factory supports it. Exception summary: org.springframework.amqp.AmqpIOException: java.io.IOException 2018-04-26 21:38:44.224 INFO 11449 --- [TaskExecutor-32] o.s.a.r.l.SimpleMessageListenerContainer : Restarting Consumer: tag=[null], channel=null, acknowledgeMode=AUTO local queue size=0 2018-04-26 21:38:47.323 WARN 11449 --- [TaskExecutor-28] o.s.a.r.l.SimpleMessageListenerContainer : Consumer raised exception, processing can restart if the connection factory supports it. Exception summary: org.springframework.amqp.AmqpIOException: java.io.IOException 2018-04-26 21:38:47.325 INFO 11449 --- [TaskExecutor-28] o.s.a.r.l.SimpleMessageListenerContainer : Restarting Consumer: tag=[null], channel=null, acknowledgeMode=AUTO local queue size=0 2018-04-26 21:38:50.421 WARN 11449 --- [TaskExecutor-26] o.s.a.r.l.SimpleMessageListenerContainer : Consumer raised exception, processing can restart if the connection factory supports it. Exception summary: org.springframework.amqp.AmqpIOException: java.io.IOException 2018-04-26 21:38:50.422 INFO 11449 --- [TaskExecutor-26] o.s.a.r.l.SimpleMessageListenerContainer : Restarting Consumer: tag=[null], channel=null, acknowledgeMode=AUTO local queue size=0

关于企鹅号授权redirect_url的问题

授权页面: https://auth.om.qq.com/omoauth2/authorize?response_type=code&client_id=0bc337524d6e7c3ff4f3bffc0f51bf47&redirect_uri=https%3A%2F%2Frestapi-test1.fishsaying.com%2F%2Fcultural-cloud%2Ffeidou%2Fom%2Fauth%2Fcallback%3Fuser_id%3D271dfaf14f8f4ecbbd06a71855cccf5d%26back%3D687474703a2f2f746573742d312e79757368756f79756e2e636f6d2f6361636c6f75642f666565646f752f6d616e616765722f6c697374&state=1 输入账号密码后,提示授权失败 ,redirect_url不合法 error_code=40012&error_msg=The+redirect+uri+is+not+valid 这个 redirect_url 要怎么搞。。。纠结了好久了

centos接收win10的日志中包含很长一段ASCII码,这个东西能用什么东西转成可读的日志吗?

正在用centos处理windows10的日志,用的arcsight接收到了日志之后,处理日志的时候发现日志中包含大量的ASCII码未转码的日志 ,希望求助以下能不能转换过来啊?给提个思路也可以。非常感谢。 下面是日志原文中的某一段 ``` <6>{"version":"\u5929\u64ce6.3.0.5601","log_name":"\u63d2\u4ef6","log_id":"d1ad17c7a65b1cec0b2c23e77694e2b7","create_time":"2018-12-10 08:26:32","ip":"10.177.12.164","report_ip":"10.177.12.164","mac":"4ccc6ac7f933","gid":1,"work_group":"","content":{"name":"\u5728\u7ebfASM\u63a7\u4ef6","op":0,"desc":"\u4e00\u6b3e\u5165\u7f51\u89c4\u8303\u7ba1\u7406\u7cfb\u7edf\u9644\u5e26\u7684\u6d4f\u89c8\u5668\u529f\u80fd\u63a7\u4ef6\u3002","company":"\u76c8\u9ad8\u79d1\u6280"}} ```

我用的是opencv2.4.9+VS2012,在进行图像腐蚀操作时出现了如下错误

我用的是opencv2.4.9+VS2012,在进行图像腐蚀操作时irst-chance exception at 0x75BFB727 in ConsoleApplication4.exe: Microsoft C++ exception: cv::Exception at memory location 0x0021F51C. Unhandled exception at at 0x75BFB727 in ConsoleApplication4.exe: Microsoft C++ exception: cv::Exception at memory location 0x0021F51C. 程序“[2000] ConsoleApplication4.exe”已退出,返回值为 0 (0x0)。 附程序: #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> //-----------------------------------【命名空间声明部分】--------------------------------------- // 描述:包含程序所使用的命名空间 //----------------------------------------------------------------------------------------------- using namespace cv; //-----------------------------------【main( )函数】-------------------------------------------- // 描述:控制台应用程序的入口函数,我们的程序从这里开始 //----------------------------------------------------------------------------------------------- int main( ) { //载入原图 Mat srcImage = imread("1.jpg"); //显示原图 imshow("【原图】腐蚀操作", srcImage); //进行腐蚀操作 Mat element = getStructuringElement(MORPH_RECT, Size(15, 15)); Mat dstImage; erode(srcImage, dstImage, element); //显示效果图 imshow("【效果图】腐蚀操作", dstImage); waitKey(0); return 0; }

HTML解密 困扰了我好久 看不懂呀

# 移动官网加密了 困扰了我好久 看不懂呀 哪个大神帮忙解一下 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta id="9DhefwqGPrzGxEp9hPaoag" content="Lg4rx49x{ix)\x55x-\x+*x3,x}ox1|x06x4P&amp;Q_/588;)*995B)_))-):;,456d8eA=1wj2ha9Q&lt;vykuSrfmq@Xig/poYR+?ln3NWCxb*s7&gt;PtcV0B(Tz.U-DFEG !#$%HIJKLMZ]_`{}~)A),.25),)&lt;52,.),87,*=)*)&lt;)k)H&amp;&gt;]8Y4=/6;A687c/@&lt;;&lt;s&gt;e,h-:@E5::EEn.v,B1X6n=R,p=.2k&gt;?=&gt;0l=BAC=w2v.f0V-47{Cy&gt;2-R=n-T.p&lt;0f;&lt;15f?j1U8o9Ud?2?-03k@@%-}o]*pHS0.ar0BH*pY/)3Vr)rpf_fdZf^1Z,fdpCsw@Z.aopg[^/CS+&gt;p-fcWaSap]`@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_ACr4Y9VGIsfGYoTxt2mnpczDROzQVUYr8oTzwCm6mKNwEoSbwDeeJ0f51YQFVUp5ADlw1o2ERlam1m3gADSPIDmyM2SCEor5VueeY6Sx1Kf2YvwrKkzC1GrLElq41k3CwDfaKazpcO3wI6zGxCZs3PNBmcqfJGlCxbqeppxxhDe9wCZCkCVQsAmBHlqBIsJpmlp7UfpGcl9BIAm.WmACUkRyrTQXHGrhc2lhKcJJcbl6ImfEKOL4Unq5D6SqsnSOHYZXAkf8HYLj3fpMlmTERGY.JCGE3QJleUbnp82PZsF0HQpjeV6oF.rJaV6NYeTNuv.K1ewK6ltPiFQd69sQKdT6a9UpJ7efaKM.FJQ7BoOZ3Xz.LPu3KzRou2BU83Nh4bMs3ZyIvO.tHzeHPsqhtr7nEIP8WTZqqqqD28674alQuYQqJ1545201660558qqqq8i47KOaCikgAHPaXJqdAc5q44kBlWeGHkblZVOf1imE5Uk3r0k171qqqq{)U.r2CPFIHemaGb_lRLJaTscJFLSzGOscMyVd66cWMLybPUcOWHzjeb6gJhSB_u52QHRX5DMdQt9aZKMZRMg4BcPbHMYaXnMZM5JX4DO4HMf94C4OtFgNek1OQiTX4KMLQhaaCbMpRA{Wxwgtj2C7pERqB28o13SlGqjKAxpsO9FJcLrK76DFVE2U2DPr1yzJ79nw1wJDvlPRsElh20FksxwhVh73IZS.noHGIZpBuoILUt1074823232qqqqkpxaqqk192qqqqkQpZBqEez_b42FIVeLOc.iFASNs1aQ8x2_vvVMdp0ZuCXWtag.ulqhxts6Z3zdmJmqqqq"><!--[if lt IE 9]><script r='m'>document.createElement("section")</script><![endif]--><script type="text/javascript" src="/4QbVtADbnLVIc/c.FxJzG50F.js?D9PVtGL=28674a" r='m'></script><script type="text/javascript" r='m'>function _$Gi(_$Dr){var _$E4=_$FC();_$E4=_$GB();var _$ty=_$zr();_$a4=_$FK();_$Dr[15]=_$DF();_$E4=_$Gt();return _$Gv();}function _$h6(){return "WjD$fBHcGzWcE_PHwH4SEw";}function _$zc(){return _$GR(95,36);}function _$aL(){return 407;}function _$Fm(_$Dr){_$Dr[_$zB(_$DF(),16)]=_$Fc();var _$a4=_$FE();_$ty=_$Gu();_$Dr[0]=_$Et();return _$aR();}function _$CY(_$Dr){if( !_$Hq)return;if( typeof _$Dr===_$aF()){_$Dr=_$HF(_$Dr);}_$Dr=_$qQ()+_$CI(_$Dr);return _$Hq[_$Dr];}function _$Gt(){return 10}function _$FC(){return 0}function _$hM(_$E4,_$a4){var _$Dr=_$ex()[5];var _$ty=_$Dr[_$HZ.call(_$E4,_$a4)];if(_$ty<82)return _$ty;var _$wG=86-_$ty;_$ty=0;for (var _$C5=0;_$C5<_$wG;_$C5++ ){_$ty*=86;_$ty+=_$Dr[_$HZ.call(_$E4,_$a4+1+_$C5)];}return _$ty+82;}function _$HV(){return new _$Gf()[_$f3()]();}function _$iF(_$wG,_$a4){var _$ty=_$gc(_$wG),_$Dr=new _$DW(_$hS(_$ty/_$a4)),_$C5=0,_$E4=0;for (;_$E4<_$ty;_$E4+=_$a4,_$C5++ )_$Dr[_$C5]=_$GN.call(_$wG,_$E4,_$a4);return _$Dr;}function _$sz(){var _$Dr=new _$DW(256),_$ty=new _$DW(256),_$C5;for (var _$E4=0;_$E4<256;_$E4++ ){_$Dr[_$E4]=_$GR(_$ty[_$E4]=_$E4);}var _$a4=_$uu();for (_$E4=32;_$E4<127;_$E4++ )_$C5=_$E4-32,_$Dr[_$E4]=_$Gq.call(_$a4,_$C5),_$ty[_$E4]=_$HZ.call(_$a4,_$C5);_$a4=_$Dr;_$ya=function(){return _$a4;};var _$wG=_$HA.call(_$hI(),_$m7());_$io=function(){return _$wG;};}function _$GQ(_$Dr){_$Fh(_$Dr);_$Dr[12]=_$Gw();var _$ty=_$Gv();_$a4=_$hl();var _$ty=_$Et();_$ty=_$aR();_$GH(_$Dr);return _$Dr[_$zB(_$FC(),16)];}function _$Hl(_$Dr,_$wG){_$xk|=_$Dr;if(_$wG)_$GK|=_$Dr;}function _$Bu(_$Dr){return function(){_$Dr=(_$Dr*17405+40643)>>9&0xFFFF;return _$Dr;};}function _$FD(_$C5){var _$Dr,_$a4=_$gc(_$C5),_$E0=new _$DW(_$a4-1);var _$wG=_$HZ.call(_$C5,0)-40;for (var _$E4=0,_$ty=1;_$ty<_$a4; ++_$ty){_$Dr=_$HZ.call(_$C5,_$ty);if(_$Dr>=40&&_$Dr<127){_$Dr+=_$wG;if(_$Dr>=127)_$Dr=_$Dr-87;}_$E0[_$E4++ ]=_$Dr;}return _$GR.apply(null,_$E0);}function _$Dm(_$wG){var _$Dr=_$G3(_$wG);return _$gF(_$Dr);}function _$a3(_$C5,_$ty){var _$wG=_$zc();for (var _$Dr=0;_$Dr<_$ty.length;_$Dr++ ){_$H3[_$wG+_$C5[_$Dr]]=_$v3(_$ty[_$Dr]);}}function _$rC(){var _$C5=_$yA();var _$wG=[];for (var _$tm=0;_$tm<6;_$tm++ ){_$wG[_$tm]=[];}_$ex=function(){return _$wG;};var _$E4=_$wG[0],_$ty=_$wG[1],_$E0=_$wG[2],_$a4=_$wG[3],_$rP=_$wG[4],_$Dr=_$wG[5];_$ba(_$Dr,0,255, -1);for (_$tm=0;_$tm<_$C5.length;_$tm++ ){var _$e2=_$HZ.call(_$C5[_$tm],0);_$E4[_$e2]=_$tm<<2;_$ty[_$e2]=_$tm>>4;_$E0[_$e2]=(_$tm&15)<<4;_$a4[_$e2]=_$tm>>2;_$rP[_$e2]=(_$tm&3)<<6;_$Dr[_$e2]=_$tm;}}function _$GM(){return _$qy._$fu();}function _$CI(_$E0,_$ty){if( typeof _$E0===_$qp())_$E0=_$GO(_$E0);if( !_$ty)_$ty=_$yA();var _$Dr,_$wG=_$EY=0,_$C5=_$E0.length,_$a4,_$E4;_$Dr=new _$DW(_$HW[_$xW()](_$C5*4/3));_$C5=_$E0.length-2;while (_$wG<_$C5){_$a4=_$E0[_$wG++ ];_$Dr[_$EY++ ]=_$ty[_$a4>>2];_$E4=_$E0[_$wG++ ];_$Dr[_$EY++ ]=_$ty[((_$a4&3)<<4)|(_$E4>>4)];_$a4=_$E0[_$wG++ ];_$Dr[_$EY++ ]=_$ty[((_$E4&15)<<2)|(_$a4>>6)];_$Dr[_$EY++ ]=_$ty[_$a4&63];}if(_$wG<_$E0.length){_$a4=_$E0[_$wG];_$Dr[_$EY++ ]=_$ty[_$a4>>2];_$E4=_$E0[ ++_$wG];_$Dr[_$EY++ ]=_$ty[((_$a4&3)<<4)|(_$E4>>4)];if(_$E4!==_$HY){_$Dr[_$EY++ ]=_$ty[(_$E4&15)<<2];}}return _$Dr.join(_$m7());}function _$Gw(){return 3}function _$FS(){return 5}function _$Gu(){return 9}function _$Ay(_$wG,_$C5){for (var _$Dr=0;_$Dr<_$C5.length;_$Dr++ ){_$H3[_$FM(_$wG[_$Dr])]=_$gy(_$C5[_$Dr]);}}function _$DF(){return 6}function _$Fc(){return 7}function _$Cd(_$Dr){for (var _$C5,_$wG,_$ty=_$Dr.length-1;_$ty>0;_$ty-- ){_$C5=_$HW[_$km()](_$AJ()*_$ty);_$wG=_$Dr[_$ty];_$Dr[_$ty]=_$Dr[_$C5];_$Dr[_$C5]=_$wG;}return _$Dr;}function _$gc(_$Dr){return _$Dr[_$xv];}function _$yf(_$Dr){if(_$Dr===_$HY||_$Dr===_$m7()){return;}var _$ty=_$H3[_$sg()][_$tH()],_$C5;if( !_$z0){_$z0=_$ty[_$cN()];}if(_$H3[_$bo()]){_$C5=_$H3[_$bo()](_$Dr);}else{var _$wG=_$H3[_$aw()];_$C5=_$wG[_$gT()](_$H3,_$Dr);}if(_$z0!==_$ty.push){_$ty.push=_$z0;}return _$C5;}function _$FK(){return 2}function _$y1(){return 8}function _$aU(){var _$C5=_$FD(_$GM());_$C5=_$iF(_$C5,2);var _$wG=_$uD(_$rc());for (var _$Dr=0;_$Dr<_$C5.length;_$Dr++ ){_$C5[_$Dr]=_$wG+_$C5[_$Dr];}return _$C5;}function _$iL(){_$ef=_$H3[_$aw()][_$jo()]()[_$sC()](/[\r\n\s]/g,_$m7())!==_$st();}function _$r8(){_$Gq=_$HF.prototype.charAt;_$HZ=_$HF.prototype.charCodeAt;_$nh=_$HF.prototype.codePointAt;_$G0=_$HF.prototype.concat;_$ue=_$HF.prototype.endsWith;_$q6=_$HF.prototype.includes;_$HQ=_$HF.prototype.indexOf;_$Ca=_$HF.prototype.lastIndexOf;_$qr=_$HF.prototype.localeCompare;_$A2=_$HF.prototype.match;_$rK=_$HF.prototype.normalize;_$Ac=_$HF.prototype.padEnd;_$x0=_$HF.prototype.padStart;_$iX=_$HF.prototype.repeat;_$G5=_$HF.prototype.replace;_$in=_$HF.prototype.search;_$jV=_$HF.prototype.slice;_$HA=_$HF.prototype.split;_$en=_$HF.prototype.startsWith;_$GN=_$HF.prototype.substr;_$Hm=_$HF.prototype.substring;_$z4=_$HF.prototype.toLocaleLowerCase;_$Aq=_$HF.prototype.toLocaleUpperCase;_$FL=_$HF.prototype.toLowerCase;_$z9=_$HF.prototype.toSource;_$lT=_$HF.prototype.toString;_$bJ=_$HF.prototype.toUpperCase;_$A9=_$HF.prototype.trim;_$fM=_$HF.prototype.trimLeft;_$yD=_$HF.prototype.trimRight;_$t6=_$HF.prototype.valueOf;}function _$GO(_$C5){var _$wG,_$Dr=0,_$ty;_$C5=_$fV(_$C5);_$ty=_$C5.length;_$wG=new _$DW(_$ty);_$ty-=3;while (_$Dr<_$ty){_$wG[_$Dr]=_$HZ.call(_$C5,_$Dr++ );_$wG[_$Dr]=_$HZ.call(_$C5,_$Dr++ );_$wG[_$Dr]=_$HZ.call(_$C5,_$Dr++ );_$wG[_$Dr]=_$HZ.call(_$C5,_$Dr++ );}_$ty+=3;while (_$Dr<_$ty)_$wG[_$Dr]=_$HZ.call(_$C5,_$Dr++ );return _$wG;}function _$fV(_$Dr){return _$cz(_$EH(_$Dr));}function _$Gv(){return 11}function _$uD(_$a4){var _$E4=_$a4.length,_$Dr=new _$DW(_$E4),_$ty,_$C5,_$wG=_$io();for (_$ty=0;_$ty<_$E4;_$ty++ ){_$C5=_$HZ.call(_$a4,_$ty);if(_$C5>=32&&_$C5<127)_$Dr[_$ty]=_$wG[_$C5-32];else _$Dr[_$ty]=_$Gq.call(_$a4,_$ty);}return _$Dr.join(_$m7());}function _$Gn(_$Dr){var _$E4=_$Gv();_$E4=_$hl();_$Dr[_$zB(_$y1(),16)]=_$Et();_$Dr[12]=_$Gw();return _$FC();}function _$ts(_$E4,_$Dr){_$Dr=_$HA.call(_$tc(_$Dr),'|');_$E4=_$tc(_$E4);var _$wG,_$C5=_$GN.call(_$E4,0,2),_$ty;for (_$wG=0;_$wG<_$Dr.length;_$wG++ ){_$ty=_$GN.call(_$E4,2+_$wG*2,2);_$H3[_$C5+_$ty]=_$H3[_$Dr[_$wG]];}}function _$gF(_$wG){var _$Dr=[],_$C5,_$ty,_$E4,_$a4=_$HZ.call(_$cQ(),0);for (_$C5=0;_$C5<_$wG.length;){_$ty=_$wG[_$C5];if(_$ty<0x80){_$E4=_$ty;}else if(_$ty<0xc0){_$E4=_$a4;}else if(_$ty<0xe0){_$E4=((_$ty&0x3F)<<6)|(_$wG[_$C5+1]&0x3F);_$C5++ ;}else if(_$ty<0xf0){_$E4=((_$ty&0x0F)<<12)|((_$wG[_$C5+1]&0x3F)<<6)|(_$wG[_$C5+2]&0x3F);_$C5+=2;}else if(_$ty<0xf8){_$E4=_$a4;_$C5+=3;}else if(_$ty<0xfc){_$E4=_$a4;_$C5+=4;}else if(_$ty<0xfe){_$E4=_$a4;_$C5+=5;}else{_$E4=_$a4;}_$C5++ ;_$Dr.push(_$E4);}return _$u3(_$Dr);}function _$AN(_$tm,_$hi,_$C5){var _$rP=_$HV();_$iL();var _$E6=0,_$DV=0;var _$ty=_$uD(_$gt());_$rP=_$HV();_$BN();var _$fC=_$nw();var _$mJ=_$nK();var _$EM=_$nK();function _$gr(_$iW){var _$Df=_$E6;_$E6+=_$iW;return _$tm[_$eJ()](_$Df,_$E6);}function _$Ea(){return _$tm[_$E6++ ];}function _$a7(){var _$Df=_$tm[_$E6];if((_$Df&0x80)===0){_$E6+=1;return _$Df;}if((_$Df&0xc0)===0x80){_$Df=((_$Df&0x3f)<<8)|_$tm[_$E6+1];_$E6+=2;return _$Df;}}function _$Dr(){var _$bf,_$iW,_$Df;_$bf=_$a4(1);_$a4(1);_$iW=_$a4(1);_$a4(1);_$Df=_$a4(1);_$H3[_$FM(_$bf)]=_$se(_$iW,_$Df);}function _$nw(){var _$Df=_$hM(_$tm,_$E6);_$E6+=_$qG(_$tm,_$E6);return _$Df;}function _$E4(_$bf){var _$Df=_$a7(),_$bS,_$dT=new _$DW(_$bf),_$iW=new _$DW(_$Df),_$BS=new _$DW(_$bf+_$Df);if(_$bf==3){var _$pZ=_$H3[_$du()][_$km()]((_$HV()-_$c5)/1000);_$aq=_$aq+_$H3[_$du()][_$km()](_$H3[_$du()][_$jD()](_$pZ/5.88+1));}_$bS=0;while (_$bS<_$Df)_$iW[_$bS++ ]=_$a4(1);_$bS=0;while (_$bS<_$bf)_$dT[_$bS++ ]=_$a4(1);_$Cd(_$dT);_$bS=0;var _$aE=0,_$DG=0;while (_$aE<_$Df&&_$DG<_$bf){var _$vO=(_$AJ()%100)*(_$Df-_$aE+1)/(_$bf-_$DG)>=50;var _$gU=_$AJ()%10;if(_$vO){while (_$aE<_$Df&&_$gU>0){_$BS[_$bS++ ]=_$iW[_$aE++ ]; --_$gU;}}else{while (_$DG<_$bf&&_$gU>0){_$BS[_$bS++ ]=_$dT[_$DG++ ]; --_$gU;}}}while (_$aE<_$Df)_$BS[_$bS++ ]=_$iW[_$aE++ ];while (_$DG<_$bf)_$BS[_$bS++ ]=_$dT[_$DG++ ];return _$BS.join(_$m7());}function _$a4(_$Df){var _$DG=0,_$bf,_$bS,_$iW;if(_$Df===1){_$BS();if(_$bS<=4){return _$Fg[_$bS][_$iW];}return _$Fu[_$bS](_$iW);}_$bf=new _$DW(_$Df);while (_$DG<_$Df){_$BS();if(_$bS<=4){_$bf[_$DG++ ]=_$Fg[_$bS][_$iW];}else{_$bf[_$DG++ ]=_$Fu[_$bS](_$iW);}}return _$bf.join(_$m7());function _$BS(){_$bS=_$Ea();_$iW=_$bS&0x1F;_$bS=_$bS>>5;if(_$iW==0x1f){_$iW=_$a7()+31;}}}_$EM=_$EM[_$ir()](_$nK(true));var _$e2=_$nK();_$e2=_$e2[_$ir()](_$nK(true));var _$DB=_$nK()[_$ir()](_$nK(true));_$rP=_$HV();_$BN();var _$FG=_$nw();_$tm=_$G3(_$tm[_$r0()](_$E6));_$E6=0;_$rP=_$HV();var _$wK=_$hi[_$dk()](_$C5[1],_$C5[2]);var _$E0=_$hi[_$dk()](0,_$C5[0]);var _$BE=_$hi[_$dk()](_$C5[3],_$C5[4]);var _$Fg=[_$DB,_$BE,[],_$E0,_$wK];if(_$H3[_$FM(_$FH(_$aL()))]){_$Cd(_$E0);}_$rP=_$HV();var _$wG,_$d3=0,_$Fu=[_$HY,_$HY,_$HY,_$HY,_$HY,_$E4,_$a4,_$Dr];_$wG=_$a4(1);_$rP=_$HV();_$Ay(_$BE,_$e2);_$yf(_$FM(_$wG));return;;;;;function _$nK(_$vO){var _$BS,_$Df,_$bS,_$DG;_$BN();_$Df=_$nw();_$BS=_$nw();_$bS=_$gr(_$BS);if(_$Df===0&&_$BS===0)return[];var _$iW=_$bS[_$lA()](_$ty);if(_$vO){for (var _$bf=0;_$bf<_$Df;_$bf++ ){_$iW[_$bf]=_$Dm(_$iW[_$bf]);}}return _$iW;}function _$BN(){if(_$DV=== -1)return;if(_$DV===0){_$E6++ ;if(_$tm[_$cT()](_$E6)===_$bi()){_$E6++ ;}else if(_$tm[_$cT()](_$E6)===_$b2()){_$DV= -1;_$E6++ ;return;}else{}}var _$Df;if( typeof(_$tm)===_$qp()){_$Df=_$HS(_$tm[_$r0()](_$E6+1,3));}else{_$Df=_$HS(_$u3(_$tm,_$E6+1,_$E6+4));}if(_$Df!==_$DV){}_$E6+=4;_$DV++ ;}}function _$AT(){var _$Dr=_$FD(_$GM())[_$lA()](_$gt());for (var _$wG=0;_$wG<_$Dr.length;_$wG++ )_$Dr[_$wG]=_$HS(_$Dr[_$wG]);return _$Dr;}function _$at(_$C5){_$C5=_$HA.call(_$C5,_$hD());for (var _$Dr=0;_$Dr<_$C5.length-1;_$Dr+=2){var _$wG=_$C5[_$Dr];_$C5[_$Dr]=_$C5[_$Dr+1];_$C5[_$Dr+1]=_$wG;}return _$C5.join(_$hD());}function _$G3(_$ty){var _$e2=_$ty.length,_$Fu=new _$DW(_$HW[_$sZ()](_$e2*3/4));var _$EM,_$nK,_$mJ,_$DV;var _$E0=0,_$tm=0,_$C5=_$e2-3;var _$wG=_$ex();var _$Fg=_$wG[0],_$BN=_$wG[1],_$a4=_$wG[2],_$E4=_$wG[3],_$rP=_$wG[4],_$Dr=_$wG[5];for (_$E0=0;_$E0<_$C5;){_$EM=_$HZ.call(_$ty,_$E0++ );_$nK=_$HZ.call(_$ty,_$E0++ );_$mJ=_$HZ.call(_$ty,_$E0++ );_$DV=_$HZ.call(_$ty,_$E0++ );_$Fu[_$tm++ ]=_$Fg[_$EM]|_$BN[_$nK];_$Fu[_$tm++ ]=_$a4[_$nK]|_$E4[_$mJ];_$Fu[_$tm++ ]=_$rP[_$mJ]|_$Dr[_$DV];}if(_$E0<_$e2){_$EM=_$HZ.call(_$ty,_$E0++ );_$nK=_$HZ.call(_$ty,_$E0++ );_$Fu[_$tm++ ]=_$Fg[_$EM]|_$BN[_$nK];if(_$E0<_$e2){_$mJ=_$HZ.call(_$ty,_$E0);_$Fu[_$tm++ ]=_$a4[_$nK]|_$E4[_$mJ];}}return _$Fu;}function _$FM(_$C5){var _$ty=_$C5.length,_$Dr=new _$DW(_$ty),_$wG=0,_$E4=_$ya();while (_$wG<_$ty){_$Dr[_$wG]=_$E4[_$HZ.call(_$C5,_$wG++ )];}return _$Dr.join(_$m7());}function _$Et(){return 1}function _$yA(){return _$HA.call(_$lD(),_$hD());}function _$v3(_$Dr){return function(){return _$Dr;};}function _$ba(_$Dr,_$wG,_$C5,_$ty){for (;_$wG<_$C5;_$wG++ ){_$Dr[_$wG]=_$ty;}}function _$Dd(_$C5,_$wG){if( !_$Hq)return;if( typeof _$C5===_$aF()){_$C5=_$HF(_$C5);}var _$Dr=_$CY(_$C5);if(_$Dr)_$wG=_$HS(_$Dr)+_$wG;_$C5=_$qQ()+_$CI(_$C5);_$Hq[_$C5]=_$wG;}function _$E9(_$Dr){var _$a4=_$GB();var _$a4=_$FK();if(_$DF()){_$E4=_$FE();}_$Dr[_$zB(_$Gw(),16)]=_$FC();_$Dr[_$zB(_$Gv(),16)]=_$hl();_$E4=_$FK();return _$Dr[_$zB(_$aR(),16)];}function _$Fw(_$Dr){var _$a4=_$Gv();_$a4=_$hl();_$Dr[3]=_$FK();_$Dr[15]=_$DF();return _$Fc();}function _$se(_$wG,_$Dr){var _$C5;return function(_$ty,_$E4){if(_$C5===_$HY){_$C5=_$zq(_$FM(_$wG),_$FM(_$Dr));}return _$C5;};}function _$GB(){return 12}function _$hl(){return 15}function _$za(_$Dr){_$Gj(_$Dr);var _$E4=_$Gw();if(_$FE()){_$Dr[_$zB(_$zr(),16)]=_$FK();}_$Dr[6]=_$FE();_$Dr[2]=_$y1();_$Fm(_$Dr);return _$Gn(_$Dr);}function _$m2(){if(_$iF)/$/.test(_$rC());_$xS(_$GM(),_$GM(),_$GM(),_$GM(),_$GM(),_$GM());_$sz();_$H1=_$H3[_$Bt()];_$AJ=_$HW[_$n3()];_$DJ=_$H3[_$Dp()];_$vu=_$H3[_$vx()];_$zW=_$HW[_$rL()];_$G8=_$H3[_$uz()];try{_$Hq=_$H3[_$f6()];}catch(_$Dr){}if(_$Hq){try{_$Hq[_$pv()]=_$pv();_$Hq[_$gI()](_$pv());_$Hq[_$mM()]=_$f6();}catch(_$Dr){_$Hq=_$HY;}}if( !_$xk&& !_$GK){_$GK=0;_$xk=0;_$Ds=0;}if( !_$G8){_$G8=new _$Ew();_$H3[_$uz()]=_$G8;}_$An=_$G3(_$cD());}function _$wV(_$Dr){var _$ty=_$FS();_$a4=_$DF();_$Dr[_$zB(_$FC(),16)]=_$GB();var _$ty=_$zr();_$E4=_$FK();return _$FS();}var _$HY,_$Hq;_$H3=window;function _$lX(){_$c1=_$G8[_$oz()];_$G8[_$oz()]=_$HY;_$G8._$DN=_$HV();_$c5=_$G8._$DN;_$Hl(4,0);_$Hl(2,_$Ez(7));var _$E4=_$aU();var _$wG=_$AT();var _$ty=_$AT();_$FH=_$Dr;_$zm=_$ty[1];_$aq=_$ty[0];_$F8=_$ty[2];if(_$c1){_$AN(_$c1,_$E4,_$wG);_$c1=_$HY;}_$G8._$DT=_$HV();if(_$G8._$DT-_$G8._$DN>12000){_$Hl(1,1);_$Dd(13,1);}else{_$Hl(1,0);}_$Hl(8,0);function _$Dr(_$a4){return _$H3[_$FM(_$E4[_$a4])];}function _$C5(){return _$CU;}_$Hl(16,0);}function _$zB(_$wG,_$Dr){return _$zW(_$wG)%_$Dr;}function _$u3(_$wG,_$a4,_$C5){_$a4=_$a4||0;if(_$C5===_$HY)_$C5=_$wG.length;var _$Dr=new _$DW(_$HW[_$rk()](_$wG.length/40960)),_$E4=_$C5-40960,_$ty=0;while (_$a4<_$E4){_$Dr[_$ty++ ]=_$GR[_$sx()](null,_$wG[_$pd()](_$a4,_$a4+=40960));}if(_$a4<_$C5)_$Dr[_$ty++ ]=_$GR[_$sx()](null,_$wG[_$pd()](_$a4,_$C5));return _$Dr.join(_$hD());}function _$eM(_$C5){var _$Dr,_$a4=_$C5.length,_$E0=new _$DW(_$a4-1);var _$wG=_$HZ.call(_$C5,0)-93;for (var _$E4=0,_$ty=1;_$ty<_$a4; ++_$ty){_$Dr=_$HZ.call(_$C5,_$ty);if(_$Dr>=40&&_$Dr<92){_$Dr+=_$wG;if(_$Dr>=92)_$Dr=_$Dr-52;}else if(_$Dr>=93&&_$Dr<127){_$Dr+=_$wG;if(_$Dr>=127)_$Dr=_$Dr-34;}_$E0[_$E4++ ]=_$Dr;}return _$GR.apply(null,_$E0);}function _$tc(_$E0){_$E0=_$HA.call(_$E0,'');var _$C5,_$wG=_$Bu(23494),_$Dr=[],_$E4=_$E0.length,_$ty,_$a4;for (_$C5=0;_$C5<_$E4;_$C5++ ){_$Dr.push(_$wG()%_$E4);}for (_$C5=_$E4-1;_$C5>=0;_$C5-- ){_$ty=_$Dr[_$C5];_$a4=_$E0[_$C5];_$E0[_$C5]=_$E0[_$ty];_$E0[_$ty]=_$a4;}return _$E0.join('');}function _$w6(){var _$Dr=_$GM();var _$wG=_$GM();_$Dr=_$HA.call(_$FD(_$Dr),_$zZ);_$wG=_$HA.call(_$FD(_$wG),_$zZ);_$a3(_$Dr,_$wG);}function _$i9(){return"fS]le|k`feSTr i~klie ]le|k`feS`}Tr mzi o 4 }f|ld~ekY^~k<c~d~ek9p@}S`}T2 mzi m 4 oY|fek~ek2 oYgzi~ekEf}~Yi~dfm~:_`c}SoT2 i~klie m2ttSTT";}function _$Ez(_$C5){var _$ty=_$c4&&new _$c4();if(_$ty){var _$E4=_$ty[_$aN()];if( !_$E4){return;}var _$wG=_$E4[_$jo()]();var _$Dr=_$HA.call(_$wG,_$be());_$wG=_$Dr[_$zL()]();if(_$wG===_$m7()&&_$Dr.length>0)_$wG=_$Dr[_$zL()]();if(_$HQ.call(_$wG,_$rw())!== -1||_$GG(_$wG,_$e4())||_$wG===_$b0()){_$Dd(_$C5,1);return true;}}}_$HF=String;_$r8();_$ts(_$h6(),_$Aw());_$GR=_$HF.fromCharCode;_$hS=_$HW.ceil;_$zZ=_$GR(96);function _$GH(_$Dr){_$Dr[8]=_$GB();_$Dr[_$zB(_$hl(),16)]=_$zr();_$Dr[9]=_$FS();return _$DF();}function _$GG(_$Dr,_$wG){return _$jV.call(_$Dr,0,_$wG.length)===_$wG;}function _$Aw(){return "|naOId|arCIuanenrtrFe|pseaRcoteobeopyeccUnersrnotin|||jDhaut|eMpotcmrAtvEl|ean|";}function _$CE(_$Dr){var _$E4=_$FS();_$a4=_$DF();if(_$FC()){_$Dr[_$zB(_$Gv(),16)]=_$hl();}_$Gi(_$Dr);return _$hl();}function _$zr(){return 13}function _$yg(_$wG){var _$Dr=arguments;return _$wG[_$sC()](/\{(.+?)\}/g,function(_$ty,_$C5){return _$Dr[_$HS(_$C5)+1];});}function _$gy(_$wG){var _$Dr;return function(_$C5,_$ty){if(_$Dr===_$HY){_$Dr=_$FM(_$wG);}return _$Dr;};}function _$m6(_$C5,_$ty){var _$wG=_$zc();for (var _$Dr=0;_$Dr<_$ty.length;_$Dr++ ){_$H3[_$wG+_$C5[_$Dr]]=_$ax(_$ty[_$Dr]);}}function _$md(){var _$wG=_$BP(_$eM(_$i9()))("9DhefwqGPrzGxEp9hPaoag"),_$E4=0,_$C5={};_$C5._$fu=_$a4;function _$a4(){var _$E0=_$ty();var _$tm=_$GN.call(_$wG,_$E4,_$E0);_$E4+=_$E0;return _$tm;}function _$ty(){var _$e2=_$HZ.call(_$wG,_$E4);if(_$e2>=40){_$E4++ ;return _$e2-40;}var _$E0=39-_$e2;_$e2=0;for (var _$tm=0;_$tm<_$E0;_$tm++ ){_$e2*=87;_$e2+=_$HZ.call(_$wG,_$E4+1+_$tm)-40;}_$E4+=_$E0+1;return _$e2+87;}function _$Dr(){return _$GN.call(_$wG,_$E4);}_$C5._$no=_$Dr;return _$C5;}var _$xk,_$GK,_$Ds;var _$kB=1;function _$of(_$Dr){_$Dr[0]=_$za(_$Dr);_$Dr[_$zB(_$Dr[_$zB(_$hl()+_$zr(),16)],16)]=_$E9(_$Dr);if(_$Dr[_$zB(_$Gt()+_$Gv(),16)]){_$CE(_$Dr);}_$Dr[1]=_$Dr[_$zB(_$hl()+_$zr(),16)];return _$CT(_$Dr);}function _$xS(_$E4,_$a4,_$E0,_$e2,_$ty,_$wG){_$E4=_$iF(_$at(_$FD(_$E4)),2);var _$Dr=_$sf(_$FD(_$a4));_$a4=_$HA.call(_$Dr,_$zZ);_$E0=_$FD(_$E0);if(_$E0.length>0){_$E0=_$HA.call(_$E0,_$zZ);_$a4=_$a4[_$ou()](_$E0);}var _$tm=_$zc();for (var _$C5=0;_$C5<_$E4.length;_$C5++ ){_$H3[_$tm+_$E4[_$C5]]=_$a4[_$C5];}_$e2=_$iF(_$FD(_$e2),2);_$Dr=_$FD(_$ty);_$ty=_$HA.call(_$Dr,_$zZ);_$Dr=_$FD(_$wG);_$wG=_$HA.call(_$Dr,_$zZ);_$ty=_$ty[_$ou()](_$wG);_$m6(_$e2,_$ty);}function _$Fh(_$Dr){_$Dr[14]=_$aR();_$Dr[_$zB(_$Fc(),16)]=_$Gt();var _$ty=_$Gu();_$ty=_$y1();return _$Et();}function _$qG(_$wG,_$ty){var _$Dr=_$ex()[5];var _$C5=_$Dr[_$HZ.call(_$wG,_$ty)];if(_$C5<82)return 1;return 86-_$C5+1;}_$xv=_$eM("yrktmzn");;;var _$z0;;_$qy=_$md();function _$FE(){return 4}function _$ax(_$wG){var _$Dr;return function(){if(_$Dr===_$HY){_$Dr=_$Dm(_$wG);_$Dr=_$FD(_$Dr);}return _$Dr;};}function _$sf(_$C5){_$C5=_$HA.call(_$C5,_$hD());for (var _$Dr=0;_$Dr<_$C5.length-1;_$Dr+=2){var _$wG=_$C5[_$Dr];_$C5[_$Dr]=_$C5[_$Dr+1];_$C5[_$Dr+1]=_$wG;}return _$C5.join(_$hD());}function _$aR(){return 14}function _$zh(){debugger;}function _$CT(_$Dr){var _$a4=_$Fc();_$a4=_$Gt();var _$E4=_$Gu();_$ty=_$FK()+_$FS();_$a4=_$Gt()+_$Gv();_$GQ(_$Dr);_$Dr[_$zB(_$Dr[_$zB(_$FE(),16)],16)]=_$wV(_$Dr);return _$DF();}function _$Gj(_$Dr){var _$ty=_$Gt();_$E4=_$Gv();var _$a4=_$y1();_$a4=_$Et();_$Dr[_$zB(_$DF(),16)]=_$Fc();return _$Gt();}function _$zq(_$ty,_$Dr){_$ty=_$ty[_$lA()](_$kL());_$ty.push(_$Dr);var _$E4=_$ty.length,_$C5=new _$DW(_$E4);for (var _$wG=0;_$wG<_$E4;_$wG++ ){_$C5[_$wG]=_$rU()[_$ir()](_$wG,_$qf());}return new _$wj(_$rs(),_$qe()+_$C5.join(_$kL())+_$lY())(_$ty);}_$w6();_$m2();_$lX();;</script></head> <body> <script type='text/javascript' r='m'> _$ow('eoGD'); </script> </body> </html> <script type="text/javascript" r='m'>_$CU();</script>

使用Go 1.11,Google Cloud Storage和Go模块的Google Cloud Platform功能部署失败

<div class="post-text" itemprop="text"> <p>I'm trying to create a function for the google cloud platform cloud functions. The trigger type is Cloud Pub/Sub and the topic is cloud-builds. I know this function is very basic, I'm just trying to get to a point where the function builds. In my full function I need to use google cloud storage. The runtime is Go 1.11.</p> <p>function.go content source:</p> <pre><code>// Package p contains a Pub/Sub Cloud Function. package p import ( "context" "log" "cloud.google.com/go/storage" ) // PubSubMessage is the payload of a Pub/Sub event. Please refer to the docs for // additional information regarding Pub/Sub events. type PubSubMessage struct { Data []byte `json:"data"` } // HelloPubSub consumes a Pub/Sub message. func HelloPubSub(ctx context.Context, m PubSubMessage) error { log.Println(string(m.Data)) return nil } </code></pre> <p>When building with the "cloud.google.com/go/storage" dependency the go build process should update the go.mod file but the process never finishes successfully.</p> <p>The failure message:</p> <pre><code>Deployment failure: Build failed: go: finding cloud.google.com/go/storage latest go: finding cloud.google.com/go v0.36.0 go: downloading cloud.google.com/go v0.36.0 go: finding github.com/google/martian v2.1.0+incompatible go: finding github.com/golang/protobuf v1.2.0 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c go: finding github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57 go: finding go.opencensus.io v0.18.0 go: finding golang.org/x/build v0.0.0-20190111050920-041ab4dc3f9d go: finding golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2 go: finding golang.org/x/time v0.0.0-20181108054448-85acf8d2951c go: finding golang.org/x/sync v0.0.0-20181108010431-42b317875d0f go: finding honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a go: finding github.com/google/go-cmp v0.2.0 go: finding golang.org/x/oauth2 v0.0.0-20181203162652-d668ce993890 go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: finding google.golang.org/grpc v1.17.0 go: finding github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b go: finding github.com/openzipkin/zipkin-go v0.1.1 go: finding golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3 go: finding google.golang.org/genproto v0.0.0-20190201180003-4b09977fb922 go: finding github.com/googleapis/gax-go/v2 v2.0.3 go: finding google.golang.org/genproto v0.0.0-20180831171423-11092d34479b go: finding github.com/golang/mock v1.1.1 go: finding github.com/prometheus/procfs v0.0.0-20180725123919-05ee40e3a273 go: finding git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999 go: finding golang.org/x/tools v0.0.0-20181030000716-a0a13e073c7b go: finding golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be go: finding github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973 go: finding github.com/prometheus/client_golang v0.8.0 go: finding cloud.google.com/go v0.26.0 go: finding golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52 go: finding google.golang.org/appengine v1.1.0 go: finding github.com/client9/misspell v0.3.4 go: finding github.com/bradfitz/go-smtpd v0.0.0-20170404230938-deb6d6237625 go: finding github.com/ghodss/yaml v1.0.0 go: finding google.golang.org/genproto v0.0.0-20181029155118-b69ba1387ce2 go: finding github.com/pmezard/go-difflib v1.0.0 go: finding github.com/shurcooL/home v0.0.0-20181020052607-80b7ffcb30f9 go: finding github.com/shurcooL/octicon v0.0.0-20181028054416-fa4f57f9efb2 go: finding google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8 go: finding dmitri.shuralyov.com/html/belt v0.0.0-20180602232347-f7d459c86be0 go: finding golang.org/x/text v0.3.0 go: finding github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 go: finding github.com/shurcooL/users v0.0.0-20180125191416-49c67e49c537 go: finding github.com/golang/mock v1.2.0 go: finding golang.org/x/exp v0.0.0-20190121172915-509febef88a4 go: finding github.com/google/go-github v17.0.0+incompatible go: finding dmitri.shuralyov.com/state v0.0.0-20180228185332-28bcc343414c go: finding github.com/gliderlabs/ssh v0.1.1 go: finding github.com/jellevandenhooff/dkim v0.0.0-20150330215556-f50fe3d243e1 go: finding github.com/neelance/astrewrite v0.0.0-20160511093645-99348263ae86 go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd go: finding golang.org/x/crypto v0.0.0-20181030102418-4d3f4d9ffa16 go: finding github.com/stretchr/testify v1.2.2 go: finding github.com/kr/pretty v0.1.0 go: finding google.golang.org/grpc v1.14.0 go: finding github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 go: finding github.com/shurcooL/gofontwoff v0.0.0-20180329035133-29b52fc0a18d go: finding golang.org/x/sys v0.0.0-20181029174526-d69651ed3497 go: finding github.com/neelance/sourcemap v0.0.0-20151028013722-8c68805598ab go: finding github.com/shurcooL/sanitized_anchor_name v0.0.0-20170918181015-86672fcb3f95 go: finding github.com/sourcegraph/annotate v0.0.0-20160123013949-f4cad6c6324d go: finding github.com/BurntSushi/toml v0.3.1 go: finding github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 go: finding go4.org v0.0.0-20180809161055-417644f6feb5 go: finding github.com/shurcooL/ </code></pre> <p>Including "require cloud.google.com/go v0.36.0" before building yields a similar failure message.</p> <p>When doing this locally, go build producing a similar message in my terminal:</p> <pre><code>go: finding cloud.google.com/go/storage latest go: finding cloud.google.com/go v0.36.0 go: downloading cloud.google.com/go v0.36.0 go: finding github.com/google/martian v2.1.0+incompatible go: finding github.com/golang/mock v1.2.0 go: finding github.com/googleapis/gax-go/v2 v2.0.3 go: finding github.com/google/go-cmp v0.2.0 go: finding golang.org/x/oauth2 v0.0.0-20181203162652-d668ce993890 go: finding golang.org/x/build v0.0.0-20190111050920-041ab4dc3f9d go: finding google.golang.org/api v0.1.0 go: finding golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3 go: finding google.golang.org/genproto v0.0.0-20190201180003-4b09977fb922 go: finding golang.org/x/tools v0.0.0-20181030000716-a0a13e073c7b go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c go: finding google.golang.org/grpc v1.17.0 go: finding github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57 go: finding golang.org/x/time v0.0.0-20181108054448-85acf8d2951c go: finding honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a go: finding golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2 go: finding golang.org/x/sync v0.0.0-20181108010431-42b317875d0f go: finding github.com/BurntSushi/toml v0.3.1 go: finding google.golang.org/grpc v1.16.0 go: finding github.com/golang/protobuf v1.2.0 go: finding go.opencensus.io v0.18.0 go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: finding cloud.google.com/go v0.26.0 go: finding honnef.co/go/tools v0.0.0-20180728063816-88497007e858 go: finding github.com/client9/misspell v0.3.4 go: finding github.com/golang/lint v0.0.0-20180702182130-06c8688daad7 go: finding github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b go: finding golang.org/x/sys v0.0.0-20180830151530-49385e6e1522 go: finding golang.org/x/lint v0.0.0-20180702182130-06c8688daad7 go: finding github.com/golang/mock v1.1.1 go: finding github.com/kisielk/gotool v1.0.0 go: finding golang.org/x/net v0.0.0-20180826012351-8a410e7b638d go: finding github.com/prometheus/common v0.0.0-20180801064454-c7de2306084e go: finding github.com/prometheus/procfs v0.0.0-20180725123919-05ee40e3a273 go: finding golang.org/x/exp v0.0.0-20190121172915-509febef88a4 go: finding github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973 go: finding golang.org/x/net v0.0.0-20181106065722-10aee1819953 go: finding gopkg.in/yaml.v2 v2.2.1 go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: finding golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be go: finding github.com/matttproud/golang_protobuf_extensions v1.0.1 go: finding google.golang.org/api v0.0.0-20180910000450-7ca32eb868bf go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd go: finding google.golang.org/genproto v0.0.0-20180831171423-11092d34479b go: finding golang.org/x/text v0.3.0 go: finding google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8 go: finding git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999 go: finding google.golang.org/grpc v1.14.0 go: finding github.com/prometheus/client_golang v0.8.0 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 go: finding github.com/openzipkin/zipkin-go v0.1.1 go: finding github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910 go: finding google.golang.org/appengine v1.1.0 go: finding github.com/shurcooL/htmlg v0.0.0-20170918183704-d01228ac9e50 go: finding github.com/stretchr/testify v1.2.2 go: finding github.com/shurcooL/notifications v0.0.0-20181007000457-627ab5aea122 go: finding github.com/davecgh/go-spew v1.1.1 go: finding grpc.go4.org v0.0.0-20170609214715-11d0a25b4919 go: finding github.com/shurcooL/gofontwoff v0.0.0-20180329035133-29b52fc0a18d go: finding github.com/kr/pretty v0.1.0 go: finding github.com/shurcooL/httpgzip v0.0.0-20180522190206-b1c53ac65af9 go: finding github.com/grpc-ecosystem/grpc-gateway v1.5.0 go: finding github.com/jellevandenhooff/dkim v0.0.0-20150330215556-f50fe3d243e1 go: finding github.com/neelance/astrewrite v0.0.0-20160511093645-99348263ae86 go: finding github.com/tarm/serial v0.0.0-20180830185346-98f6abe2eb07 go: finding gopkg.in/inf.v0 v0.9.1 go: finding github.com/shurcooL/events v0.0.0-20181021180414-410e4ca65f48 go: finding github.com/shurcooL/gopherjslib v0.0.0-20160914041154-feb6d3990c2c go: finding github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 go: finding dmitri.shuralyov.com/html/belt v0.0.0-20180602232347-f7d459c86be0 go: finding github.com/kr/text v0.1.0 go: finding github.com/shurcooL/httperror v0.0.0-20170206035902-86b7830d14cc go: finding github.com/pmezard/go-difflib v1.0.0 go: finding dmitri.shuralyov.com/app/changes v0.0.0-20180602232624-0a106ad413e3 go: finding github.com/kr/pty v1.1.3 go: finding github.com/sourcegraph/syntaxhighlight v0.0.0-20170531221838-bd320f5d308e go: finding github.com/coreos/go-systemd v0.0.0-20181012123002-c6f51f82210d go: finding sourcegraph.com/sourcegraph/go-diff v0.5.0 go: finding dmitri.shuralyov.com/state v0.0.0-20180228185332-28bcc343414c go: finding golang.org/x/sys v0.0.0-20181029174526-d69651ed3497 go: finding github.com/sourcegraph/annotate v0.0.0-20160123013949-f4cad6c6324d go: finding google.golang.org/appengine v1.2.0 go: finding github.com/ghodss/yaml v1.0.0 go: finding github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 go: finding github.com/shurcooL/httpfs v0.0.0-20171119174359-809beceb2371 go: finding github.com/bradfitz/go-smtpd v0.0.0-20170404230938-deb6d6237625 go: finding github.com/shurcooL/users v0.0.0-20180125191416-49c67e49c537 go: finding github.com/shurcooL/issues v0.0.0-20181008053335-6292fdc1e191 go: finding google.golang.org/genproto v0.0.0-20181029155118-b69ba1387ce2 go: finding github.com/shurcooL/webdavfs v0.0.0-20170829043945-18c3829fa133 go: finding golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52 go: finding github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e go: finding golang.org/x/oauth2 v0.0.0-20181017192945-9dcd33a902f4 go: finding golang.org/x/net v0.0.0-20180724234803-3673e40ba225 go: finding github.com/shurcooL/highlight_go v0.0.0-20181028180052-98c3abbbae20 go: finding github.com/shurcooL/octicon v0.0.0-20181028054416-fa4f57f9efb2 go: finding github.com/shurcooL/reactions v0.0.0-20181006231557-f2e0b4ca5b82 go: finding golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2 go: finding github.com/shurcooL/issuesapp v0.0.0-20180602232740-048589ce2241 go: finding google.golang.org/api v0.0.0-20181030000543-1d582fd0359e go: finding github.com/shurcooL/github_flavored_markdown v0.0.0-20181002035957-2122de532470 go: finding github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 go: finding github.com/kr/pty v1.1.1 go: finding github.com/fsnotify/fsnotify v1.4.7 go: finding github.com/neelance/sourcemap v0.0.0-20151028013722-8c68805598ab go: finding github.com/google/go-querystring v1.0.0 go: finding sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4 go: finding github.com/googleapis/gax-go v2.0.0+incompatible go: finding github.com/shurcooL/home v0.0.0-20181020052607-80b7ffcb30f9 go: finding github.com/gliderlabs/ssh v0.1.1 go: finding github.com/gogo/protobuf v1.1.1 go: finding cloud.google.com/go v0.31.0 go: finding github.com/shurcooL/highlight_diff v0.0.0-20170515013008-09bb4053de1b go: finding dmitri.shuralyov.com/service/change v0.0.0-20181023043359-a85b471d5412 go: finding go4.org v0.0.0-20180809161055-417644f6feb5 go: finding golang.org/x/crypto v0.0.0-20181030102418-4d3f4d9ffa16 go: finding github.com/shurcooL/sanitized_anchor_name v0.0.0-20170918181015-86672fcb3f95 go: finding github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 go: finding github.com/dustin/go-humanize v1.0.0 go: finding github.com/microcosm-cc/bluemonday v1.0.1 go: finding github.com/shurcooL/component v0.0.0-20170202220835-f88ec8f54cc4 go: finding github.com/russross/blackfriday v1.5.2 go: finding github.com/sergi/go-diff v1.0.0 go: finding golang.org/x/perf v0.0.0-20180704124530-6e6d33e29852 go: finding github.com/google/go-github v17.0.0+incompatible go: finding golang.org/x/net v0.0.0-20181029044818-c44066c5c816 go: finding github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041 go: finding google.golang.org/appengine v1.3.0 go: finding google.golang.org/genproto v0.0.0-20181202183823-bd91e49a0898 go: downloading google.golang.org/api v0.1.0 go: downloading google.golang.org/genproto v0.0.0-20190201180003-4b09977fb922 go: downloading github.com/googleapis/gax-go v2.0.0+incompatible go: downloading google.golang.org/grpc v1.17.0 go: downloading github.com/googleapis/gax-go/v2 v2.0.3 go: downloading go.opencensus.io v0.18.0 go: downloading github.com/golang/protobuf v1.2.0 go: downloading golang.org/x/sys v0.0.0-20181029174526-d69651ed3497 go: downloading golang.org/x/net v0.0.0-20181106065722-10aee1819953 go: downloading golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2 go: downloading golang.org/x/oauth2 v0.0.0-20181203162652-d668ce993890 </code></pre> <p>and the go.mod file is correctly modified to include the line "require cloud.google.com/go v0.36.0"</p> <p>I'm just trying to use google cloud storage in my cloud function. If someone could tell me how to do this that would be awesome, I'm probably being silly!</p> <p>It's like when built in cloud functions the build has a timeout and stops before it finishes.</p> </div>

自定义查询中的Joomla 3 Zoo组件JSON提取

<div class="post-text" itemprop="text"> <p>I am using zoo component for items and just moved Joomla from 1.5 to 3 version and Zoo component changed their format to save items</p> <p>On the Previous version, zoo component was using XML format to save the data in the database and now in the new version, they are using JSON format.</p> <p>Now, let me come to the issue:</p> <p>I have developed custom module for fetching data where the query is like:</p> <pre><code>SELECT DISTINCT id, name FROM #__zoo_item WHERE application_id=1 and state=1 and type='abo' AND ExtractValue(elements,'/elements/relateditems[@identifier="9264aa8aa-6b39-4ecc-969a-f17da2688a5c"]/item')=24 ORDER BY ExtractValue(elements,'/elements/radio[@identifier="3dd960814e-b3f9-4ca2-abdb-070d0f51e7b9"]/option') ASC, FIELD(ExtractValue(elements,'/elements/radio[@identifier="86c0c108-8a31-48b9-badb-857ss7f359c1b7"]/option'),'ja','regal','ntein') ,ExtractValue(elements,'/elements/radio[@identifier="3960814e-b3f9-4ca2-abdb-070d0f51epp7b9"]/option') DESC </code></pre> <p>Here in the query used ExtractValue function of MySQL to match the extracted value from the XML.</p> <p>Here is the XML format:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;elements&gt; &lt;select identifier="9d534d17-d6d9-4671-a7d1-0b1f8ec71f07"&gt; &lt;option&gt;&lt;![CDATA[salt]]&gt;&lt;/option&gt; &lt;/select&gt; &lt;relateditems identifier="9264aa8aa-6b39-4ecc-969a-f17da2688a5c"&gt; &lt;item&gt;&lt;![CDATA[24]]&gt;&lt;/item&gt; &lt;/relateditems&gt; &lt;text identifier="b44baf4c-bbb0-4410-a12c-23ec3b7ba5d6"&gt; &lt;value&gt;&lt;![CDATA[]]&gt;&lt;/value&gt; &lt;/text&gt; &lt;text identifier="c3903e1e-bc09-4708-bf8f-dc765a84ccd4"&gt; &lt;value&gt;&lt;![CDATA[]]&gt;&lt;/value&gt; &lt;/text&gt; &lt;image identifier="4079ccd8-04df-41fd-b41e-52c23351a215"&gt; &lt;file&gt;&lt;![CDATA[test.png]]&gt;&lt;/file&gt; &lt;title/&gt; &lt;link/&gt; &lt;target/&gt; &lt;rel/&gt; &lt;lightbox_image/&gt; &lt;width&gt;&lt;![CDATA[100]]&gt;&lt;/width&gt; &lt;height&gt;&lt;![CDATA[80]]&gt;&lt;/height&gt; &lt;/image&gt; &lt;radio identifier="86c0c108-8a31-48b9-badb-857ss7f359c1b7"&gt; &lt;option&gt;&lt;![CDATA[ja]]&gt;&lt;/option&gt; &lt;/radio&gt; &lt;radio identifier="3960814e-b3f9-4ca2-abdb-070d0f51epp7b9"&gt; &lt;option&gt;&lt;![CDATA[0]]&gt;&lt;/option&gt; &lt;/radio&gt; &lt;/elements&gt; </code></pre> <p>Now, Issue is how can I use a query which check matched extracted value in JSON format. Also, MySQL version is 5.5 so latest 5.7 JSON Functions are not working.</p> <p>Here is the JSON Format:</p> <pre><code>{ "9264aa8aa-6b39-4ecc-969a-f17da2688a5c": { "item": { "0": "8665" } }, "50b019d0-6e30-4a27-a46c-68dbe5ade18b": { "0": { "value": "GRUNDGEB\u00dcHR: CHF 59.00| ANRUFE: Unlimitiert in der Schweiz| SMS\/MMS: Unlimitiert in der Schweiz| INTERNET 4G: Unlimitiert in der Schweiz|" } }, "3dd960814e-b3f9-4ca2-abdb-070d0f51e7b9": { "option": { "0": "salt" }, "select": "1" }, "26112e4c-83c5-4e38-806b-fccfb7f8aa69": { "votes": 0, "value": 0 }, } </code></pre> <p>Anyone has the idea how to check in JSON data? Any MySQL function work in this?</p> </div>

部署时“执行:查找[程序包]”错误3

<div class="post-text" itemprop="text"> <p>I am trying to deploy a Go cloud function. I successfully deployed this function to one GCP project, but now when trying to deploy it to another I can't seem to get it to deploy.</p> <p>I use this command to deploy the function:</p> <pre><code>gcloud functions deploy Generator --entry-point Generator --memory 512MB --region europe-west1 --runtime go111 --trigger-event google.storage.object.finalize --trigger-resource gs://[redacted].appspot.com --project [redacted] </code></pre> <p>I am using a go.mod when deploying:</p> <pre><code>module gitlab.com/[redacted]/[redacted]/[redacted] require ( cloud.google.com/go v0.35.1 firebase.google.com/go v3.6.0+incompatible github.com/tdewolff/parse/v2 v2.3.5 golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3 golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2 google.golang.org/api v0.1.0 ) </code></pre> <p>I get this error message, which is cut off at the interesting part so I can't see what the actual issue is (I think).</p> <pre><code>ERROR: (gcloud.functions.deploy) OperationError: code=3, message=Build failed: go: finding github.com/tdewolff/parse/v2 v2.3.5 go: finding golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3 go: finding google.golang.org/api v0.1.0 go: finding golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2 go: finding cloud.google.com/go v0.35.1 go: finding firebase.google.com/go v3.6.0+incompatible go: finding github.com/tdewolff/test v1.0.0 go: finding golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3 go: finding github.com/BurntSushi/toml v0.3.1 go: finding google.golang.org/genproto v0.0.0-20190122154452-ba6ebe99b011 go: finding golang.org/x/sync v0.0.0-20181108010431-42b317875d0f go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c go: finding github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57 go: finding golang.org/x/oauth2 v0.0.0-20181203162652-d668ce993890 go: finding google.golang.org/grpc v1.17.0 go: finding github.com/googleapis/gax-go/v2 v2.0.3 go: finding github.com/golang/mock v1.2.0 go: finding golang.org/x/tools v0.0.0-20181030000716-a0a13e073c7b go: finding github.com/golang/protobuf v1.2.0 go: finding go.opencensus.io v0.18.0 go: finding honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a go: finding golang.org/x/time v0.0.0-20181108054448-85acf8d2951c go: finding golang.org/x/build v0.0.0-20190111050920-041ab4dc3f9d go: finding github.com/google/martian v2.1.0+incompatible go: finding google.golang.org/grpc v1.16.0 go: finding honnef.co/go/tools v0.0.0-20180728063816-88497007e858 go: finding cloud.google.com/go v0.26.0 go: finding golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: finding github.com/golang/mock v1.1.1 go: finding github.com/client9/misspell v0.3.4 go: finding google.golang.org/genproto v0.0.0-20180831171423-11092d34479b go: finding github.com/prometheus/procfs v0.0.0-20180725123919-05ee40e3a273 go: finding github.com/ghodss/yaml v1.0.0 go: finding gopkg.in/yaml.v2 v2.2.1 go: finding github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b go: finding golang.org/x/net v0.0.0-20180826012351-8a410e7b638d go: finding google.golang.org/appengine v1.3.0 go: finding golang.org/x/sys v0.0.0-20180830151530-49385e6e1522 go: finding github.com/matttproud/golang_protobuf_extensions v1.0.1 go: finding github.com/prometheus/common v0.0.0-20180801064454-c7de2306084e go: finding github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 go: finding github.com/google/go-cmp v0.2.0 go: finding github.com/davecgh/go-spew v1.1.1 go: finding github.com/shurcooL/httperror v0.0.0-20170206035902-86b7830d14cc go: finding github.com/stretchr/testify v1.2.2 go: finding golang.org/x/sys v0.0.0-20181029174526-d69651ed3497 go: finding github.com/shurcooL/httpfs v0.0.0-20171119174359-809beceb2371 go: finding github.com/google/go-github v17.0.0+incompatible go: finding google.golang.org/api v0.0.0-20180910000450-7ca32eb868bf go: finding github.com/kisielk/gotool v1.0.0 go: finding github.com/shurcooL/highlight_diff v0.0.0-20170515013008-09bb4053de1b go: finding github.com/shurcooL/htmlg v0.0.0-20170918183704-d01228ac9e50 go: finding github.com/sourcegraph/syntaxhighlight v0.0.0-20170531221838-bd320f5d308e go: finding google.golang.org/genproto v0.0.0-20181202183823-bd91e49a0898 go: finding golang.org/x/net v0.0.0-20181106065722-10aee1819953 go: finding golang.org/x/net v0.0.0-20181029044818-c44066c5c816 go: finding golang.org/x/lint v0.0.0-20180702182130-06c8688daad7 go: finding github.com/prometheus/client_golang v0.8.0 go: finding github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 go: finding github.com/coreos/go-systemd v0.0.0-20181012123002-c6f51f82210d go: finding github.com/shurcooL/github_flavored_markdown v0.0.0-20181002035957-2122de532470 go: finding github.com/openzipkin/zipkin-go v0.1.1 go: finding golang.org/x/perf v0.0.0-20180704124530-6e6d33e29852 go: finding github.com/gliderlabs/ssh v0.1.1 go: finding go4.org v0.0.0-20180809161055-417644f6feb5 go: finding dmitri.shuralyov.com/html/belt v0.0.0-20180602232347-f7d459c86be0 go: finding golang.org/x/text v0.3.0 go: finding gi </code></pre> <p>How do I get the function to deploy?</p> </div>

iealert.js在jquery1.11.3下如何启用?

iealert.js在jquery1.11.3下如何启用?我下的实例总用到的是jquery1.8.3可以正常显示,但由于站点jquery1.11.3导致无法正常启用,请问如何解决?谢谢! ![图片说明](https://img-ask.csdn.net/upload/201606/24/1466758286_49834.png) ``` (function($){ $("#goon").on("click", function(){ $("#ie-alert-overlay").hide(); $("#ie-alert-panel").hide(); }); function initialize($obj, support, title, text){ var panel = "<span>"+ title +"</span>" + "<p> "+ text +"</p>" + "<div class='browser'>" + "<ul>" + "<li><a class='chrome' href='https://www.google.com/chrome/' target='_blank'></a></li>" + "<li><a class='firefox' href='http://www.mozilla.org/en-US/firefox/new/' target='_blank'></a></li>" + "<li><a class='ie9' href='http://windows.microsoft.com/en-US/internet-explorer/downloads/ie/' target='_blank'></a></li>" + "<li><a class='safari' href='http://www.apple.com/safari/download/' target='_blank'></a></li>" + "<li><a class='opera' href='http://www.opera.com/download/' target='_blank'></a></li>" + "<ul>" + "</div>"; var overlay = $("<div id='ie-alert-overlay'></div>"); var iepanel = $("<div id='ie-alert-panel'>"+ panel +"</div>"); var docHeight = $(document).height(); overlay.css("height", docHeight + "px"); if (support === "ie8") { // shows the alert msg in IE8, IE7, IE6 if ($.browser.msie && parseInt($.browser.version, 10) < 9) { $obj.prepend(iepanel); $obj.prepend(overlay); } if ($.browser.msie && parseInt($.browser.version, 10) === 6) { $("#ie-alert-panel").css("background-position","-626px -116px"); $obj.css("margin","0"); } } else if (support === "ie7") { // shows the alert msg in IE7, IE6 if ($.browser.msie && parseInt($.browser.version, 10) < 8) { $obj.prepend(iepanel); $obj.prepend(overlay); } if ($.browser.msie && parseInt($.browser.version, 10) === 6) { $("#ie-alert-panel").css("background-position","-626px -116px"); $obj.css("margin","0"); } } else if (support === "ie6") { // shows the alert msg only in IE6 if ($.browser.msie && parseInt($.browser.version, 10) < 7) { $obj.prepend(iepanel); $obj.prepend(overlay); $("#ie-alert-panel").css("background-position","-626px -116px"); $obj.css("margin","0"); } } }; //end initialize function $.fn.iealert = function(options){ var defaults = { support: "ie7", // ie8 (ie6,ie7,ie8), ie7 (ie6,ie7), ie6 (ie6) title: "\u4F60\u77E5\u9053\u4F60\u7684Internet Explorer\u662F\u8FC7\u65F6\u4E86\u5417?", // title text text: "\u4E3A\u4E86\u5F97\u5230\u6211\u4EEC\u7F51\u7AD9\u6700\u597D\u7684\u4F53\u9A8C\u6548\u679C,\u6211\u4EEC\u5EFA\u8BAE\u60A8\u5347\u7EA7\u5230\u6700\u65B0\u7248\u672C\u7684Internet Explorer\u6216\u9009\u62E9\u53E6\u4E00\u4E2Aweb\u6D4F\u89C8\u5668.\u4E00\u4E2A\u5217\u8868\u6700\u6D41\u884C\u7684web\u6D4F\u89C8\u5668\u5728\u4E0B\u9762\u53EF\u4EE5\u627E\u5230.<br /><br /><h1 id='goon' style='font-size:20px;cursor:pointer;'>>>>\u7EE7\u7EED\u8BBF\u95EE</h1>" }; var option = $.extend(defaults, options); return this.each(function(){ if ( $.browser.msie ) { var $this = $(this); initialize($this, option.support, option.title, option.text); } //if ie }); }; })(jQuery); ```

ubuntu18.04 LTS kexec会卡主,看起来像死机且持续一整天,是什么情况?

在学习内核方面的知识的时候了解到kexec和kdump的作用和机制,在没有重新编译内核的情况下安装了kexec-tools和kdump-tools。 设置crashkernel=256M,kernel.panic=10,加载内核没有任何提示,也不知道是否成功。 ``` $kexec -l /boot/vmlinuz-4.18.0-25-generic --initrd=/boot/initrd.img-4.18.0-25-generic --reuse-cmd $ $ ``` 输入命令kexec -e的时候就会卡住,在tty界面的时候输入则提示starting kexec,同样也是停留在这个界面。 输入kexec -p后也是没有任何提示,在命令行输入echo c > /proc/sysrq-trigger就没有然后了 下面是kdumo-config show的输出 ``` $kdump-config show DUMP_MODE: kdump USE_KDUMP: 1 KDUMP_SYSCTL: kernel.panic_on_oops=1 KDUMP_COREDIR: /var/crash crashkernel addr: 0x23000000 /boot/vmlinuz-4.18.0-25-generic kdump initrd: /boot/initrd.img-4.18.0-25-generic current state: ready to kdump kexec command: /sbin/kexec -p --command-line="BOOT_IMAGE=/boot/vmlinuz-5.0.0-23-generic root=UUID=9444b3a0-3ccc-4f57-8f51-bbf005963b11 ro quiet splash pci=nomsi pci=noaer pcie_aspm=off vt.handoff=1 nr_cpus=1 systemd.unit=kdump-tools-dump.service irqpoll nousb ata_piix.prefer_ms_hyperv=0" --initrd=/boot/initrd.img-4.18.0-25-generic /boot/vmlinuz-4.18.0-25-generic ``` 请问该如何解决这个情况,是什么原因导致的这个情况

新手,下拉菜单选择,运行时出现闪退.

--------------------MainActivity-------------------- package com.example.example3_2; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.BaseAdapter; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.Spinner; import android.widget.TextView; public class MainActivity extends AppCompatActivity { final static int WRAP_CONTENT=-2; int []image={R.mipmap.basketball,R.mipmap.football,R.mipmap.volleyball}; int []msgid={R.string.zuqiu,R.string.lanqiu,R.string.pingpangqiu}; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Spinner spinner=(Spinner)this.findViewById(R.id.spinner); BaseAdapter baseAdapter=new BaseAdapter() { //设置适配器 @Override public int getCount() { return 3; //总共三项 } @Override public Object getItem(int position) { return null; } @Override public long getItemId(int position) { return 0; } @Override public View getView(int position, View convertView, ViewGroup parent) { LinearLayout linearLayout=new LinearLayout(MainActivity.this); linearLayout.setOrientation(LinearLayout.HORIZONTAL); ImageView imageView=new ImageView(MainActivity.this); imageView.setImageDrawable(getResources().getDrawable(image[position])); linearLayout.addView(imageView); //添加到LinearLayout TextView textView=new TextView(MainActivity.this); textView.setText(""+getResources().getText(msgid[position])); //设置内容 textView.setTextSize(24); textView.setTextColor(getResources().getColor(R.color.colorPrimary)); //设置字体颜色 linearLayout.addView(textView); //添加到LinearLayout return linearLayout; } }; spinner.setAdapter(baseAdapter); spinner.setOnItemClickListener(new AdapterView.OnItemClickListener() { @Override public void onItemClick(AdapterView<?> parent, View view, int position, long id) { TextView textView=(TextView)findViewById(R.id.text_view); LinearLayout linearLayout=(LinearLayout)view; //获取选中的Linearlayout TextView textView1=(TextView)linearLayout.getChildAt(1); //获取其中的TextView StringBuilder stringBuilder=new StringBuilder(); stringBuilder.append(getResources().getText(R.string.ys)); stringBuilder.append(":"); stringBuilder.append(textView1.getText()); textView.setText(stringBuilder.toString()); } public void onNothingSelected(AdapterView<?>parent){} //重写的方法 }); } } ------------------------main.XML--------------------- <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/activity_main" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:paddingBottom="@dimen/activity_vertical_margin" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" tools:context="com.example.example3_2.MainActivity"> <TextView android:id="@+id/text_view" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/ys" /> <Spinner android:id="@+id/spinner" android:layout_width="match_parent" android:layout_height="wrap_content"> </Spinner> </LinearLayout> ------------------------string.XML------------------- <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/activity_main" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:paddingBottom="@dimen/activity_vertical_margin" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" tools:context="com.example.example3_2.MainActivity"> <TextView android:id="@+id/text_view" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/ys" /> <Spinner android:id="@+id/spinner" android:layout_width="match_parent" android:layout_height="wrap_content"> </Spinner> </LinearLayout> --------------------color.XML-------------------------- <?xml version="1.0" encoding="utf-8"?> <resources> <color name="colorPrimary">#3F51B5</color> <color name="colorPrimaryDark">#303F9F</color> <color name="colorAccent">#FF4081</color> </resources>

如何动态获取图片显示在页面上?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>脸谱</title> <style type="text/css"> *{margin:0;padding:0;list-style-type:none;} a,img{border:0;} /* 字体 */ body{font:20px/180% Arial, Helvetica, sans-serif, "新宋体";} /* 图片层浮动 */ /* div{float:left;} */ /* 名称浮动 */ /* p{float:left;} */ /* 头像图片宽高,浮动 */ img{width:50px;height:50px;float:left;} </style> <link type="text/css" rel="stylesheet" href="css/ad.css" /> <script type="text/javascript" src="js/jquery-1.7.2.min.js"></script> <script type="text/javascript" src="js/floatingAd.js"></script> <script type="text/javascript"> $(function(){ $.floatingAd({ //频率 delay: 10, //超链接后是否关闭漂浮 //isLinkClosed: true, //漂浮内容 ad: [{ //图片 'img': 'facebook/60d27f6dta11823e8f51a.jpg', //图片链接 'linkUrl': 'facebook/60d27f6dta11823e8f51a.jpg', },{ 'img': 'facebook/60d27f6dta11823cc815a.jpg', 'linkUrl': 'facebook/60d27f6dta11823cc815a.jpg', }], } }); $("#aa").floatingAd({ onClose:function(elem){} }); }); </script> </head> <body style="overflow:hidden;"> <div style="width:2048px;height:1024px;background-image:url(background/bg4.jpg);" id="div1"></div> </body> </html>

2019 Python开发者日-培训

2019 Python开发者日-培训

150讲轻松搞定Python网络爬虫

150讲轻松搞定Python网络爬虫

设计模式(JAVA语言实现)--20种设计模式附带源码

设计模式(JAVA语言实现)--20种设计模式附带源码

YOLOv3目标检测实战:训练自己的数据集

YOLOv3目标检测实战:训练自己的数据集

java后台+微信小程序 实现完整的点餐系统

java后台+微信小程序 实现完整的点餐系统

三个项目玩转深度学习(附1G源码)

三个项目玩转深度学习(附1G源码)

初级玩转Linux+Ubuntu(嵌入式开发基础课程)

初级玩转Linux+Ubuntu(嵌入式开发基础课程)

2019 AI开发者大会

2019 AI开发者大会

玩转Linux:常用命令实例指南

玩转Linux:常用命令实例指南

一学即懂的计算机视觉(第一季)

一学即懂的计算机视觉(第一季)

4小时玩转微信小程序——基础入门与微信支付实战

4小时玩转微信小程序——基础入门与微信支付实战

Git 实用技巧

Git 实用技巧

Python数据清洗实战入门

Python数据清洗实战入门

使用TensorFlow+keras快速构建图像分类模型

使用TensorFlow+keras快速构建图像分类模型

实用主义学Python(小白也容易上手的Python实用案例)

实用主义学Python(小白也容易上手的Python实用案例)

程序员的算法通关课:知己知彼(第一季)

程序员的算法通关课:知己知彼(第一季)

MySQL数据库从入门到实战应用

MySQL数据库从入门到实战应用

机器学习初学者必会的案例精讲

机器学习初学者必会的案例精讲

手把手实现Java图书管理系统(附源码)

手把手实现Java图书管理系统(附源码)

极简JAVA学习营第四期(报名以后加助教微信:eduxy-1)

极简JAVA学习营第四期(报名以后加助教微信:eduxy-1)

.net core快速开发框架

.net core快速开发框架

玩转Python-Python3基础入门

玩转Python-Python3基础入门

Python数据挖掘简易入门

Python数据挖掘简易入门

微信公众平台开发入门

微信公众平台开发入门

程序员的兼职技能课

程序员的兼职技能课

Windows版YOLOv4目标检测实战:训练自己的数据集

Windows版YOLOv4目标检测实战:训练自己的数据集

HoloLens2开发入门教程

HoloLens2开发入门教程

微信小程序开发实战

微信小程序开发实战

Java8零基础入门视频教程

Java8零基础入门视频教程

相关热词 c# 开发接口 c# 中方法上面的限制 c# java 时间戳 c#单元测试入门 c# 数组转化成文本 c#实体类主外键关系设置 c# 子函数 局部 c#窗口位置设置 c# list 查询 c# 事件 执行顺序
立即提问