Skip to content

Instantly share code, notes, and snippets.

View snowyu's full-sized avatar

Riceball LEE snowyu

View GitHub Profile
@snowyu
snowyu / readme.md
Last active May 23, 2022 07:16
tts issue

Text to Speech issue(cn).

@snowyu
snowyu / lights-bright.yaml
Last active April 28, 2022 12:20
HA Blueprints
blueprint:
# INTRODUCTION
name: Advanced Circadian Lighting Brightness
description: >-
This automation adjusts light brightness, temperature, and color hue,
based on current time and sun position.
@snowyu
snowyu / rust-vs-go.md
Created July 24, 2019 02:13 — forked from weihanglo/rust-vs-go.md
【譯】Rust vs. Go

【譯】Rust vs. Go

本文譯自 Julio MerinoRust vs. Go。Julio Merino 目前是 G 社僱員,在 G 社工作超過 8 年,無論工作內外,都接觸開發不少 Go 語言,並撰寫 [Rust 點評][rust-review]系列文,來聽聽他對 Rust 與 Go 的想法吧。

Thanks Julio Merino for this awesome article!


@snowyu
snowyu / kni-markdown-style.md
Last active December 12, 2018 01:27
The new style markdown KNI

I haven’t really thought about it yet. It is not perfect, just a start:

---
// the defaults front-matter config: YAML
type:
  gold: 
    type: integer
  arrow: integer
 hits: number
@snowyu
snowyu / .block
Created September 14, 2018 14:52 — forked from mbostock/.block
Zoomable Circle Packing
license: gpl-3.0
height: 960
@snowyu
snowyu / ts-quasar-cli.md
Created September 8, 2018 13:19
Add the typescript supports to quasar framework

Note: This guide applies to the project created by quasar-cli.

First install typescript and ts-loaderpackages in your project.

npm i -D typescript ts-loader

Then modified the quasar.conf.js file in your project:

@snowyu
snowyu / ubuntu-cli-install-android-sdk.sh
Created August 29, 2018 13:45 — forked from zhy0/ubuntu-cli-install-android-sdk.sh
Install Android SDK on headless Ubuntu linux machine via command line, so that you can compile open source Android apps.
#!/bin/bash
# Thanks to https://gist.github.com/wenzhixin/43cf3ce909c24948c6e7
# Execute this script in your home directory. Lines 17 and 21 will prompt you for a y/n
# Install Oracle JDK 8
add-apt-repository ppa:webupd8team/java
apt-get update
apt-get install -y oracle-java8-installer
apt-get install -y unzip make # NDK stuff

Keybase proof

I hereby claim:

  • I am snowyu on github.
  • I am riceball (https://keybase.io/riceball) on keybase.
  • I have a public key ASCy1kiohchAvf83_XajAR4qCpeZjPcTWORtnQf4HOGHVQo

To claim this, I am signing this object:

@snowyu
snowyu / screenshot1.png
Last active April 29, 2018 00:55
Ionic4.alpha2 item-sliding bug
Ionic4.alpha2: the avatar and button in the item-sliding will make the first rendering of the page very slow.
**Ionic version:** (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] **2.x**
[ ] **3.x**
[x] **4.x**
**I'm submitting a ...** (check one with "x")
[x] bug report

some tools for diagrams in software documentation

Diagrams For Documentation

Obvious Choices

ASCII