Skip to content

Instantly share code, notes, and snippets.

@tjumyk
tjumyk / Ubuntu_24.04_Install_Sogou_Pinyin.md
Last active June 11, 2026 12:42
Ubuntu 24.04 Install Sogou Pinyin
  • Remove ibus
sudo apt purge ibus
sudo apt autoremove
  • Install Sogou Pinyin and dependencies
# Download deb installer from https://shurufa.sogou.com/linux
sudo dpkg -i <sogou_xxx.deb>
sudo apt install -f
@alexchexes
alexchexes / CHANGELOG.md
Last active July 2, 2026 08:36
ChatGPT web-interface width fix (and other UI improvements)

2026-06-29

  • Fix dark background being accidentally applied to white theme for certain UI elements. Thanks @simcc!

2026-06-28

  • Fix background color for https://chatgpt.com/codex/cloud (see previous log entry about adding new mainBgColor tweak)
  • Fix dark background color being accidentally applied to white theme

2026-06-17

  • Add mainBgColor default option that restores a readable UI background in place of the eye-bleeding #000-black. If you like #000 or use an OLED display, you can remove this by setting defaultSettings.mainBgColor.enabled to false.
@mottyc
mottyc / zookeeper-service-script
Last active January 10, 2022 07:07
Zookeeper service script (copy to file: /etc/init.d/zookeeper)
#! /bin/sh
# /etc/init.d/zookeeper: start the zookeeper daemon.
# chkconfig: - 80 20
# description: zookeeper
ZK_HOME=/opt/kafka
ZK_USER=root
ZK_SCRIPT=$ZK_HOME/bin/zookeeper-server-start.sh
ZK_CONFIG=$ZK_HOME/config/zookeeper.properties
@mottyc
mottyc / kafka-service-script
Last active January 10, 2022 07:07
Kafka service script (copy to file: /etc/init.d/kafka)
#! /bin/sh
# /etc/init.d/kafka: start the kafka daemon.
# chkconfig: - 80 20
# description: kafka
KAFKA_HOME=/usr/share/kafka
KAFKA_USER=root
KAFKA_SCRIPT=$KAFKA_HOME/bin/kafka-server-start.sh
KAFKA_CONFIG=$KAFKA_HOME/config/server.properties