• Merge Pandas DataFrame with Nested Dictionary

    Not an avid Pandas or Numpy user myself, but I had to spend some time lately to optimise probably a fairly common process: looking up…

    Continue Reading →

  • Windows 10/11 拼音输入法英式键盘

    很多年前就遇到的难题,最近在知乎找到了解决办法(原po点此)。这里复述一下也作为一个存档备份。 问题概述 使用非美式键盘,使用微软内建的中文输入法,当激活拼音输入法(无论中英文模式)时,键盘布局永远是美式。结果就是输入符号时不符合键盘上的符号(甚至字母都不对,如果用的是非QWERTY的键盘布局)。 解决方案 你需要有管理员权限! 按下Windows键(或者点击开始菜单按钮)输入 regedit,回车或者点击注册表编辑器。进入 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layouts 然后一个一个找(可以使用方向键翻,用鼠标点可能会点疯),找到你要修改的语言,例如这里我要改的是简体中文,文件夹00000804对应的就是简体中文的键盘布局 (Layout Text 的值是 Chinese (Simplified) – US Keyboard),双击 Layout File 把值从 KBDUS.DLL 改成 KBDUK.DLL,可以顺便把 Layout…

    Continue Reading →

  • Building KDE Frameworks on Windows from Source

    Some notes on how to build KDE Frameworks packages from source on Windows using Visual Studio tools. To do so, you need to first have…

    Continue Reading →

  • A New Termux Mirror

    TL; DR. https://termux.librehat.com is a new Termux packages mirror! Maintained by me, synchronised every six hours, located in the United Kingdom, hosted by Oracle Cloud.…

    Continue Reading →

  • Building Qt for Termux Android

    This is by all means, not the first blog post about Termux. It serves as a journal for myself, as well for anyone who’s interested…

    Continue Reading →

  • 调教三星 DeX 的输入法

    不知道有多少人是被 DeX 吸引到三星 Galaxy S 系列中的,DeX 可是其中一个很大的卖点(至少在欧洲和北美市场, DeX 是重点宣传的功能)。连上显示器(现在支援无线 DeX 了),或者平板切换开启 DeX 模式,马上生产力上升了好几倍! 然后马上你就会发现输入法被锁死在三星键盘上了。无论你本来喜爱的是谷歌的 GBoard 还是搜狗拼音,都被三星键盘替代了(退出 DeX 后输入法会变回去)。 三星键盘的中文录入是勉强能用级别,明显的卡顿和超过10个候选词的界面让你觉得这软件就没有 QA 的。搜索了一大圈网络教程,亲测使用 adb 可以修改 DeX 的输入法(Android…

    Continue Reading →

  • Fedora Linux with MATE Desktop on Android

    I know some of you geeks have already done something like that, running a GNU/Linux distribution on top of an Android device. It’s an interesting…

    Continue Reading →

  • 来份Brunch笔电瞬间变身Chromebook

    自从几年前卖掉华硕的一台小Chromebook后,看到Android和Linux应用程式的支持增加,又开始有点馋涎Chromebook……不过因为今年疫情全球大爆发,电子产品(尤其是适合居家办公和学习的)价格一路上扬(或者缺货)。Chromebook今年出货量增长更是迅猛(Windows PC, MacBook, Chromebook分类中增长幅度最大)。问我这台2015年买的老笔电尚能饭否?答曰:Brunch。 出厂预装的Windows 10早被我卸载干净了,单Linux系统(OpenSUSE)用了有一年多了,看到Brunch这个项目能在自己笔电上体验Chrome OS变身Chromebook,赶紧试验了一把,没想到效果出奇地好!这里特意用中文记载一下Linux下安装Chrome OS和后续升级的办法以供中文网络世界的朋友参考。

    Continue Reading →

  • Building Linux Kernel on Odroid-U3

    This is the year 2020, Odroid-U3 is far from a powerful ARM development board in today’s standard, but it is still more than capable! Quad-core…

    Continue Reading →

  • Virtual Linux Desktop Experience in Azure

    I wouldn’t believe that I will be writing this 10 years ago. It’s 2020 though. Microsoft has improved a lot of services for Linux, ranging…

    Continue Reading →