Skip to content

Instantly share code, notes, and snippets.

View lotem's full-sized avatar

居戎氏 lotem

  • Beijing, China
View GitHub Profile
@jlongster
jlongster / bloop.js
Last active September 5, 2022 23:33
bloop
(function() {
// Do not use this library. This is just a fun example to prove a
// point.
var Bloop = window.Bloop = {};
var mountId = 0;
function newMountId() {
return mountId++;
}
@staltz
staltz / introrx.md
Last active April 18, 2024 15:33
The introduction to Reactive Programming you've been missing
@d2207197
d2207197 / bopomofo.schema.yaml
Last active August 29, 2015 14:03
squirrel 設定檔 ,改用 dvorak
# Rime schema
# encoding: utf-8
schema:
schema_id: bopomofo
name: 注音
version: "1.6"
author:
- 佛振 <chen.sst@gmail.com>
description: |
@ian128K
ian128K / bash_colours
Last active March 8, 2021 18:26
Shell script colours
## Colours and font styles
## Syntax: echo -e "${FOREGROUND_COLOUR}${BACKGROUND_COLOUR}${STYLE}Hello world!${RESET_ALL}"
# Escape sequence and resets
ESC_SEQ="\x1b["
RESET_ALL="${ESC_SEQ}0m"
RESET_BOLD="${ESC_SEQ}21m"
RESET_UL="${ESC_SEQ}24m"
# Foreground colours
@nameoverflow
nameoverflow / weasel.custom.yaml
Last active October 20, 2019 06:33
小狼毫高仿 Win10 内置输入法
patch:
preset_color_schemes/metro:
back_color: 0xffffff
border_color: 0x444444
hilited_back_color: 0xffffff
hilited_candidate_back_color: 0x444444
hilited_candidate_text_color: 0xffffff
hilited_text_color: 0x000000
name: "metro"
text_color: 0x000000