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

升級 Mysql 遇到的坑

因為一些原因,需要在 CentOS 6 上使用 mysql 5.7。看了一下才發現這台 server 上的 mysql 是 5.1 版,找了一些方法裝完後,才發現是悲劇的開始⋯ 這邊先來個 tl;dr cd /tmp wget http://dev.mysql.com/get/mysql57-community-release-el6-9.noarch.rpm sudo yum localinstall 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.