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

作業系統 Ch3-1 - Process

什麼是 Process?和 Program 差在哪? Program = passive entity - 只是存在 disk 的 binary 檔 Process = active entity - 存在 memory 中、正在執行的 program 簡單地說,差別就是在是否「正在被執行」。 一個 Process 包 Read more

作業系統 Ch2-1 - interrupt

最近在看 清大開放課程作業系統 還債XD 上次看的這次就忘了,所以想來記筆記, 幫助未來自己不用再重看影片。 這次看的是關於 interrupt 的部分,探討作業系統如何 Read more

Copia beta (clipboard helper) 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 fastboot. 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

Geng-Zhi Fann © 2018

Powered by Hugo & Kiss.