小任班长 发布的文章

Redmi notebook product
Xiaomi's brand Redmi held a new product launch in Beijing. In addition to the K30, Redmi also released its first 13-inch notebook product, the RedmiBook 13.

This time the RedmiBook 13 focuses on the concept of thin and light and full screen. The entire A / C / D surface is made of metal. The body weight is 1.23kg, and the basic version (excluding the independent graphics card) weighs only 1.19kg.

The RedmiBook 13 uses a 13.3-inch 1080p Full HD anti-glare screen with ultra-narrow sides on all sides. The official screen ratio figure reached 89%. When there is no more room for narrowing the left, right, and upper borders of the screen, RedmiBook 13 challenges the width of the lower border and uses Bent180 ° packaging technology to fold the screen circuit board to the back of the screen to further reduce the width of the lower border to 9.96. mm.

In terms of hardware, the RedmiBook 13 is equipped with Intel Core 10th generation 14nm ++ processor, there are two versions of i5 and i7, respectively using i5-10210U and i7-10510U processors, and it has an independent graphics card NVIDIA GeForce MX250.

In terms of battery life, it is equipped with a large 40Whr battery, which can provide users with a long battery life of up to 11 hours. It also supports 1C fast charge technology, which can charge up to 50% in 35 minutes.

In terms of ecology, Xiaomi also emphasized the file transfer experience between mobile phones and notebooks, notebooks and laptops at the press conference. Through the "Smart Interconnect" application, file sharing and interworking between Xiaomi mobile phones and notebooks can be easily completed.

In terms of price, the RedmiBook 13 has three versions, of which the i5 version of the integrated display is priced at 4,199 yuan, the i5 version of the independent display is priced at 4,499 yuan, and the i7 version of the independent display is priced at 5,199 yuan.

  GitHub 或正式登陆中国!据外媒报道,全球最大的软件开发平台 GitHub 计划在中国开设分公司。此前 GitHub 曝出封禁“受美国制裁”国家账号,引起舆论哗然。

  GitHub~要~登~陆~中~国~啦~

  据英国《金融时报》,全球最大的软件开发平台 GitHub 计划在中国开设子公司。
github china

  GitHub 首席运营官 Erica Brescia 在接受英国《金融时报》采访时表示,对于该公司在中国扩张的计划,中国方面“非常鼓励”。
 开源项目贡献者数量增长最多的是中国香港。除开源之外,从公共和私人贡献来看,亚洲的开发者社区在 2019 年增长迅速。其中 31% 的亚洲贡献者来自中国。自 2014 年以来,美国以外地区开发者数量不断上升,亚洲贡献者群体的年增长率已超过欧洲和北美。

01185-grkgijxdmts.png

  中国的开发者对于 GitHub 来讲是不可或缺的重要组成部分,但鉴于当前的紧张形势,谁又能保证 GitHub 未来不会迫于压力对中国账号进行限制呢?这样看来,GitHub 进军中国是对双方都是有好处的。

chrome Sync clipboard services 
Chrome 79 在桌面版和 Android 版浏览器中添加了一项新的功能,名为“共享剪贴板”(shared clipboard)。简单来说,就是可以实现在电脑端复制,手机端粘贴。有了这项功能,在手机和电脑之间传递文本、链接等要容易得多,不再需要依靠第三方应用程序来进行复制和粘贴。

chrome79

  共享剪贴板可在 Android 版本的浏览器和所有桌面端版本(Windows、macOS、Linux 和 Chrome 操作系统)之间使用。该功能存在于 Android 端的稳定版 Chrome 浏览器中,但目前对于桌面端来说,仅在 Chrome Canary 中可用,并且必须手动启用。
 步骤如下:

1.确保已更新到最新版 Chrome Android APP;
2.安装最新的 Chrome Canary 版本;
3.在 PC 和 Android 设备上登录到相同的 Google 帐户;
4.在 Chrome Canary 上的地址栏中输入 chrome://flags,然后按 Enter;
5.使用搜索框查找“剪贴板”(clipboard)。应该会弹出三个标志:“使接收器设备能够处理共享剪贴板功能”(Enable receiver device to handle shared clipboard feature),“使共享剪贴板功能信号能够被处理”(Enable shared clipboard feature signals to be handled)和“同步剪贴板服务”(Sync clipboard services);
6.使用下拉框将所有三个标志设置为“启用”,然后重新启动 Chrome Canary。
  完成以上步骤后,便可以在 Chrome 桌面浏览器中选择文本,然后单击右键,将其发送到 Android 设备。同样的,在 Android 端高亮文本后也可发送至电脑。

  消息来源:https://lifehacker.com/send-yourself-notes-with-chromes-new-shared-clipboard-1840316711

Chrome插件为了安全是不提倡在页面上直接写JavaScript的,如果出现了这个提示,其实也没有什么,同样可以运行。

从Chrome Extenstion V2开始,不允许执行任何inline javascript代码(也就是html内的任何js代码都不允许执行),比如下面的代码:

<input type="submit" name="btn_submit" value="测试按钮" id="btn_submit" class="btn_submit" onclick="run()"/>

但是提倡引入外部JS文件,然后在这个文件夹上进行绑定。比如:

$('#btn_submit').click(function () {
    run();
});
 
免责声明
本博客部分内容来自于互联网,不代表作者的观点和立场,如若侵犯到您的权益,请联系[email protected]。我们会在24小时内进行删除。