2019年12月4日 星期三

Windows中使用鍵盤快捷鍵控制Chrome的媒體(Youtube)

- Chrome 75 or later → [Enable or Disable chrome.exe Volume Control and Media Key Handling | Tutorials](https://www.tenforums.com/tutorials/134484-enable-disable-chrome-exe-volume-control-media-key-handling.html)
- **chrome://flags/**
  -  Select **Default** or **Enabled** in the **Media Session Service**
  - Select **Default** or **Enabled** in the **Hardware Media Key Handling**
- 可能影響的extension
  - 關掉(停用)Google Play Music extension
  - 關掉YouTube NonStop extension:否則暫停後會自動撥放
- Youtube Music也可以用

新竹機車可能要更換的因素

車子太輕,可能被風吹走

2018年9月20日 星期四

好用的Stylus script

2018.09.20
Chrome, Firefox 可以通用(因為只是CSS)
都是從userstyles網站上找到的

Chinese Font 中文黑體

個人偏好使用Google提供的開源字型思源黑體,某些網頁撥放器的音量鍵可能會有問題(如
redtube)
reference:
  1. https://userstyles.org/styles/107714/chinese-font
  2. https://userstyles.org/styles/31267/global-dark-style-changes-everything-to-dark (regular expression的部分)
@-moz-document domain("google.com.tw"), domain("backpackers.com.tw"), domain("mobile01.com"), domain("wikipedia.org"), domain("ck101.com"), domain("appledaily.com.tw"), domain("dongtw.com"), domain("circle.tw"), domain("flipboard.com"), domain("techbang.com"), domain("ipeen.com.tw"), domain("businessweekly.com.tw"), domain("facebook.com"), domain("niusnews.com"), domain("udn.com"), domain("hbrtaiwan.com"), domain("dcard.tw"), domain("yahoo.com"), domain("inside.com.tw"), domain("taobao.com"), domain("wowlavie.com"), domain("cn.nytimes.com"), domain("businesstoday.com.tw"), domain("theinitium.com"), domain("buzzorange.com"), domain("ettoday.net"), domain("pansci.asia"), domain("bnext.com.tw"), domain("line.me"), domain("news.google.com"), domain("books.com.tw"), regexp("https?://(?!(www.redtube.com|forum.example.com)).*") {
html, body, h1, h2, h3, h4, h5, h6, p, a, div {font-family: "Noto Sans CJK TC", "Noto Sans CJK TC", "Source Han Sans", "Yu Gothic UI", "Yu Gothic", "Hiragino Sans GB", "微軟正黑體", "Microsoft YaHei", "MHei", "PingHei", Helvetica, "Helvetica Neue", Verdana, SegeoUI, Arial, sans-serif !important;}
}

PTT web article 美化

reference: https://userstyles.org/styles/107277/ptt-cc-article-view-dark
@-moz-document domain("ptt.cc") {
.article-meta-tag {
    background: transparent;
    color: #f3f3f3;
    padding: 0;
}

.article-metaline, .article-meta-value, .article-metaline-right {
    background: transparent;
    color: #f3f3f3;
}

.article-metaline-right {
    opacity: .5;
}

.article-metaline:first-child {
    font-size: 15px;
    padding-top: 75px;
}

.article-metaline:nth-child(3) .article-meta-tag {
    display: none;
}

.article-metaline:nth-child(3) .article-meta-value {
    left: 0;
    padding: 0;
    position: absolute;
    top: 30px;
    font-size: 24px;
    font-weight: bold;
}

.article-metaline:nth-child(4) {
    padding-bottom: 15px;
    border-bottom: 1px solid #414141;
    font-size: 15px;
}

[class^="article-metaline"]:nth-child(3n+1) [class^="article-meta"] {
    color: #999;
}
}

2018年9月19日 星期三

MarginNote 3 與Windows的同步測試

Date: 2018.09.19 (三)

Device: iPad Pro 12.9 iOS 11.3.1

  • 從MN2用優惠價180NTD買了MN3
  • iCloud在windows上的的同步速度還行
  • MN無法將annotation同步到iCloud (annotation後,iCloud並不會感知到檔案有改變),只能用匯出的方式強制將annotation做成PDF
  • 但是匯出的方式會讓PDF變得極大,而且是flattened PDF,原有的annotation在windows上都會無法編輯(包括highlight也是)

  • 檔案變大的幅度大概是2.6MB→14.3MB

2018年5月1日 星期二

PDF相關工具


  • pdfgrep
PDF內文搜尋利器,搭配bash on windows非常好用
缺點是安裝比較麻煩
  • Autobookmark
- test
**bold**