GitHub & puppeteer & Chinese character & bug https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md#running-puppeteer-in-docker https://github.com/GoogleChrome/puppeteer/issues/1143 https://github.com/GoogleChrome/puppet…
My friend is working on some case, and she looks not in the mood. I ask her what's going on. She wants me to look at the screenshot as below. That's why she is upset...IEF could not decode Chinese character in IE history well, so the filenames in Chi…
Last week my friend brought me an evidence file duplicated from a Linux server, which distribution is CentOS 5.0 and the i18n is zh-tw. She wanna know whether there is any malware on this Linux server or not. OK. Let's get to work. I add this evidenc…
CentOS 7 & Chinese Fonts bug # check $ yum grouplist $ yum grouplist hidden # root $ yum groupinstall "Font" $ yum groupinstall "Chinese Support" https://access.redhat.com/solutions/15815 https://stackoverflow.com/questions/3802746…
Convert Chinese strings to English strings Apply pinyin4j.jar public static class ConvertChineseToPinyin { public static String getPingYin(String src) {    char[] t1 = null;    t1 = src.toCharArray();    String[] t2 = new String[t1.length];    HanyuP…
使用场景: 当我们提交了一个pr,但是该pr合并之后,经过在测试测试有问题,需要回滚.这个时候主master代码将会被回滚到提交你的pr之前的代码.而你的pr由于已经被合并过了,所以无法继续提交. 这个时候我们需要revert revert那个分支.以获得提交之后没有合并之前的代码.revert revert 是什么意思? 当我们提交pr之后并合并,这个时候主库处于一个最新的状态,当出现bug主库需要revert的时候,这个时候主库回到了合并你的代码之前. 也就是说你发个pr revert掉你的…
Function chinese2unicode(Str) Dim Str_one:Str_one = "" Dim Str_unicode:Str_unicode = "" For i = 1 To Len(Str) Str_one = Mid(Str, i, 1) If AscW(Str_one) < 0 or AscW(Str_one) > 255 Then Str_unicode = Str_unicode & Chr(38) Str_u…
起因 不久前更新了 eclipse(2019-03) 版本:突然发现出现了,使用注释使用中出现的空格的间隔大小不一致的问题,具体可以看下图: 遇到这种问题简直逼不能忍,在网上搜一下解决方式: 谷歌 搜索 eclispe chinese space diffenren width 百度搜索 eclipse 中出现中文注释间隔异常问题 可能原因 目前是对于中文的支持有问题,这个可能是eclipse版本的 bug ;参考如下: #issue : Bug 541523 - eclipse 4.8+ ja…
I been confused years ago. Till recently I collected my thoughts together, and now I am clear about UNICODE. My company is using WinXP Simplified Chinese ver., it uses GBK(i.e. CP_936) as its Chinese char transfer standard. So when I wrote .cpp files…
最在在使用pytest,用的是pytest 3.9.3,python版本为2.7.10,但一直在使用时发现总提示 File "c:\python27\Lib\json\__init__.py", line 189, in dump for chunk in iterable: File "c:\python27\Lib\json\encoder.py", line 431, in _iterencode for chunk in _iterencode_list(o…
Internet Explorer CSS Bugs Overview Internet Explorer is famous for not supporting many of CSS properties as well as contaning numerous bugs in the ones it supports. This page lists problems in Internet Explorer, samples demontrating them as well as…
在 GitHub 上, 可以建立不同的仓库,显示分类可以更明确: 有不同分支,可以打很多次草稿: 用 markdown 语法来书写比较舒服(博客园也可以设置): 最主要的是 GitHub 装逼呀!!! 以下,是我所有的库存,多谢关注,喜欢可以 star 以下哟 博客:https://github.com/foreverZ133/blogs DEMO 库:https://github.com/foreverZ133/demos 知识库:https://github.com/foreverZ133/…
这里介绍的是Win平台的安装方法,其他平台请至Github>Puppeteer. 首先要安装node.js 可以看我这篇的开头>[Angular]学习笔记-环境部署.项目建立相关 1.新建项目目录 2.打开gitbush(常用的Terminal都可以) 3.键入 npm i puppeteer 4.等......待安装 ps:安装会带一个Chromium 还是挺大的.. 到这里基本上就算安装完成了. 官方栗子: const puppeteer = require('puppeteer'); (…
1.".equals()" should not be used to test the values of "Atomic" classes.bug 主要不要使用equals方法对AtomicXXX进行是否相等的判断Atomic变量永远只会和自身相等,Atomic变量没有覆写equals()方法.2."=+" should not be used instead of "+="bug 主要"=+" 与 &…
1.目的:借助github托管项目带按摩 2.仓库:创建一个Repository 3.收藏(Start):仓库主页start按钮,意思是收藏项目的人数,在github上如果有一个项目获得100个star都算不容易了,收藏项目,方便下次查看 4.克隆和复制(Fork): 5.发起请求(Pull Request):是基于Fork的,如果别人在你的基础上对项目进行了改进,后来你觉得改进的很不错,应该把这些改进让跟多的人受益,于是就把自己的改进合并到原来的项目里,这时候他就可以发起一个Pull Requ…
来源——tr帮助说明 TR() User Commands TR() NAME tr - translate or delete characters SYNOPSIS tr [OPTION]... SET1 [SET2] DESCRIPTION Translate, squeeze, and/or delete characters from standard input, writing to standard output. 翻译 n. 性格,品质:特性:角色:[计] 字符 vt. 印,刻…
一.知识点 page.mouse elementHandle.boundingBox() ignoreDefaultArgs:['--enable-automation']   waitUntil 二.解析知识点 1.page.mouse 以下,截图来自github puppeteer api(自行对照github) ,puppeteer已经提供给我们使用方法,很简单,move - 移动,down - 按下, up - 抬起 ,通过这个我们可以很简单的明白,场景拖拽的时候,我们先按下(down)…
https://github.com/google-research/bert BERT ***** New May 31st, 2019: Whole Word Masking Models ***** This is a release of several new models which were the result of an improvement the pre-processing code. In the original pre-processing code, we ra…
Total Commander 8.52 Beta 1http://www.ghisler.com/852_b1.php 10.08.15 Release Total Commander 8.52 beta 1 (32/64) 05.08.15 Fixed: Windows 10: Loading drive buttonbar hanging on some devices (e.g. Surface Pro 3) when SD-Card was in internal card reade…
各网友提交的 QC: 官方网址 说明 备注 https://quality.embarcadero.com/browse/RSP-12985 iOS device cannot use indy idHTTP read a web page content using zlib compression   https://quality.embarcadero.com/browse/RSP-13018 input special unicode Chinese character in TEdi…
/* 输入文件见337.in.txt 输出文件见338.out.txt */ #include <iostream> #include <cctype> #include <fstream> #include <cstring> using namespace std; * + ; //单词表的最大值 + ; //单词长度的最大值 struct WordList { char word[maxWord]; //单词 int fre; //词频 } list[…
以下是Source Insight中文字符串支持的宏的实现,在此做个备份. 代码来自网上,非笔者所写.原有代码有个明显的Bug(Del的时候会导致多删除一个字符和多插入一个空格),已经被笔者fix掉. 使用时请将此部分代码贴到Source Insight的Base project的Utils.em文件末尾,并且在Options / Key Assignments添加相应的宏-键映射. 另外,在页面http://www.sourceinsight.com/public/macros/也有很多宏,可…
去掉敏感信息后的不完整版 ==========================================================================2018年12月29日 记录: 目前在维护的最低PHP版本只有5.6了:1.5.6.39版本convert.quoted-printable-encode过滤器时核心的segfault错误imap扩展的错误phar扩展的错误,PharData类提供了一个访问和创建不可执行的tar和zip存档的高级接口5.6.38版本apac…
人工智能这个词可谓是耳熟能详,近几年人工智能热潮再次席卷而来,引起轰动的要数google的AlphaGo,相继打败了围棋界的韩国选手李世石以及世界冠军柯洁,见证了人工智能发展的里程碑式的变革,人工智能再度引起了众人的关注. (此图来自网页http://mini.eastday.com/mobile/171107214414785.html里面,如有侵权,请联系小编及时清除) 人工智能当然不止会下棋这么简单,其实在20年前,智能家居的开发就有不少团队在进行,只是切入点不对,所以一直没有什么起色,现…
Permutation Sequence https://oj.leetcode.com/problems/permutation-sequence/ The set [1,2,3,…,n] contains a total of n! unique permutations. By listing and labeling all of the permutations in order, We get the following sequence (ie, for n = 3): "123&…
论文阅读笔记 Improved Word Representation Learning with Sememes 一句话概括本文工作 使用词汇资源--知网--来提升词嵌入的表征能力,并提出了三种基于知网资源的词嵌入学习模型,在通用的中文词嵌入评测数据集上进行了评测,取得了较好的结果. 作者简介 该论文选自 ACL 2017,是清华大学孙茂松刘知远老师组的成果.论文的两名共同第一作者分别是牛艺霖和谢若冰. 牛艺霖,清华本科生. 谢若冰,清华研究生(2014-2017),清华本科生(2010-20…
August11. A guide dog can guide a blind person. 导盲犬能给盲人引路.2. A guide dog is a dog especially trained to guide a blind person. 导盲犬是一种特别训练用来帮助盲人的.3. I have already fed my pet dog. 我已经喂过我的宠物狗了.4. He tried to console his friend when his pet dog died. 当朋友…
一直好奇贴吧里的小伙伴们在过去的时间里说的最多的词是什么,那我们就来抓取分析一下贴吧发文的标题内容,并提取分析一下,看看吧友们在说些什么. 首先我们使用scrapy对所有贴吧文章的标题进行抓取 scrapy startproject btspider cd btspider scrapy genspider -t basic btspiderx tieba.baidu.com 修改btspiderx内容 # -*- coding: utf-8 -*- import scrapy from bts…
转自:http://www.latelee.org/embedded-linux/use-tslib-to-display-chinese-character.html 终于到了在触摸屏上显示汉字了,真正写代码.测试的时间是1天,在此之前的一切准备.学习花费约2周到3周时间.而为了获取触摸屏上显示的图像,花费约2天.由于网络驱动已经接近于放弃状态,NFS用不了,只好用U盘来回复制(即使没有耐心也必须有耐心了).明明在内核中选择了支持NTFS格式的读写,但却不能将开发板上的文件复制到U盘,而用另一…
xmind 8 readme   README     LICENSE   XMind 3 is dual licensed under 2 open source licenses: the Eclipse Public License v1.0 (EPL), which is available at http://www.eclipse.org/legal/epl-v10.html , and the GNU Lesser General Public License v3 (LGPL),…