https://www.jianshu.com/p/7fb032cf2a98
// Cover Chrome 50-69, because some versions are broken by SameSite=None,
https://www.jianshu.com/p/7fb032cf2a98
// Cover Chrome 50-69, because some versions are broken by SameSite=None,
从Android Studio 2.2以后,原生代码更倾向于使用CMake(CMakeLists.txt)来编译,而不是Android.mk(但也一直支持,不过不允许混用)。参考:Android.mk转换成CMakeLists.txt
Android的工程可以在命令行下编译:
工程目录> ./gradlew assembleDebug
默认环境已内置LLDB,可以直接对C++文件进行断点调试。需要先以Debug App模式启动,然后在应用等待调试进程连接的时候,点击Attch Debuger to Android Process.
To redirect stderr
to stdout
and have error messages sent to the same file as standard output, use the following:
正确的写法:command > file 2>&1
> file
redirect the stdout
to file
, and 2>&1
redirect the stderr
to the current location of stdout
.
IE浏览器检测方法如下:
给不支持某些JS语法的浏览器打补丁。
It's a service which accepts a request for a set of browser features and returns only the polyfills that are needed by the requesting browser.
https://github.com/requirejs/requirejs
RequireJS loads plain JavaScript files as well as more defined modules. It is optimized for in-browser use, including in a Web Worker, but it can be used in other JavaScript environments, like Rhino and Node. It implements the Asynchronous Module API.
对于经常使用Linux的视障人士,Ekho TTS的语音可能不太舒服,可以考虑购买Voxin TTS。
Voxin TTS是IBM开发的支持Linux平台的TTS,基础版本只需要30元人民币左右,质量更好的也大概只需要200元人名币左右。不过需要使用信用卡支付。如果想试用或购买遇到困难,联系黄冠能(hgneng at 163.com)解决。
使用方法如下:
tar zxvf voxin-chs-3.3rc4.x86_64.tgz
cd voxin-3.3rc4/voxin-chs-3.3rc4
sudo --login $PWD/voxin-installer.sh
如果当前用户不是sudoer,执行上面命令之前先运行su -切换到root用户。注意su后面有个空格和减号,要把环境变量也切换过去。
运行reboot重启系统
在Orca的设置里把语音的朗读合成器为voxin。
非私营单位最近5年工资平均以每年10%左右幅度上涨。私营单位表现不及非私营,工资只有非私营一半多一些。从行业来看,信息产品、科学研究、金融业收入居前。
提示:下面是一张超大图片,可以把图片下载后缩放浏览。
中国在5年时间里增长了20%左右。首位的摩纳哥没有变化。美国也增长了20%左右,人均收入是中国6倍多。香港并不及美国,只有中国大陆5倍。原以为香港会超过美国平均水平,超过美国的是澳门,澳门比香港多50%左右。
最新评论