GNU







C/C++
    ∗ 開發環境
    ∗ hello, world!
    ∗ crc32
    ∗ popen
    ∗ json-c
    ∗ signal
    ∗ scandir
    ∗ home env
    ∗ -rdynamic
    ∗ rapidjson
    ∗ backtrace
    ∗ ring buffer
    ∗ input_event
    ∗ zip compress
    ∗ domain socket
    ∗ lz77 compress
    ∗ set capability
    ∗ set capability (container)
    ∗ write framebuffer
    ∗ multi-line string
    ‐ TCP Server、Client
    ‐ UDP Server、Client
    ∗ dlopen、dlsym、dlclose
    ∗ read data from usb hid
    ∗ read file line by line
    ∗ GetPrivateProfileString
    ∗ opendir、readdir、closedir
    ∗ shmget、shmat、shmdt、shmctl
Assembly (ARM)
    ∗ 開發環境
    ∗ hello, world! (printf)
    ∗ hello, world! (swi, eabi)
    ∗ hello, world! (swi, oabi)
Assembly (ARM 64)
    ∗ 開發環境
    ∗ hello, world! (svc)
    ∗ hello, world! (printf)
Assembly (MIPSEL)
    ∗ 開發環境
    ∗ hello, world! (printf)
    ∗ hello, world! (syscall)
Assembly (RISC-V 64)
    ∗ 開發環境
    ∗ hello, world! (ecall)
    ∗ hello, world! (printf)
Assembly (x86)
    ∗ 開發環境
    ∗ hello, world! (gs)
    ∗ hello, world! (printf)
    ∗ hello, world! (int 0x80)
    ∗ hello, world! (sysenter)
Assembly (x64)
    ∗ 開發環境
    ∗ hello, world! (printf)
    ∗ hello, world! (syscall)
    ∗ hello, world! (int 0x80)
invoke
struct
restore pid
-fsanitize=address
Makefile .PHONY
Makefile =、:=、?=、+=
Makefile EXTRA_CFLAGS
Makefile 列印shell執行結果
int 0x80、sysenter、syscall
如何在Preprocessor列印定義的數值
如何編譯ELF並使用指定的LIB路徑執行
關於musl libc dlclose unload問題
解決"undefined reference to mq_timedreceive"問題
解決"undefined reference to __gmpn_invert_limb"問題



Netwide Assembler (NASM)







Assembly (x86)
    ∗ 開發環境
    ∗ hello, world! (gs)
    ∗ hello, world! (printf)
    ∗ hello, world! (int 0x80)
    ∗ hello, world! (sysenter)
    ∗ argc、argv
    ⊕ Win32 API
        ∗ 開發環境
        ∗ Hello, world!
        ⊕ Dialog
            ∗ Create Window
            ∗ Handle Event
        ⊕ Single Document Interface (SDI)
            ∗ Create Window
            ∗ Handle Event
        ∗ Keyboard Event
        ∗ Mouse Event
        ∗ Set Timer
        ∗ Set ScrollBar
        ⊕ Painting
            ∗ Set Pixel
            ∗ Create Brush
            ∗ Create Pen
            ∗ Create Font
            ∗ Draw Line
            ∗ Draw Rectangle
            ∗ Draw Ellipse
            ∗ Draw Polygon
            ∗ Draw Arc
            ∗ Draw Chord
            ∗ Draw Pie
            ∗ Draw Text
    ⊕ Win32 API (NASMX)
        ∗ 開發環境
        ∗ Hello, world!
        ⊕ Dialog
            ∗ Create Window
            ∗ Handle Event
        ⊕ Single Document Interface (SDI)
            ∗ Create Window
            ∗ Handle Event
        ∗ Keyboard Event
        ∗ Mouse Event
        ∗ Set Timer
        ∗ Set ScrollBar
        ⊕ Painting
            ∗ Set Pixel
            ∗ Create Brush
            ∗ Create Pen
            ∗ Create Font
            ∗ Draw Line
            ∗ Draw Rectangle
            ∗ Draw Ellipse
            ∗ Draw Polygon
            ∗ Draw Arc
            ∗ Draw Chord
            ∗ Draw Pie
            ∗ Draw Text
Assembly (x64)
    ∗ 開發環境
    ∗ hello, world! (printf)
    ∗ hello, world! (syscall)
    ∗ hello, world! (int 0x80)
解決"undefined reference to __udivdi3"問題
解決"undefined reference to _Unwind_Resume"問題
解決"undefined reference to dl_iterate_phdr"問題




MASM32







開發環境
Hello, world!
Dialog
    ∗ Create Window
    ∗ Handle Event
Single Document Interface (SDI)
    ∗ Create Window
    ∗ Handle Event
