Author: ethanWong

【每日英文阅读】- Apple to Source all US iPhones from India, Pivots Away from China.

Apple to Source all US iPhones from India, Pivots Away from China. 翻译:苹果将所有美国市场的iPhone转由印度生产,逐渐远离中国。 source 名词的意思是:来源,根源,原因,源头,v.(从…)获得; 比如:Television and the internet are the most useful sources of information nowadays. 电视和网络是当今最有用的信息来源。 本句子中,source是动词的属性。 Apple says that it plans to begin sourcing all US iPhones from India, pivoting away from previously sourcing them from China. According to a Financial Times […]

WordPress wp-cli 安装

wp-cli 是wordpress的命令行接口,你可以通过该命令实现更新组件、配置多网站安装和更多功能,而不需要一个web浏览器,比较适合开发者或者喜欢命令行的用户使用。 Mac 平台 Linux 平台 通過下載phar 文件是官方比較推薦的安裝方式。在安裝wp-cli之前,請確認一下本地的安裝環境: 滿足了以上的安裝環境,下載phar文檔: 本地會有一個wp-cli.phar文檔,檢查文檔信息: 輸出結果: 为了保证整个wp-cli在全局中使用或者别名为wp命令,先要赋予wp-cli.phar有x的权限: 通过mv命令执行重命名: 執行wp –info命令,會得到當前wp安裝環境的更詳細的信息: OK,wp的安装就完成了。 Related link 如果你需要wordpress的主题或者插件开发,请联系我。

手动升级 OpenWrt 的PassWall軟件

最近使用的舊版軟件PassWall(以下簡稱:PW)一直在出現自動關掉的問題,看軟件版本有點太低了,於是就考慮嘗試升級相關的軟件,使用Openwrt的內部升級系統,發現提示升級不了,只能手動更新,為了方便使用開發環境需要的美國網絡,在不更換Openwrt系統的情況下,升級該軟件。

推荐系统二三事

推荐系统, 在目前信息大爆炸的年代,早就成了一个耳熟能详的词语,对于目前用短视频APP的用户,应该不会感到陌生,在抖音,快手,YouTube,FaceBook,Amazon ,Tmall 等等各种社交或者购物网站,都已经看到这样的现象:用户浏览了几个视频或者商品,系统会自动推荐很多相关或者类似的视频或者商品。 本文皆在概述当前主流的推荐系统算法,帮助数据科学家根据企业的限制条件和需求,选择最合适的算法。

How To Install PHP 7.4 and Set Up on Ubuntu 20.04

Introduction PHP is a popular server scripting language known for creating dynamic and interactive web pages. Getting up and running with your language of choice is the first step in learning to program. This tutorial will guide you through installing PHP 7.4 on Ubuntu and setting up a local programming environment via the command line. […]

马来西亚的数据中心如何成为推动中国人工智能雄心的引擎-每日英文精读

Just off a narrow highway in rural Malaysia, a vast cluster of buildings flanked by rows of solar panels towers above the surrounding palm plantations. 1. “Just off a narrow highway” 2. “A vast cluster of buildings” 3. “Towers above the surrounding palm plantations” By the end of 2025, global demand for computing power will […]

《白雪公主》遭遇恶意评分轰炸,IMDb上1星差评数量激增-每日英文

### 英文原文: Despite that, and issues surrounding Zegler and costar Gal Gadot’s views on the Israel-Gaza war, the film arrived this weekend whistling a tune that was happier than many anticipated. Although the film underperformed for a Disney movie, it still managed to pull in $43 million, making it the second-highest opening of the year […]

MacOS环境下VScode常用快捷键

  全局Command + Shift + P / F1 显示命令面板Command + P 快速打开Command + Shift + N 打开新窗口Command + W 关闭窗口 基本Command + X 剪切(未选中文本的情况下,剪切光标所在行)Command + C 复制(未选中文本的情况下,复制光标所在行)Option + Up 向上移动行Option + Down 向下移动行Option + Shift + Up 向上复制行Option + Shift + Down 向下复制行Command + Shift + K 删除行Command + Enter 下一行插入Command + Shift + Enter […]

Golang- function goroutine information .

Go by Example :Goroutines. A gorountine is a lightweight thread of execution . Suppose we have a function call f(s). Here’s how we’d call that in the usual way ,running it synchronously. To invoke this function in a goroutine, use go f(s). This new goroutine will execute concurrently with the calling one. You can also […]