Sitemap

A list of all the posts and pages found on the site. For you robots out there is an XML version available for digesting as well.

Pages

Posts

Creating a Basic MIDI File from Scratch

A basic tutorial of how to create a simple MIDI file from scratch that contains only one note. What You Will Learn Using an example file, we’ll explain the...

Standard Outputs of C

Review of common inputs: printf, putchar, puts. Comparing to Standard Inputs, Standard Outputs are much simpler.

Hightower’s Algorithm

One of the traditional algorithms of solving routing problems in VLSI Design Automation is Hightower’s Algorithm. I haven’t seen someone writing about this ...

About Intuitive Theory

Strive to explain theories or topics in an intuitive, organized way. Feel free to express your opinion or ask questions in the comments! 試圖將一些某些理論或主題用淺顯易懂的方...

notes

Open Command Window Here

In File Explorer, hold Shift when right-clicking on a blank space in the desired folder bring up the Extended Context Menu. One of the options is Open Comman...

Invert colors on Windows

Open Magnifier. Turn on color inversion option. Ctrl+Alt+F to active (Full Screen) Ctrl+Alt+D to disable (Docked)

Installing Plugins in GIMP

Download Plugins or Scripts You can find plugin in registry.gimp.org. Extracting the downloaded plugin packages to files with extensions like .scm, .py....

C# Unit Test with IO Hack

When you want to test a simple I/O function that won’t change parent directories and files, you can just add a file in the test project and set it to Always ...

Premiere timeline preview bug

If the timeline preview in Adobe Premiere keeps shaking back and forth, try to remove the audio input. Set Edit->Preferences->Audio Hardware->Deafa...

Change cursor position using SendInput

The dx, dy in MOUSEINPUT should be within [0, 65535] when using absolute coordinates. And the currect formula should be: dx := x * 65536 / ScreenWidth + 1

NuGet pack dollar version error

When executing nuget pack [ProjectName].nuspec The error message occured: Value cannot be null or an empty string. Parameter name: value It’s caused by the...

將 AIM & XNAT 的原始碼和 ClearCanvas 整合在一起

在網路上有個能做醫學影像標記的開源專案 AIM on ClearCanvas 他目前出到第 4.5 版,我想要修改其中有發現的一些 bugs. 因為過程中遇到了很多問題,花了很多時間才解決(快整整三天),於是我把我的經驗整理一下,以供日後參考。

Markdown to PDF using Pandoc

Convert to PDF file When I use pandoc to convert markdown to pdf on Windows. The command below fails and give me an error message.

Auto indenting, formatting your code

將你的程式碼自動縮排/美化。 手動縮排程式碼是一個好習慣,但是程式碼一變長,或是一次性刪減很多不同的地方,甚至是幫別人 debug 沒編排好的 code 時,自動縮排快捷鍵就會變得非常方便。以下介紹一些 C/C++ 比較常用的 IDE 中如何使用自動縮排。 如果有自己愛用的 IDE 沒有被列在下面也歡迎告知我...

My AStyle arguments

The settings I used in my vimrc for code formatting: " Need astyle installed autocmd BufNewFile,BufRead *.c set formatprg=astyle\ -A1xjxVpSNYk1Hm0xwxWO auto...

mac OSX High Sierra on VirtualBox

Follow the steps here. If you encountered the problem that the downloaded Install High Sierra file only has 19MB. Then, check your OSX version and App Stor...

NoteBook FanControl

If your notebook’s fan is always on for some unknown reason, its fan settings might be changed to always on. You can change it back in the BIOS or using the...

to_string is not a member of std

When using Code::Blocks, I get the error when using MinGW g++ to compile: to_string is not a member of std. This is actually a bug of MinGW, which can be fi...

Unity output to UWP

Unity is a cross-platform game engine. When we want to export our game to Windows Store, it will show you a bunch of errors. The article below is some notes ...

Hinet webmail settings on ThunderBird

Setting up Hinet Webmail on mailing programs are such a hassle. By changing Outgoing Server to msr.hinet.net. In ThunderBird settings: Tools->Account Set...

Git error when pushing large LFS data

When pushing large files to GitLab or some other remotes, sometimes it will fail. We can fix it by the following command: git config http.postBuffer 5242880...

Turn off Windows Defender AntiVirus

If you’re a superuser, you might think Windows Defender’s AntiVirus is slowing your computer. If you don’t want this feature, you can disable it. Go to rege...

Emacs slow when viewing certain text

當 Emacs 裡面有「硬值」、「說明」、「內文」、「閱讀」、「腳」這幾個字時,org mode 會變很慢很慢,但刪掉後就沒事了。後來確認是因為字形的問題。可以從這邊 下載微軟雅黑體 (Microsoft YaHei Mono), 然後在 Options > Set Default Font... 裡面更改...

No sound on Windows

There’s a audio bug in Windows 10, the sound icon at the notification bar is normal, but there’s no sound. When this problem occurs, Youtube might freeze, a...

Windows 100 percent disk usage

My computer still has the 100% disk problem, however it seems to happen less by following the steps below: Disable Windows Search, Superfetch. Disable ...

Clean Unity GI cache

Open a Unity project: Edit > Preferences > GI Cache > Clean Cache In my case I cleaned 10 GB of caches. Further Reading Manual: GI cache | Uni...

Eslint and Egg.js lint error

Using Eslint with egg.js will have errors when linting files using: eslint --fix --ext .js,.vue --ignore-path .gitignore .

OneTab delete all saved tabs script

OneTab is a nice extension, but it becomes very slow when we have about 10k tabs. There aren’t options in OneTab to delete all tabs after exporting them. So ...

Dropbox Stop Syncing on Linux

Dropbox may stop syncing on Linux without any error message. The issue may arise from 2 causes: The user does not have the privilege to access the files t...

rl

Table of Contents

Use a graph to describe the relationship of Deep Reinforcement Learning baselines. Table the characteristic of these algorithms. List out the papers and blog...