Keyboard Event
Mouse Event
Set Timer
Set ScrollBar
Painting
    ∗ Set Pixel
    ∗ Create Brush
    ∗ Create Pen
    ∗ Create Font
    ∗ Draw Line
    ∗ Draw Rectangle
    ∗ Draw Ellipse
    ∗ Draw Polygon
    ∗ Draw Arc
    ∗ Draw Chord
    ∗ Draw Pie
    ∗ Draw Text




High Level Assembly (HLA)







開發環境
hello, world!
Win32 API (HLA v1.x)
    ∗ 開發環境
    ∗ Hello, world!
    ⊕ Dialog
        ∗ Create Window
        ∗ Handle Event
    ⊕ Single Document Interface (SDI)
        ∗ Create Window
        ∗ Handle Event
    ∗ Keyboard Event
    ∗ Mouse Event
    ∗ Set Timer
    ∗ Set ScrollBar
    ⊕ Painting
        ∗ Set Pixel
        ∗ Create Brush
        ∗ Create Pen
        ∗ Create Font
        ∗ Draw Line
        ∗ Draw Rectangle
        ∗ Draw Ellipse
        ∗ Draw Polygon
        ∗ Draw Arc
        ∗ Draw Chord
        ∗ Draw Pie
        ∗ Draw Text
解決w.WC_DIALOG定義錯誤問題
解決"flex: input rules are too complicated (>= 32000 NFA states)"問題




Flat Assembler (FASM)







Assembly (ARM)
    ∗ 開發環境
    ∗ hello, world! (swi, eabi)
    ∗ hello, world! (swi, oabi)
Assembly (x86)
    ∗ 開發環境
    ∗ hello, world! (printf)
    ∗ hello, world! (int 0x80)
    ⊕ Win32 API
        ∗ 開發環境
        ∗ Hello, world!
        ⊕ Dialog
            ∗ Create Window
            ∗ Handle Event
        ⊕ Single Document Interface (SDI)
            ∗ Create Window
            ∗ Handle Event
        ∗ Keyboard Event
        ∗ Mouse Event
        ∗ Set Timer
        ∗ Set ScrollBar
        ⊕ Painting
            ∗ Set Pixel
            ∗ Create Brush
            ∗ Create Pen
            ∗ Create Font
            ∗ Draw Line
            ∗ Draw Rectangle
            ∗ Draw Ellipse
            ∗ Draw Polygon
            ∗ Draw Arc
            ∗ Draw Chord
            ∗ Draw Pie
            ∗ Draw Text




Wine







Assembly (ARM 64)
    ∗ 開發環境
    ∗ Hello, world!
C/C++
    ∗ 開發環境
    ∗ Hello, world!
    ⊕ Dialog
        ∗ Create Window
        ∗ Handle Event
    ⊕ Single Document Interface (SDI)
        ∗ Create Window
        ∗ Handle Event
    ∗ Keyboard Event
    ∗ Mouse Event
    ∗ Set Timer
    ∗ Set ScrollBar
    ⊕ Painting
        ∗ Set Pixel
        ∗ Create Brush
        ∗ Create Pen
        ∗ Create Font
        ∗ Draw Line
        ∗ Draw Rectangle
        ∗ Draw Ellipse
        ∗ Draw Polygon
        ∗ Draw Arc
        ∗ Draw Chord
        ∗ Draw Pie
        ∗ Draw Text
        ∗ Device Context BitBlt
            ∗ StretchBlt
        ⊕ Menu
            ∗ Resource
            ∗ CreateMenu
            ∗ System Menu
            ∗ TrackPopupMenu
        ⊕ Controls
            ∗ Button
            ∗ Edit
        ⊕ Resource
            ∗ Icon
            ∗ RCDATA
            ∗ DialogBox
            ∗ VersionInfo
            ∗ StringTable
            ∗ Accelerator
            ∗ CreateDialog
        ⊕ Common Dialog
            ∗ OpenFile
            ∗ SaveFile
            ∗ FindText
            ∗ PageSetup
            ∗ ChooseFont
            ∗ ChooseColor
            ∗ ReplaceText
如何顯示System Menu




MinGW







C/C++
    ∗ 開發環境
    ∗ Hello, world!
    ⊕ Dialog
        ∗ Create Window
        ∗ Handle Event
    ⊕ Single Document Interface (SDI)
        ∗ Create Window
        ∗ Handle Event
    ∗ Keyboard Event
    ∗ Mouse Event
    ∗ Set Timer
    ∗ Set ScrollBar
    ⊕ Painting
        ∗ Set Pixel
        ∗ Create Brush
        ∗ Create Pen
        ∗ Create Font
        ∗ Draw Line
        ∗ Draw Rectangle
        ∗ Draw Ellipse
        ∗ Draw Polygon
        ∗ Draw Arc
        ∗ Draw Chord
        ∗ Draw Pie
        ∗ Draw Text
        ∗ Device Context BitBlt
    ∗ Enumerate USB HID
    ∗ URLDownloadToFile
