Skip to content

Instantly share code, notes, and snippets.

View meyu's full-sized avatar
💡

李孟諭 meyu

💡
View GitHub Profile
@meyu
meyu / Enabling Emmet for JSX on Visual Studio Code.md
Last active February 6, 2019 15:55
備忘技巧:讓 VSCode 的 Emmet 支援 React JSX

於 User Settings 中添加以下內容即可

"emmet.includeLanguages": {
    "javascript": "javascriptreact"
},
"files.associations": { 
    "*.js": "javascriptreact" 
}
@meyu
meyu / Install Autosub on macOS.md
Last active March 1, 2024 06:40
Install Autosub on macOS

預先安裝(若需要)

安裝 Homebrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

安裝 FFmpeg

brew install ffmpeg

安裝作業工具 (若需要)

安裝 Homebrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

安裝 Visual Studio Code

brew install visual-studio-code
@meyu
meyu / toasts.js
Created April 14, 2020 06:04
toasts.js
// 版型依賴:Bootstrap 4 Toasts:https://getbootstrap.com/docs/4.3/components/toasts/
// 動畫依賴:Animate.css 3.7:https://daneden.github.io/animate.css/
// 觸發時機:頁面載入時,讀取 bake_toasts_* 之 cookies 內容,並產生類 Toasts 之訊息
showToasts();
// 產線
function showToasts() {
// 基本設定
const kuki_name = 'bake_toasts_';