Skip to content

Instantly share code, notes, and snippets.

View meyu's full-sized avatar
💡

李孟諭 meyu

💡
View GitHub Profile
@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_';

安裝作業工具 (若需要)

安裝 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 / 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
@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 / Quick Reference of Markdown Syntax.md
Last active February 4, 2019 06:33
施工中: Quick Reference of Markdown Syntax

h1

h2


===

italic

@meyu
meyu / permanently_ignore_changes_to_a_file.md
Last active June 19, 2018 03:33
備忘技巧:不小心將 .vs 列入版控時

Permanently ignore changes to a file

  1. Add .vs to .gitignore.
  2. Run command git rm --cached .vs -r.
  3. Commit the staged changes.

References

@meyu
meyu / Angular Material - Getting started.md
Last active May 1, 2018 06:54
Essential steps for starting up an Angular Material project.

Angular Material - Getting started

Install packages

npm i --save @angular/material @angular/cdk
npm i --save @angular/material-moment-adapter moment
npm i --save @angular/animations
npm i --save web-animations-js
@meyu
meyu / Few things of Hololens development.md
Last active April 19, 2018 05:19
開發要點筆記中

Few things of Hololens development

Required Softwares

On your PC

@meyu
meyu / Visual Studio Code Extensions Pack 上架 Marketplace 的簡易流程.md
Last active October 5, 2022 05:28
將喜好的擴充套件,以 Pack 型式發佈於 Marketplace,方便自己也方便別人
@meyu
meyu / a_Struct.vb
Created April 3, 2018 08:24
sample of making a bootstrap navbar-like-html at asp.net in vb.net
Public Class a_Struct
'系統資訊設定
Public ReadOnly SystemTitle As String = "滿意不滿意系統"
Public ReadOnly helpBuss As String() = {"業務諮詢", "1111", "林林林老師"} '業務承辦人資訊
Public ReadOnly helpTech As String() = {"系統維護", "8888", "李李李先生"} '系統管理者資訊
Public ReadOnly menuLeft As String(,) = {{"問卷填寫", "Home.aspx"}} '使用者選單
Public ReadOnly menuRight As String(,) = {{"問卷管理", "Admin.aspx"}} '管理者選單
'生成選單 (採用 Bootstrap Navbar 元件)