inline assembly
如何編譯成DLL
如何編譯出最小Size的PE檔案
解決"junk (%esp) after expression"問題
解決"undefined reference to InitCommonControlsEx"問題
解決"undefined reference to HidD_GetHidGuid(_GUID*)@4"問題
OpenCV
    ∗ 安装環境
    ∗ show mp4
    ∗ 解決"error: recursive_mutex in namespace std does not name a type"問題
    ∗ 解決"x86_64-w64-mingw32-gcc: error: unrecognized command line option -rdynamic"問題




Wayland







Client
    ∗ 開發環境
    ∗ connect server
    ∗ add listener
    ∗ bind compositor
    ∗ create surface
    ∗ create buffer
    ∗ draw pixel
    ∗ redraw pixel
    ∗ ping and pong
    ∗ EGL
    ∗ EGL texture
WAYLAND_DEBUG
如何使用Valgrind找出Memory Leak的地方




Rust







開發環境
Hello, world!
SQLx
Web Server
Web Server (Form)
Web Server (CRUD)
PI - Monte Carlo
PI - Monte Carlo (Parallelism)
PI - Monte Carlo (Concurrency)
SDL v1.2
    ∗ Hello, world!
    ∗ Fill Color
    ∗ Draw Box
    ∗ Load BMP




SDL







SDL v1.2
    ∗ 開發環境
    ⊕ C/C++
        ∗ Hello, world!
        ∗ Fill Color
        ∗ Draw Box
        ∗ Load BMP
        ∗ Save BMP
        ∗ Load PNG
        ∗ Copy Surface
        ∗ Stretch Surface
        ∗ Convert Surface
        ∗ Color Key
        ∗ Keyboard Event
        ∗ Mouse Event
        ∗ Open Font
        ∗ Get Ticks
        ∗ Load Music
        ∗ Music Effect
        ∗ Hook Music Finished
        ∗ Pixels Manipulation
        ∗ Set Alpha
        ∗ Set Timer
        ∗ Add Timer
        ∗ Load BMP from Memory
        ∗ Load PNG from Memory
        ∗ Open Font from Memory
        ∗ Load Music from Memory
        ∗ Music Effect from Memory
        ∗ Thread
        ∗ Pixel
        ∗ Line
        ∗ Rectangle
        ∗ Circle
        ∗ Ellipse
        ∗ Pie
        ∗ Trigon
        ∗ Polygon
        ∗ Bezier
        ∗ String
    ⊕ Assembly (x64)
        ∗ Hello, world!
    ⊕ Assembly (ARM)
        ∗ Hello, world!
    ∗ SDL_AUDIODRIVER支援類型
    ∗ SDL_VIDEODRIVER支援類型
    ∗ SDL_FB_BROKEN_MODES用途
    ∗ SDL_Flip()、SDL_UpdateRect()
    ∗ SDL_SWSURFACE、SDL_HWSURFACE
    ∗ 如何知道SDL是否設定成SDL_DOUBLEBUF
SDL v2.0
    ∗ 開發環境
    ⊕ C/C++
        ∗ Hello, world!
        ∗ Fill Color
        ∗ Draw Box
        ∗ Load BMP
        ∗ Save BMP
        ∗ Load PNG
        ∗ Save PNG
        ∗ Copy Surface
        ∗ Stretch Surface
        ∗ Convert Surface
        ∗ Rotate Render
        ∗ Color Key
        ∗ Keyboard Event
        ∗ Mouse Event
        ∗ Open Font
        ∗ Get Ticks
        ∗ Load Music
        ∗ Music Effect
        ∗ Pixels Manipulation
        ∗ Set Alpha
        ∗ Add Timer
        ∗ Load BMP from Memory
        ∗ Load PNG from Memory
        ∗ Open Font from Memory
        ∗ Load Music from Memory
        ∗ Music Effect from Memory
        ∗ Thread
    ∗ VSync
    ∗ SDL_AUDIODRIVER支援類型
    ∗ SDL_VIDEODRIVER支援類型
    ∗ SDL_FB_BROKEN_MODES用途
OpenGL ES 2.0
    ∗ 開發環境
    ⊕ C/C++
        ∗ Get Version
        ∗ Fill Color
        ∗ Draw Triangle
        ∗ Shader
        ∗ Texture
        ∗ Texture Rotation




SFML







C/C++
    ∗ 開發環境
    ∗ Hello, world!




Golang







開發環境
Hello, world!
解決"cannot load io/fs: malformed module path io/fs"問題




Python







