Wildsky

ws://wildsky.cc

耿 . Front-end Developer . Firefox Add-on Developer

Service Worker is watching you -- 簡介 SW

Service Wroker(後面簡稱 SW)可以看作是介於瀏覽器、網路、和 Web app 之間的 proxy servers。 說穿了就是可以寫程式來處理 request 和 response 的一種介面,讓開發者 Read more

Copia Byebye

I love a app called Copia, and there are also some media introduced it. But I found it disappear now. Mercifully, my friend, ettoolong, backuped it before. And now I decide to shared it to you all. If you are the ownner of Copia and you don’t want it appear here. Please send an email to me. (wildsky at moztw.org) Or you could just tweet to @wildskyf The most important thing, download link: https://drive. Read more

使用 Hugo 來建 blog

最近開始想要學點後端的東西,WM 便建議我可以去學 Golang,於是我就將身邊會用的幾 個東西變得跟 Golang 相關: server => 使用 caddy static website generator => 使用 hugo … 好像就這樣 Read more

error: could not install smartsocket listener: Address already in use

I like to flash my smartphone. There are two tools we should use when flashing: adb and fastbook. But I met a problem: I want to run new adb server, but it keep showing this message: error: could not install *smartsocket* listener: Address already in use and I gave a command ps aux | grep adb, then I got: READMORE wildsky 7456 0.1 0.0 9988 1916 ? Ss 20:43 0:01 /home/wildsky/Desktop/FlashTool/x10flasher_lib/adb. Read more

concat two mp4 files

I want to combine two mp4 files together, so I found a command: ffmpeg -i "concat:input1.mp4|input2.mp4|input3.mp4" -c copy output.mp4 But it doesn’t work. After my searching, I finally got the solution: ffmpeg -i input1.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate1.ts ffmpeg -i input2.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate2.ts ffmpeg -i "concat:intermediate1.ts|intermediate2.ts" -c copy -bsf:a aac_adtstoasc output.mp4 That’s it! ref: https://superuser.com/a/1059261

Vim 上 8.0, Vundle 換 vim-plug

今天在 Vim 的 Telegram 群組中被 OThree 推坑,把 Vim 升上 8.0 了,其實感覺也沒有什麼太大的改變。 升級指令就下這個: brew install vim --with-override-system-vi 升級後重開 Terminal 就會是 8.0 的 Vim 了。 升級完了以後就 Read more

讓 Mac 上的 Chrome 瘦身

剛剛在整理電腦時,發現 chrome 居然佔用了 2GB 的空間⋯⋯ 迅速查了一下才發現原來是他把一堆舊版本的資料全部都保留下來了。 (都存放在 /Applications/Google Chrome.app/Contents/Versions/ 下面) 這種行為真的 Read more

Mac 避免誤撞邊緣而啟動熱角功能

最近過年很無聊,又把 Dota2 抓回來玩了。很幸運地在 Mac 上可以玩這款遊戲! 但是一開進去後就發現一個問題,當我滑鼠撞到邊緣時就會觸發熱角(hot corn Read more

移植「封鎖內容農場」套件

最近一直在玩 Firefox 的擴充套件, 不過剛開始用來上手的專案都跟新分頁替換有關, 所以基本上架構大同小異。 前兩天在 chrome 上找到一個叫做「封鎖內容農場」的套件 Read more

從 vim 跳槽到 emacs

可能身邊的人都知道,我最近從 vim 跳到 emacs 了。 其實也沒有什麼特別的原因,只是突然想要玩一下, 又想著,要學會就要讓它融入生活中,就跳過來了。 真要說的 Read more

Geng-Zhi Fann © 2018

Powered by Hugo & Kiss.