The Littlest JupyterHub - TLJH
The Jupyter project is a free software, open standards, and web services for interactive computing across all programming languages. It provides: Jupyter Notebook: the classic notebook interface JupyterLab: the next-generation notebook interface Voilà: share your results with a secure, stand-alone web applications. JupyterHub: the multi-user server for Jupyter Notebook and JupyterLab The littlest JupyterHub(TLJH): the simplest JupyterHub for a small group running on a single machine. Zero to JupyterHub with Kubernetes(Z2JH): Provides user-friendly steps to deploy JupyterHub on a cloud using Kubernetes and Helm. I was confused by the JupyterHub and TLJH since they can run on a single server with the multiple users feature but after reading The Littlest Jupyterhub by Yuvi ...
ARM AMBA
Advanced Microcontroller Bus Architecture(AMBA) 2024-01-17 AMBA 5 is the latest generation of the freely available AMBA protocol specifications. It introduces the Coherent Hub Interface (CHI) architecture, which defines the interfaces to connect fully coherent processors and high-performance interconnects. AMBA 5 also introduces the AXI5, ACE5 and AHB5 protocols, which extend prior generations to include a number of performances and scalability features, and to align and complement CHI. AMBA 5 Protocols ...
Extend Volume Size on AWS EC2
If we wanna extend the storage space of the computer, we need to shut the machine down then you are able to add another storage device for it. Advantages of using Elastic Block Store(EBS) are reboot the instance is not needed. the space can be extended instead of adding a new device. Increase EBS volume size on EC2 is easy: Modify the volume on AWS Console Extend the partition by growpart Extend the file system by resize2fs(ext4) or xfs_growfs(xfs) Step 1: Modify the volume on AWS Console Login to AWS Console and select a volume via the Volume ID then click the Modify button on the top right corner. It will bring you to the modify configuration page. ...
Browser Graphics Are Broken
Since an Ubuntu update on 2023-05-24, graphics seem to be broken on Chrome and Microsoft Edge browsers. Method 1 A workaround is to remove the GPUCache folder in .config Google Chrome rm -rf ~/.config/google-chrome/Default/GPUCache Microsoft Edge rm -rf ~/.config/microsoft-edge/Default/GPUCache Method 2 If the browser still act weirdly, just remove all configuration and caches in the local. You will need to start from fresh, make sure you keep or sync bookmarks ...
Lazy.nvim
When I was switching from Vim to Neovim, I use The 300 line init.lua challenge and wbthomason/packer.nvim for the configuration. the Packer is working fine and has no big problems. Recently, I switched to folke/lazy.nvim because it has some features that saving a lot of time for users frequently working on a new environment, like me. Better TUI design Automatically install missing plugins before starting up Uses lazy-lock.json to track and restore plugins Compilation is no needed after plugins changes Packer and Lazy.nvim both are great plugin managers, and Packer is planning for big improvements on user experience and performance in Roadmap for Packer v2. ...
Fcitx5 倉頡輸入法 on Ubuntu 22.04
Fcitx5的繁體倉頡是在fcitx5-table-extra裡, 但被沒有打包成debain package無法直接使用apt安裝. 我們要自己編譯並安裝在系統上, 首先安裝必要的packages及fcitx5 $ sudo apt-get install fcitx5 fcitx5-chinese-addons git build-essential \ cmake extra-cmake-modules libboost-dev libimecore-dev libimetable-dev \ libfcitx5core-dev libfcitx5utils-dev 編譯及安裝fcitx5-table-extra $ git clone https://github.com/fcitx/fcitx5-table-extra.git $ cd fcitx5-table-extra && mkdir build && cd build $ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib .. $ make -j8 && sudo make install 重啟fcitx5就可以看到一些倉頡輸入法, 像是CangJie5, SmartCangJie6… PS. 檢查系統是否使用正確的輸入法框架可使用im-config指令 注音輸入法只要安裝fcitx5-chewing即可
Note-taking and file sharing with Syncthing and Joplin
You can find many note-taking services, like, Evernote, Google Keep, Notion, Obsidian and online storage services such as, Dropbox, Google Drive, OneDrive, iCloud. They are easy to use and secure. But, secure is not equal to private! A way to keep privacy is host private services by self. Edward Snowden’s Privacy Tips: “Get Rid Of Dropbox,” Avoid Facebook And Google This is how I share/edit notes and files with different devices which service providers are unable to peek and analyze my private contents. Joplin and Syncthing in grey are optional in the diagram, for example notes can be written on the Raspberry Pi through the terminal Joplin application, files can share between the Phone and the PC directly but my Raspberry Pi is online 24/7. ...