SHA1
MySQL
MongoDB
treelib
XOR Binary
Outlook寄信
webadv上傳檔案
Walk Directory
Google Translator
取得Command Line結果
利用dispatch讀取excel
取得Process記憶體使用量
下載Google Drive的檔案
上傳ZIP檔案到Google Drive
取得Google Drive的檔案列表
Skip next item in for loop
List Win32 Running Services
如何讓unittest只跑幾個特定的檔案
解決"ImportError: cannot import name encoders"
解決"No module named xmlrunner.__main__; xmlrunner"問題
解決"module object has no attribute directive_defaults"
解決"This file has been identified as malware or spam and cannot be downloaded"
PyGtk
    ∗ hello, world!




Gtk







開發環境
C/C++
    ∗ hello, world!
Assembly (ARM)
    ∗ hello, world!



Qt







開發環境
C/C++
    ∗ hello, world!
解決"QtWebKit: No such file or directory"問題



OpenCV







C/C++
    ∗ 開發環境
    ∗ mouse
    ∗ erode
    ∗ dilate
    ∗ contours
    ∗ trackbar
    ∗ show mp4
    ∗ convexhull
    ∗ show image
    ∗ shape distance
    ∗ fast line detector
    ∗ color image to gray
    ∗ modify pixels(gray)
    ∗ get avi frame count
    ∗ modify pixels(color)
    ∗ save avi frame to jpg
    ∗ show specific frame from avi
build openpose
解決"error: SIFT has not been declared"問題
解決"opencv2/ximgproc.hpp: No such file or directory"問題
解決"OpenCVHelper.obj : error LNK2019: unresolved external symbol void __cdecl cv::GaussianBlur"問題




Hildon







C/C++
    ∗ 開發環境
    ∗ hello, world!
    ∗ button
desktop overview
software architecture




Visual C++







Console
    ∗ volatile
    ∗ UTF8轉BIG5
    ∗ extern "C"
    ∗ &&、&、||、|
    ∗ 顯示倚天中文字型
    ∗ 交換變數(無需暫存變數)
    ∗ 為何變數要使用兩個!!符號
    ∗ declaration、definition
    ∗ (y*3.14)、((y*314)/100)、((y*201)>>6)
GUI
    ⊕ Win32 API
        ∗ 開發環境
        ∗ Hello world!
    ∗ Drop File
    ∗ 分析USBView
    ∗ System Timer
    ∗ Screen Capture
    ∗ Process x86/x64
    ∗ OutputDebugString
    ∗ MakeSureDirectoryPathExists
    ∗ WM_CLOSE、WM_DESTROY、WM_QUIT
    ∗ GetKeyState、GetKeyboardState、GetAsyncKeyState
    ∗ FILE_FLAG_WRITE_THROUGH、FILE_FLAG_NO_BUFFERING
    ∗ 解決"LNK1112: module machine type 'x64' conflicts with target machine type 'X86'"的問題
    ⊕ MFC
        ∗ 開發環境
        ∗ Hello world!
    ∗ Wow64
    ∗ Memory Leak
    ∗ Unroll for、while
    ∗ CScrollView Dialog
    ∗ 解決執行管理權限的問題
    ∗ 解決無法自動顯示函數的問題
    ∗ 解決"mspdb60.dll Error Messages"問題
    ∗ 解決"mspdb80.dll Error Messages"問題
    ∗ 解決"cannot open file: afxcontrolbars.h"問題
    ∗ 解決"error C2065: ifstream : undeclared"問題
    ∗ 解決"_GUID_DEVINTERFACE_USB_DEVICE"問題
    ∗ 解決"Internal error during IncrBuildImage"問題
    ∗ 解決"warning D9028: minimal rebuild failure"問題



Visual Basic







ByVal 0&
DoEvents
AddressOf
On Error Goto
刪除元件陣列



C#







Hello, world!




MCU 8051 IDE







開發環境
Predefined SFR
Assembly
    ∗ LED
    ∗ Button




Berkeley Logo (UCBLogo)







語法



Java







Node.js
    ∗ 開發環境
    ∗ Hello, world!
    ∗ ping
    ∗ yaml
    ∗ 如何透過Promise等待事件完成
JavaScript
    ∗ Write text file
Java Applet
    ∗ Hello, world!




MATLAB







hello, world!
for loop
run command
read text file
string to double




LUA







build luadec




LeetCode







C
    ⊕ 注意事項
        ‐ Sort
        ‐ Array
        ‐ Global Variable
    ‐ 1. Two Sum
    ‐ 2. Add Two Numbers
    ‐ 3. Longest Substring Without Repeating Characters
C++
    ‐ 1. Two Sum
    ‐ 2. Add Two Numbers
    ‐ 3. Longest Substring Without Repeating Characters
Rust
    ‐ 1. Two Sum
    ‐ 2. Add Two Numbers
    ‐ 3. Longest Substring Without Repeating Characters