├── .github └── workflows │ └── build.yml ├── .gitignore ├── .gitmodules ├── .travis.yml ├── Makefile ├── README.rst ├── algorithm ├── README.rst ├── adt.rst ├── algorithm-concept.rst ├── big-o-notation.rst ├── books.rst ├── cache-friendly.rst ├── cache.rst ├── dict.rst ├── float-to-string.rst ├── heap.rst ├── introduction.rst ├── inverse-square-root.rst ├── lock.rst ├── meta-algorithm.rst ├── misc.rst ├── probabilistic-data-structure.rst ├── random-number-generator.rst ├── resource.rst ├── sorting.rst ├── string-to-float.rst ├── string │ ├── README.rst │ └── string-similarity.rst └── substring-searching.rst ├── android ├── arm ├── arm-server.rst └── intro.rst ├── articles ├── python-need-for-speed.rst └── travis-ci-sphinx-github-pages.rst ├── assembly ├── asynchrounous └── libuv.rst ├── binary-instrumentation ├── README.rst └── valgrind │ ├── android.rst │ ├── collection.rst │ ├── dynamic-binary-instrumentation.rst │ ├── firefox.rst │ ├── new-plugin.rst │ ├── tips.rst │ └── valgrind-talks.rst ├── blog ├── 2014 │ ├── blood-moon.rst │ ├── pelican.rst │ └── psychology-intro-chomsky.rst ├── 2001_A_Space_Odyssey.rst ├── README.rst ├── ajax │ └── XMLHttpRequest.rst ├── ann.rst ├── archlinux │ └── update-2014-11-11.rst ├── arm-rpi.rst ├── articles-suggest │ └── web-history-9-gifs.rst ├── bsd-vs-at-and-t.rst ├── compiler │ └── optimization-intro.rst ├── coverity.rst ├── cpp11-override.rst ├── cpython-bug-in-feature-that-nobody-use.rst ├── dbus.rst ├── django-migrations.rst ├── django │ ├── django-apache-postgresql.rst │ └── django-templatetags.rst ├── functional │ ├── predicate.rst │ └── referential-transparency.rst ├── fuzzy │ └── levenshtein.rst ├── gc │ ├── ggc-firefox.rst │ └── incremental-gc.rst ├── history-of-bsd.rst ├── html5-web-storage.rst ├── java │ └── openjdk-vs-dalvik-and-art-vm.rst ├── javascript │ └── chart.js.rst ├── krita.rst ├── libinput-0.8.rst ├── linux-input-ecosystem.rst ├── linux-kernel-boot.rst ├── linux-standard-base.rst ├── logic │ └── cut.rst ├── memory-management.rst ├── nctu-github.rst ├── neovim-gc.rst ├── neovim.rst ├── notification.rst ├── openmp.rst ├── program │ ├── closure.rst │ └── coroutine.rst ├── psycho │ ├── psycho-intro-2.rst │ └── psycho-intro.rst ├── pypy-brainfuck.rst ├── python-benchmark.rst ├── python-celery.rst ├── python │ ├── coding-style.rst │ ├── jitviewer.rst │ ├── pypy-io-improvements.rst │ ├── rpython.rst │ ├── small │ │ ├── python-stackless.rst │ │ └── python-wraps.rst │ ├── transpose.rst │ └── virtualenv-update.rst ├── pythoner-read-ruby-book-1.rst ├── pythoner-read-ruby-book-2.rst ├── pythoner-read-ruby-book-3.rst ├── qemu-first-step.rst ├── recall │ └── recall-2012-summer-2014-spring.rst ├── rust-closure.rst ├── rust-project-euler-1.rst ├── software-testing-intro.rst ├── some-rust.rst ├── ted-motion-microscope.rst ├── the-real-story-behind-wayland-and-x.rst ├── vdpau.rst ├── vim-clipboard.rst ├── vim-rogue.rst ├── vim-startup-time-log.rst ├── virtualenv-version-change.rst ├── vm │ └── vm-people.rst ├── wayland.rst ├── why-gnu-grep-fast.rst ├── xorg-with-libinput.rst └── zip │ └── zip-unsupported-99.rst ├── browser ├── README.rst ├── cdm.rst ├── chrome.rst ├── css.rst ├── design.rst ├── extensions.rst ├── firefox-settings.rst ├── firefox.rst ├── html.rst ├── issues.rst ├── privacy.rst ├── service-worker.rst ├── servo.rst └── webassembly.rst ├── build-system ├── README.rst ├── cmake.rst ├── examples │ └── meson │ │ ├── 00_c_hello │ │ ├── build.sh │ │ ├── main.c │ │ └── meson.build │ │ ├── 03_c_cross │ │ ├── build.sh │ │ ├── main.c │ │ ├── meson.build │ │ └── meson_cross.ini │ │ └── 10_subprojects │ │ ├── meson.build │ │ ├── src │ │ └── main.c │ │ └── subprojects │ │ ├── proj1.wrap │ │ ├── proj1 │ │ ├── include │ │ │ └── proj1.h │ │ ├── meson.build │ │ └── src │ │ │ └── test1.c │ │ ├── proj2.wrap │ │ └── proj2 │ │ ├── include │ │ └── proj2.h │ │ ├── meson.build │ │ └── src │ │ └── test2.c ├── gyp.rst ├── makefile.rst └── meson.rst ├── c ├── cli-tui ├── 256-color.rst ├── README.rst ├── autossh.rst ├── bash.rst ├── basic-system-utils.rst ├── busybox.rst ├── card-reader.rst ├── curl.rst ├── date.rst ├── du.rst ├── file.rst ├── find.rst ├── hwclock.rst ├── input-method.rst ├── installer.rst ├── intro.rst ├── irc.rst ├── keymap.rst ├── lsblk.rst ├── office.rst ├── remote-desktop.rst ├── rsync.rst ├── sed.rst ├── shell.rst ├── ssh-config.rst ├── sudo.rst ├── sway.rst ├── tar.rst ├── test.rst ├── timedatectl.rst ├── tips.rst ├── tmux.rst ├── tools.rst └── xargs.rst ├── cloud └── README.rst ├── compiler ├── README.rst ├── autotuning.rst ├── branch-prediction-hint.rst ├── cases │ ├── README.rst │ ├── glow │ │ └── README.rst │ ├── llvm │ │ └── llvm-7.rst │ ├── onnc │ │ └── README.rst │ └── tvm │ │ ├── README.rst │ │ └── nnvm.rst ├── clang-options.rst ├── clang-tools.rst ├── code-gen.rst ├── compiler-and-learning.rst ├── compiler-options.rst ├── compiler-rt.rst ├── computed-goto.rst ├── cross-compile.rst ├── crt.rst ├── environment.rst ├── executable-file-formats │ ├── README.rst │ └── elf.rst ├── gcc-plugins.rst ├── gpgpu.rst ├── incremental-compilation.rst ├── introduction.rst ├── jump-threading.rst ├── legalization.rst ├── linker │ ├── README.rst │ └── introduction.rst ├── llvm-android.rst ├── llvm-cuda.rst ├── llvm-help-testing.rst ├── llvm-ir.rst ├── llvm-python.rst ├── llvm-to-vhdl-verilog.rst ├── llvm.rst ├── name-mangling.rst ├── obfuscator.rst ├── objdump.rst ├── optimization │ ├── README.rst │ ├── ipo.rst │ ├── lto.rst │ ├── pgo-fdo-pdf.rst │ ├── post-link-optimization.rst │ └── tips.rst ├── parser │ └── peg.rst ├── porting.rst ├── resource.rst ├── ssa.rst ├── static-analysis │ ├── README.rst │ ├── escape-analysis.rst │ └── performance.rst ├── streaming-compilation.rst ├── talks.rst ├── tcg-ir.rst └── transpiler.rst ├── compression ├── README.rst ├── introduction.rst ├── jpeg.rst ├── png.rst └── resource.rst ├── computer-vision ├── README.rst ├── SIFT.rst ├── background-subtraction.rst ├── books.rst ├── image-segmentation.rst ├── object-detection.rst ├── object-recognition.rst ├── object-tracking.rst ├── panorama.rst ├── super-resolution.rst ├── video-tracking.rst └── visual-question-answering.rst ├── concurrency ├── concurrency.rst ├── lock.rst └── multithread-concurrency-parallelism.rst ├── conf.py ├── container ├── README.rst ├── chroot.rst ├── docker.rst ├── docker │ └── gui.rst ├── examples │ └── docker │ │ ├── alpine.Dockerfile │ │ ├── archcross │ │ ├── aarch64-linux-gnu.Dockerfile │ │ └── x86_64-freebsd.Dockerfile │ │ └── archlinux.Dockerfile ├── freebsd-jail.rst └── lxc.rst ├── continuous-integration ├── README.rst ├── buildbot.rst ├── ci.rst ├── concourse.rst ├── drone.rst ├── examples │ └── jenkins │ │ └── Jenkinsfile-windows ├── github-actions.rst ├── jenkins.rst ├── travis-ci.rst └── workflow-pipeline.rst ├── course ├── artificial-intelligence │ ├── csp.rst │ └── search.rst ├── network-security │ └── network-security.rst └── principles-of-communicatons-networks │ └── note.rst ├── cpp ├── cpu ├── README.rst ├── arm │ └── README.rst ├── cheat-sheet.rst ├── mips │ └── README.rst ├── power │ └── README.rst ├── riscv │ └── README.rst ├── sha-extension.rst └── x86 │ └── README.rst ├── crypto ├── blowfish.rst ├── elliptic-curve.rst ├── resource.rst └── sha.rst ├── database ├── README.rst ├── cockroachdb.rst ├── consensus-algorithm.rst ├── graph.rst ├── leveldb.rst ├── mariadb.rst ├── materialized-views.rst ├── mongodb.rst ├── mysql.rst ├── postgresql.rst ├── redis.rst ├── resource.rst ├── rocksdb.rst ├── sql.rst ├── sqlite.rst └── tidb.rst ├── debug ├── README.rst ├── flamescope.rst ├── gdb.rst ├── javascript.rst ├── kernel.rst ├── pdb.rst ├── resource.rst ├── rr.rst └── strace.rst ├── documentation ├── README.rst ├── latex.rst ├── reStructuredText.rst └── sphinx.rst ├── ebook ├── README.rst └── epub.rst ├── editor ├── README.rst ├── emacs.rst ├── neovim └── vim │ ├── README.rst │ ├── buffers.rst │ ├── colors.rst │ ├── completion.rst │ ├── history.rst │ ├── linter.rst │ ├── neovim-client.rst │ ├── neovim-features.rst │ ├── neovim-terminal.rst │ ├── neovim.rst │ ├── oni.rst │ ├── plugins.rst │ ├── registers.rst │ ├── resource.rst │ ├── session.rst │ ├── tips.rst │ └── vimscript.rst ├── embedded ├── README.rst ├── bsp.rst ├── fpga.rst ├── resource.rst └── stm32.rst ├── fonts └── README.rst ├── formal-verification └── introduction.rst ├── friends └── README.rst ├── games ├── README.rst ├── emulators.rst ├── engine.rst ├── real-time-strategy.rst ├── resource.rst ├── roguelike.rst ├── rpg.rst ├── tower-defense.rst └── windows-game-on-linux.rst ├── gpgpu ├── arrayfire.rst ├── boost.rst ├── cuda │ ├── cuda.rst │ └── examples │ │ └── simple-kernel │ │ ├── 1_2.patch │ │ ├── 2_3.patch │ │ ├── 3_4.patch │ │ ├── program1.cu │ │ ├── program2.cu │ │ ├── program3.cu │ │ └── program4.cu ├── kernel.rst ├── opencl │ ├── README.rst │ └── examples │ │ ├── cl_add.cl │ │ ├── example1.cpp │ │ └── example2.cpp └── spir-v.rst ├── graphics ├── README.rst ├── cairo.rst ├── dri.rst ├── glsl.rst ├── graphic.rst ├── introduction.rst ├── mesa.rst ├── opengl.rst ├── resource.rst ├── virtualgl.rst └── vulkan.rst ├── gui ├── README.rst ├── gtk.rst └── qt.rst ├── hardware ├── README.rst ├── concept │ ├── cpu.rst │ ├── keyboard.rst │ ├── monitor.rst │ ├── power-consumption.rst │ ├── random-number-generator.rst │ └── serial-port.rst ├── hardware-and-programming.rst ├── headphone.rst ├── history.rst ├── kindle.rst ├── lang │ └── verilog.rst ├── resource.rst ├── risc-v.rst └── vendor │ ├── amd.rst │ ├── arduino.rst │ ├── arm.rst │ ├── intel.rst │ └── qualcomm.rst ├── images ├── 100-years-compsci-infographic.jpg ├── Levels of Parallelism.png ├── SIMD-vaddpd.png ├── SIMD-vfmadd213pd.png ├── SIMD-vmovapd.png ├── algorithm │ ├── Binomial_Trees.svg │ ├── bloom-filter-false-positive-rate.svg │ ├── linear-counting-estimation.png │ └── p-and-np.png ├── android │ └── libhybris.png ├── archlinux │ ├── lstopo-esxi.png │ └── lstopo-laptop.png ├── arm-cheatsheet.png ├── big-o │ ├── cheatsheet.png │ ├── o-log-log-n-max.png │ └── o-n-max.png ├── ccca-github.png ├── compiler │ ├── compiler.png │ ├── interpreter.png │ └── nnvm.png ├── coverity │ └── cpython.png ├── cpp │ ├── SSO-origin.png │ ├── SSO-shift.png │ ├── SSO-version1.png │ ├── SSO-version2.png │ ├── SSO-version3.png │ ├── data-model.png │ ├── pimpl.png │ └── vtable.gif ├── crypto │ └── Diffie-Hellman-Key-Exchange.png ├── cython │ └── cython-function-visibility.png ├── database-history.jpg ├── debug │ └── hw1 │ │ ├── debug1.png │ │ ├── debug2.png │ │ ├── debug3.png │ │ ├── debug4.png │ │ └── debug5.png ├── font │ ├── serif-vs-sans-serif.jpg │ └── source-han-sans-choose.png ├── hardware │ └── ssd-architecture.jpg ├── http │ └── http.png ├── image-processing │ ├── 2D-Interpolation.png │ ├── adaptive-interpolation.png │ ├── huffman-coding.jpg │ ├── image-compression-flow.jpg │ ├── image-compression-standard.png │ ├── jpeg-compression-flow.png │ ├── non-adaptive-interpolations.png │ └── rotation.png ├── jp │ ├── 局中法度.jpg │ ├── 新撰組.jpg │ └── 誠.jpg ├── keep-calm-and-be-careful.png ├── krita.png ├── languages │ └── russian │ │ └── alphabet.png ├── latex │ ├── math-example0.png │ ├── math-example1.png │ ├── math-example2.png │ ├── math-example3.png │ └── math-example5.png ├── learning │ ├── Machine Learning Algorithm.png │ ├── entropy.png │ ├── learning-architectures.png │ └── scikit-learn map.png ├── linux │ ├── bzimage.png │ ├── dbus-architectural.png │ ├── evtest.png │ ├── linux-ipc-communication.png │ ├── linux-ipc-synchronization.png │ ├── linux-kernel-boot.jpg │ ├── linux-kernel-file.png │ ├── wayland-input-stack.png │ ├── x-input-stack.png │ └── xinput.png ├── machine-learning │ └── technique │ │ ├── elastic-net-formula.png │ │ ├── lasso-formula.png │ │ ├── ols-formula.png │ │ ├── ols-plot.png │ │ └── ridge-formula.png ├── math │ ├── Spline-draw.png │ └── Spline.png ├── memory-management │ └── Linux-Address-Layout.png ├── memory │ └── sanitizer-status.png ├── microprocessor │ └── USB.png ├── ml │ ├── formalize-problem.png │ ├── learning-flow-01.png │ ├── learning-model-01.png │ ├── ml-ai.png │ ├── ml-dm.png │ ├── ml-statistics.png │ └── practical-def-01.png ├── modern-art-simplified-comic-guide-john-atkinson-wrong-hands.jpg ├── multimedia │ └── pipewire-firefox.png ├── network │ ├── am.jpg │ ├── analog.png │ ├── communication.png │ ├── digital.png │ ├── fm.jpg │ ├── pm.jpg │ └── pulse.png ├── numpy │ └── numpy-order.png ├── pl │ └── typing-quadrant.png ├── programming-language │ └── lisp-dialects-timeline.png ├── psycho │ ├── cognitive-developmental-theory.jpg │ ├── conditioning.png │ ├── infoprocess.jpg │ ├── parenting-styles.png │ └── strength-of-cr.png ├── pypy │ └── pypy-translate.png ├── reports │ ├── VEX-ARM-bugs-status-2015-08.png │ └── Valgrind-Android-bugs-status-2015-08.png ├── rpi │ └── layout-rpi-model-b.png ├── rust │ ├── autumn-platform.png │ ├── autumn-platform.svg │ ├── rust-compile.png │ └── tokio-stack.png ├── space │ ├── space-ai-chess.png │ ├── space-ai.png │ ├── space-control.png │ ├── space-craft.png │ ├── space-food.png │ ├── space-hard-copy.png │ ├── space-ibm.png │ ├── space-mag-hold.png │ ├── space-screen.png │ ├── space-toilet-1.png │ ├── space-toilet.png │ ├── space-video-call.png │ └── space-voice.png ├── stack.png ├── streaming │ ├── aac-sbr.png │ ├── adif.png │ ├── adts.png │ ├── asc.png │ ├── bitrate-latency-comparison.png │ ├── he-aac-decoder.png │ ├── he-aac-encoder.png │ ├── latm-loas.png │ ├── mp4-3gpp-file-format.png │ ├── mpeg2-adts.png │ ├── mpeg4-audio-decoder.png │ ├── mpeg4-audio-object.png │ └── mpeg4-transport.png ├── taiwan │ ├── 臺灣民眾政黨偏好趨勢分佈.jpg │ ├── 臺灣民眾統獨立場趨勢分佈.jpg │ └── 臺灣民眾-臺灣人或中國人認同趨勢分佈.jpg ├── turing │ └── Bombe.jpg ├── typesetting │ └── 編排膠片.jpg └── vdpau │ ├── chromium-gpu.png │ ├── chromium-vaapi-linux.png │ └── chromium-vaapi.png ├── license └── resource.rst ├── machine-learning ├── README.rst ├── cheatsheet.rst ├── compiler │ ├── glow │ ├── onnc │ └── tvm ├── domain │ ├── computer-vision.rst │ ├── face-recognition.rst │ ├── healthcare.rst │ ├── lip-reading.rst │ ├── natual-language-processing.rst │ └── question-answering.rst ├── format │ └── onnx.rst ├── history │ └── ann-history.rst ├── learning-resource │ └── resource.rst ├── library │ ├── README.rst │ ├── chainer.rst │ ├── darknet.rst │ ├── dlib.rst │ ├── keras.rst │ ├── spark.rst │ └── tensorflow.rst ├── technique │ ├── dimensionality-reduction.rst │ ├── ensemble.rst │ ├── naive-bayes-classifier.rst │ ├── optimizer.rst │ ├── quantization.rst │ ├── regression.rst │ ├── regularization.rst │ ├── t-SNE.rst │ └── transfer-learning.rst ├── types-of-learning-algo │ ├── supervised │ │ ├── decision-tree.rst │ │ └── svm.rst │ └── unsupervised │ │ ├── README.rst │ │ └── clustering.rst └── vendor │ ├── README.rst │ └── intel.rst ├── math ├── README.rst ├── calculator.rst ├── error.rst ├── libraries.rst ├── linear-algebra.rst ├── math-on-web.rst └── misc.rst ├── memory ├── W^X.rst ├── allocator.rst ├── asan-algo.rst ├── kernel-memory-management.rst ├── memory-allocators-under-the-hood.rst ├── memory-hardware.rst ├── memory-management.rst ├── memory-profiler.rst ├── memory-profiling.rst ├── memory.rst ├── sanitizer.rst └── stack-protection.rst ├── misc ├── advertisement-blocker.rst ├── archive.rst ├── articles.rst ├── bandwidth.rst ├── bio-data-format.rst ├── bit-hacks.rst ├── bugs.rst ├── cad.rst ├── calendar.rst ├── chatops.rst ├── cloud-message.rst ├── conference.rst ├── contribution.rst ├── disk-encryption.rst ├── dot-language.rst ├── easy-website-builder.rst ├── esoteric_languages.rst ├── fish.rst ├── floating-point.rst ├── forum.rst ├── free-software-in-taiwan.rst ├── funny-sites.rst ├── google-on-hub.rst ├── hex-float.rst ├── hexspeak.rst ├── high-availability.rst ├── history.rst ├── host-block.rst ├── http-history.rst ├── images.rst ├── iot.rst ├── irc.rst ├── jargons.rst ├── keyboard.rst ├── linux-foundation.rst ├── log-analysis.rst ├── mail-system.rst ├── man-page.rst ├── misc.rst ├── netflix.rst ├── openapi.rst ├── openhouse.rst ├── opensource-projects-i-love.rst ├── origin.rst ├── papers.rst ├── pdf-viewers-history.rst ├── performance.rst ├── podcast.rst ├── project-measurement.rst ├── proxychains.rst ├── publications.rst ├── remote-jobs.rst ├── repo.rst ├── resource.rst ├── reverse-engineering.rst ├── rocket.rst ├── sat-smt.rst ├── self-hosting.rst ├── sites.rst ├── software-updates.rst ├── statifier.rst ├── taiwan-software.rst ├── task-execution-framework.rst ├── task-schedule.rst ├── team-collaboration.rst ├── todo-projects.rst ├── todo.rst ├── tools.rst ├── trace-code.rst ├── translation.rst ├── trash-talk.rst ├── turing-complete.rst ├── typesetting.rst ├── undergraduate-course-taken.rst ├── unicode.rst ├── video.rst ├── videos.rst ├── voice-simulation.rst ├── windows-batch.rst └── working-memory.rst ├── multimedia ├── README.rst ├── audio.rst ├── bluetooth │ ├── README.rst │ ├── aptx-hd.rst │ ├── aptx.rst │ ├── bluetooth-codecs-concept.rst │ ├── gstreamer-bluetooth.rst │ ├── ldac.rst │ └── sbc.rst ├── concept.rst ├── examples │ └── gstreamer │ │ └── rust │ │ ├── 0-gst-hello │ │ ├── .gitignore │ │ ├── Cargo.toml │ │ └── src │ │ │ └── main.rs │ │ └── 1-gst-specific-element │ │ ├── .gitignore │ │ ├── Cargo.toml │ │ └── src │ │ └── main.rs ├── ffmpeg │ ├── README.rst │ └── introduction.rst ├── gstreamer.rst ├── gstreamer │ ├── README.rst │ ├── build.rst │ ├── cheatsheet.rst │ ├── company.rst │ ├── dockerfile.rst │ ├── glib.rst │ ├── gstreamer-based-common-commands.rst │ ├── introduction.rst │ ├── lang-rust.rst │ ├── latency.rst │ ├── mixing.rst │ ├── noise-cancellation.rst │ ├── player.rst │ ├── subtitle.rst │ ├── talks.rst │ ├── transmuxing.rst │ └── web.rst ├── hardware-acceleration │ ├── README.rst │ ├── gstreamer-hardware-acceleration.rst │ └── introduction.rst ├── home-wireless-streaming │ ├── README.rst │ ├── googlecast.rst │ └── gstreamer-home-wireless-streaming.rst ├── image │ ├── README.rst │ └── png.rst ├── kodi.rst ├── linux-sound-system.rst ├── media-container.rst ├── mediainfo.rst ├── midi.rst ├── music-player.rst ├── noise-cancellation │ ├── README.rst │ └── introduction.rst ├── opencv.rst ├── pipewire.rst ├── player.rst ├── pts-dts.rst ├── pulseaudio.rst ├── sdp.rst ├── streaming │ ├── conference-call.rst │ ├── http-streaming.rst │ └── rtsp.rst ├── video-quality.rst ├── video.rst ├── voice-detection │ └── README.rst └── webrtc │ ├── README.rst │ ├── gstreamer-webrtc.rst │ └── introduction.rst ├── network ├── README.rst ├── amqp.rst ├── c10k.rst ├── c10m.rst ├── ddos.rst ├── distributed.rst ├── dns.rst ├── dtls.rst ├── http.rst ├── ice.rst ├── iperf.rst ├── microservice.rst ├── monitoring.rst ├── mqtt.rst ├── nanomsg.rst ├── network-load-balancer.rst ├── network-stack.rst ├── nginx.rst ├── os-socket-buffer.rst ├── proxy.rst ├── quic.rst ├── resource.rst ├── rpc.rst ├── security-check.rst ├── srt.rst ├── tcp.rst ├── tcpdump.rst ├── udp.rst ├── upnp.rst ├── vpn.rst ├── websocket.rst ├── webtorrent.rst └── zeromq │ └── introduction.rst ├── operating-system ├── README.rst ├── archlinux ├── cases │ ├── android │ │ ├── README.rst │ │ ├── android-emulator.rst │ │ ├── android-images.rst │ │ ├── android-on-linux.rst │ │ ├── apps.rst │ │ ├── binder.rst │ │ ├── boot.rst │ │ ├── cheat-sheet.rst │ │ ├── crash-debug.rst │ │ ├── cts.rst │ │ ├── google-project-butter.rst │ │ ├── hal.rst │ │ ├── init.rst │ │ ├── install.rst │ │ ├── kernel.rst │ │ ├── libhybris.rst │ │ ├── linux-environment-on-android.rst │ │ ├── ndk.rst │ │ ├── porting-to-new-hardware.rst │ │ ├── profiling.rst │ │ ├── reflash.rst │ │ └── surfaceflinger.rst │ ├── dragonflybsd │ │ └── dragonflybsd.rst │ ├── freebsd │ │ └── freebsd.rst │ ├── linux │ │ ├── README.rst │ │ ├── application │ │ │ └── gimp.rst │ │ ├── bfq.rst │ │ ├── bluetooth.rst │ │ ├── boot-time-tweaking.rst │ │ ├── build-your-own-linux │ │ │ ├── README.rst │ │ │ ├── buildroot.rst │ │ │ └── yocto.rst │ │ ├── ci.rst │ │ ├── clear-linux.rst │ │ ├── coredump.rst │ │ ├── dd.rst │ │ ├── display-link.rst │ │ ├── distro.rst │ │ ├── distros │ │ │ └── archlinux │ │ │ │ ├── UEFI.rst │ │ │ │ ├── abs.rst │ │ │ │ ├── arch-in-ubuntu-lxc.rst │ │ │ │ ├── arch-install-script.rst │ │ │ │ ├── aur.rst │ │ │ │ ├── cpu-frequency.rst │ │ │ │ ├── firmware.rst │ │ │ │ ├── fonts.rst │ │ │ │ ├── hardware.rst │ │ │ │ ├── misc.rst │ │ │ │ ├── packages.rst │ │ │ │ ├── pacman.rst │ │ │ │ ├── performance.rst │ │ │ │ ├── printer.rst │ │ │ │ ├── record.rst │ │ │ │ ├── speech.rst │ │ │ │ ├── timezone.rst │ │ │ │ ├── video-audio-through-hdmi.rst │ │ │ │ ├── video-player.rst │ │ │ │ ├── x11-forwarding.rst │ │ │ │ └── xdg-settings.rst │ │ ├── driver.rst │ │ ├── ebpf.rst │ │ ├── file-system.rst │ │ ├── firmware.rst │ │ ├── gui.rst │ │ ├── hotplug-cpu.rst │ │ ├── hpl │ │ │ ├── HPL.log │ │ │ ├── machine.status │ │ │ └── setup.rst │ │ ├── ipc.rst │ │ ├── kernel │ │ │ ├── README.rst │ │ │ ├── kernel-module.rst │ │ │ ├── kernel.rst │ │ │ └── linux-4.20.rst │ │ ├── libc.rst │ │ ├── librt.rst │ │ ├── libunwind.rst │ │ ├── linux-distro.rst │ │ ├── linux-laptop-gpu.rst │ │ ├── linux-porting.rst │ │ ├── memory.rst │ │ ├── modemmanager.rst │ │ ├── nmcli.rst │ │ ├── realtime.rst │ │ ├── resource.rst │ │ ├── sandbox.rst │ │ ├── seccomp.rst │ │ ├── security │ │ │ └── selinux.rst │ │ ├── sendfile.rst │ │ ├── sound.rst │ │ ├── start-up.rst │ │ ├── systemd.rst │ │ ├── tickless.rst │ │ ├── tracing.rst │ │ ├── ubuntu.rst │ │ ├── vdso.rst │ │ ├── wayland.rst │ │ ├── wm.rst │ │ └── zram.rst │ ├── netbsd │ │ └── netbsd.rst │ ├── openbsd │ │ └── openbsd.rst │ └── plan9 │ │ └── plan-9.rst ├── history.rst └── topics │ ├── init-system │ ├── README.rst │ ├── init-system.rst │ └── systemd │ │ ├── README.rst │ │ └── networkctl.rst │ ├── kernel-testing.rst │ ├── kernel │ ├── resource.rst │ └── security-kernel.rst │ ├── m-n-threading.rst │ ├── posix.rst │ ├── process-live-migration.rst │ ├── rtos │ ├── README.rst │ ├── realtime-linux.rst │ └── realtime.rst │ ├── signal.rst │ ├── thread-stack.rst │ └── usenix.rst ├── parallel ├── mpi │ ├── examples │ │ ├── Makefile │ │ ├── hello.c │ │ └── reduce_avg.c │ └── mpi.rst ├── openhmpp.rst ├── openmp.rst ├── parallel.rst └── resource.rst ├── pdf └── learning │ ├── Cheat Sheet: Algorithms for Supervised and Unsupervised Learning.pdf │ ├── Machine Learning Cheat Sheet - Classical equations, diagrams and tricks in machine learning.pdf │ └── Microsoft Machine Learning Algorithm Cheat Sheet.v6.pdf ├── programming-language ├── README.rst ├── cases │ ├── agda │ │ └── resource.rst │ ├── awk │ │ └── README.rst │ ├── c │ │ ├── README.rst │ │ ├── c.rst │ │ ├── cheat-sheet.rst │ │ ├── exception.rst │ │ ├── features.rst │ │ ├── glib.rst │ │ ├── gnu-extension.rst │ │ ├── internal_and_external_linkage_in_C.rst │ │ ├── mmap.rst │ │ ├── pragma-once.rst │ │ ├── pragma-weak.rst │ │ ├── resource.rst │ │ └── undefine-behavior.rst │ ├── cakeml │ │ └── introduction.rst │ ├── clojure │ │ └── resource.rst │ ├── coq │ │ └── introduction.rst │ ├── cpp │ │ ├── 64bits-problem.rst │ │ ├── README.rst │ │ ├── SFINAE.rst │ │ ├── array.rst │ │ ├── assembly.rst │ │ ├── bit-field.rst │ │ ├── c++17.rst │ │ ├── concepts.rst │ │ ├── const.rst │ │ ├── copy-elision.rst │ │ ├── coroutine.rst │ │ ├── cpp-core-guidelines.rst │ │ ├── crtp.rst │ │ ├── ctor-dtor.rst │ │ ├── design-pattern.rst │ │ ├── docs.rst │ │ ├── examples │ │ │ ├── copy-elision.cpp │ │ │ ├── ctor-dtor.cpp │ │ │ ├── ctor-dtor.log │ │ │ ├── design-pattern │ │ │ │ ├── abstract-factory │ │ │ │ │ ├── abstract-factory.cpp │ │ │ │ │ └── abstract-factory.rs │ │ │ │ └── command.simple.rs │ │ │ ├── lambda-simple.cpp │ │ │ ├── parallel.cpp │ │ │ ├── perfect-forwarding.cpp │ │ │ ├── rvo.cpp │ │ │ ├── rvo.log │ │ │ ├── smart-pointer.cpp │ │ │ ├── smart-pointer.log │ │ │ ├── thread.cpp │ │ │ ├── vector-emplace.cpp │ │ │ ├── virtual-and-cast-2.cpp │ │ │ ├── virtual-and-cast-2.log │ │ │ ├── virtual-and-cast.cpp │ │ │ ├── virtual-and-cast.log │ │ │ ├── virtual-base-class.cpp │ │ │ └── virtual.cpp │ │ ├── experimental.rst │ │ ├── explicit.rst │ │ ├── expression-templates.rst │ │ ├── forward-declaration.rst │ │ ├── history.rst │ │ ├── inheritance.rst │ │ ├── initialization.rst │ │ ├── lambda.rst │ │ ├── macro.rst │ │ ├── misc.rst │ │ ├── optimizations.rst │ │ ├── optional.rst │ │ ├── parallel.rst │ │ ├── perfect-forwarding.rst │ │ ├── pimpl.rst │ │ ├── qt.rst │ │ ├── repl.rst │ │ ├── resource.rst │ │ ├── rvo.rst │ │ ├── size_t-ptrdiff_t.rst │ │ ├── smart-pointer.rst │ │ ├── standard-library-implementation.rst │ │ ├── static.rst │ │ ├── stl.rst │ │ ├── string-optimization.rst │ │ ├── temporary-objects.rst │ │ ├── testing.rst │ │ ├── thread.rst │ │ ├── todo.rst │ │ ├── type-conversion.rst │ │ ├── type-deduction.rst │ │ ├── value-category.rst │ │ └── videos.rst │ ├── crystal │ │ └── README.rst │ ├── elixir │ │ └── resource.rst │ ├── elm │ │ └── resource.rst │ ├── erlang │ │ ├── erlang.rst │ │ └── resource.rst │ ├── fortran │ │ └── fortran.rst │ ├── go │ │ ├── README.rst │ │ └── go.rst │ ├── haskell │ │ ├── introduction.rst │ │ └── liquid-haskell.rst │ ├── idris │ │ ├── introduction.rst │ │ └── resource.rst │ ├── java │ │ └── resource.rst │ ├── javascript │ │ ├── README.rst │ │ ├── resource.rst │ │ ├── spidermonkey.rst │ │ └── v8.rst │ ├── julia │ │ ├── introduction.rst │ │ ├── make-packages.rst │ │ └── packages.rst │ ├── lisp │ │ ├── common-lisp.rst │ │ └── resource.rst │ ├── lua │ │ └── README.rst │ ├── ml │ │ └── README.rst │ ├── php │ │ └── README.rst │ ├── prolog │ │ └── README.rst │ ├── purescript │ │ └── introduction.rst │ ├── python │ │ ├── README.rst │ │ ├── ast.rst │ │ ├── async-await.rst │ │ ├── asynchronous.rst │ │ ├── benchmark.rst │ │ ├── best-practice.rst │ │ ├── compiler.rst │ │ ├── concurrency.rst │ │ ├── contextlib.rst │ │ ├── cpython-equality.rst │ │ ├── cpython-extension.rst │ │ ├── cpython.rst │ │ ├── cython.rst │ │ ├── debugger.rst │ │ ├── deprecated.rst │ │ ├── django.rst │ │ ├── examples │ │ │ ├── celery-and-django │ │ │ │ ├── start.sh │ │ │ │ └── test_celery │ │ │ │ │ ├── manage.py │ │ │ │ │ ├── myapp │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── admin.py │ │ │ │ │ ├── apps.py │ │ │ │ │ ├── migrations │ │ │ │ │ │ ├── 0001_initial.py │ │ │ │ │ │ └── __init__.py │ │ │ │ │ ├── models.py │ │ │ │ │ ├── tasks.py │ │ │ │ │ ├── templates │ │ │ │ │ │ └── myapp │ │ │ │ │ │ │ └── test_form.html │ │ │ │ │ ├── tests.py │ │ │ │ │ ├── urls.py │ │ │ │ │ └── views.py │ │ │ │ │ ├── requirements.txt │ │ │ │ │ └── test_celery │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── celery.py │ │ │ │ │ ├── settings.py │ │ │ │ │ ├── urls.py │ │ │ │ │ └── wsgi.py │ │ │ ├── checkio │ │ │ │ ├── disposable-teleports.py │ │ │ │ ├── fibonacci-golf.py │ │ │ │ ├── flat_list.py │ │ │ │ └── striped-words.py │ │ │ ├── cpython │ │ │ │ └── 01-hello-world │ │ │ │ │ ├── 01_hellomodule.c │ │ │ │ │ ├── 02_hellomodule.c │ │ │ │ │ ├── 03_hellomodule.c │ │ │ │ │ ├── 04_hellomodule.c │ │ │ │ │ └── Makefile │ │ │ ├── fibo_iter.py │ │ │ ├── misc │ │ │ │ ├── dump_socket_server.py │ │ │ │ ├── measure_time.py │ │ │ │ ├── replay.py │ │ │ │ └── stdout_redirect.py │ │ │ └── py.test │ │ │ │ ├── command.sh │ │ │ │ ├── conventions │ │ │ │ ├── mymodule_test.py │ │ │ │ └── test_mymodule.py │ │ │ │ ├── custom │ │ │ │ ├── mypkg │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── mymodule.py │ │ │ │ ├── setup.py │ │ │ │ └── tests │ │ │ │ │ ├── conftest.py │ │ │ │ │ └── test_mymodule.py │ │ │ │ ├── example1.py │ │ │ │ ├── example2_exception.py │ │ │ │ ├── example3_class.py │ │ │ │ ├── example4_resource.py │ │ │ │ ├── layout1 │ │ │ │ ├── mypkg │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── mymodule.py │ │ │ │ ├── setup.py │ │ │ │ └── tests │ │ │ │ │ └── test_mymodule.py │ │ │ │ └── layout2 │ │ │ │ ├── mypkg │ │ │ │ ├── __init__.py │ │ │ │ ├── mymodule.py │ │ │ │ └── test │ │ │ │ │ └── test_mymodule.py │ │ │ │ └── setup.py │ │ ├── gil.rst │ │ ├── hardware.rst │ │ ├── install-packages.rst │ │ ├── introduction.rst │ │ ├── iterator.rst │ │ ├── kivy.rst │ │ ├── linter-formatter.rst │ │ ├── make-packages.rst │ │ ├── matplotlib.rst │ │ ├── nuitka.rst │ │ ├── numpy.rst │ │ ├── operator.rst │ │ ├── packages.rst │ │ ├── parser.rst │ │ ├── porting.rst │ │ ├── power-operator-vs-math-pow.rst │ │ ├── pypi.rst │ │ ├── pypy.rst │ │ ├── python-3.5.rst │ │ ├── python-3.6.rst │ │ ├── python-3.7.rst │ │ ├── qt.rst │ │ ├── resource.rst │ │ ├── scipy.rst │ │ ├── standard-library.rst │ │ ├── sympy.rst │ │ ├── testing.rst │ │ ├── tips.rst │ │ ├── virtualenv.rst │ │ └── yield-with-list-comprehension.rst │ ├── racket │ │ └── introduction.rst │ ├── ruby │ │ └── symbol.rst │ ├── rust │ │ ├── README.rst │ │ ├── adoption │ │ │ ├── README.rst │ │ │ └── servo.rst │ │ ├── blog │ │ │ └── make-parity-work-on-freebsd.rst │ │ ├── cross-compile │ │ │ ├── README.rst │ │ │ └── android.rst │ │ ├── documentation │ │ │ ├── README.rst │ │ │ ├── abbreviation.rst │ │ │ └── faq.rst │ │ ├── edition │ │ │ ├── README.rst │ │ │ ├── edition-2015.rst │ │ │ ├── edition-2018.rst │ │ │ └── edition-2021.rst │ │ ├── examples │ │ │ ├── Cargo.toml │ │ │ ├── fibo_iter │ │ │ │ ├── Cargo.toml │ │ │ │ └── src │ │ │ │ │ └── fibo_iter.rs │ │ │ ├── huffman-code │ │ │ │ └── huffman.rs │ │ │ ├── kernel_module │ │ │ │ ├── 00_c_module │ │ │ │ │ ├── Makefile │ │ │ │ │ └── hello.c │ │ │ │ ├── 01_hello │ │ │ │ │ ├── Cargo.toml │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── README.rst │ │ │ │ │ ├── src │ │ │ │ │ │ ├── lib.rs │ │ │ │ │ │ └── module.c │ │ │ │ │ └── x86_64-unknown-none-gnu.json │ │ │ │ └── freebsd │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── README.rst │ │ │ │ │ └── hello_fsm.c │ │ │ ├── leetcode │ │ │ │ └── 136-single-number │ │ │ │ │ ├── Cargo.toml │ │ │ │ │ ├── benches │ │ │ │ │ └── bench.rs │ │ │ │ │ ├── src │ │ │ │ │ └── lib.rs │ │ │ │ │ └── tests │ │ │ │ │ └── tests.rs │ │ │ ├── module │ │ │ │ ├── Cargo.toml │ │ │ │ └── src │ │ │ │ │ ├── folder0 │ │ │ │ │ ├── folder1 │ │ │ │ │ │ ├── func2.rs │ │ │ │ │ │ └── mod.rs │ │ │ │ │ ├── func1.rs │ │ │ │ │ └── mod.rs │ │ │ │ │ ├── func0.rs │ │ │ │ │ └── lib.rs │ │ │ ├── python-pickle │ │ │ │ ├── Cargo.toml │ │ │ │ ├── src │ │ │ │ │ └── main.rs │ │ │ │ └── test_pickle.py │ │ │ └── with-cpp │ │ │ │ └── example1 │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── common-rust │ │ │ │ ├── Cargo.lock │ │ │ │ ├── Cargo.toml │ │ │ │ └── src │ │ │ │ │ └── rust_example.rs │ │ │ │ └── cpp │ │ │ │ └── main.cpp │ │ ├── lang-design │ │ │ ├── abi.rst │ │ │ ├── allocator.rst │ │ │ ├── any.rst │ │ │ ├── api-design.rst │ │ │ ├── compile-time-function-execution.rst │ │ │ ├── error-handling.rst │ │ │ ├── iterator.rst │ │ │ ├── linking.rst │ │ │ ├── macro.rst │ │ │ ├── monomorphization.rst │ │ │ ├── never-type.rst │ │ │ ├── object-safety.rst │ │ │ ├── pattern-matching.rst │ │ │ ├── tagged-unions.rst │ │ │ ├── type-system.rst │ │ │ ├── unsafe.rst │ │ │ └── use.rst │ │ ├── learning-resource │ │ │ ├── articles.rst │ │ │ ├── books.rst │ │ │ ├── resource.rst │ │ │ ├── talks.rst │ │ │ └── weekly.rst │ │ ├── official-tools │ │ │ ├── README.rst │ │ │ ├── cargo.rst │ │ │ └── rustup.rst │ │ ├── rfcs │ │ │ ├── README.rst │ │ │ ├── rfc2565-formal-function-parameter-attributes.rst │ │ │ └── rfc2678-named-custom-cargo-profiles.rst │ │ ├── rust-compiler │ │ │ ├── impl-mrustc.rst │ │ │ ├── impl-rustc.rst │ │ │ ├── ir-mir.rst │ │ │ └── opt-cross-language-lto.rst │ │ ├── safety │ │ │ └── README.rst │ │ ├── std │ │ │ ├── README.rst │ │ │ └── process.rst │ │ ├── usage │ │ │ ├── asynchronous-history.rst │ │ │ ├── asynchronous.rst │ │ │ ├── benchmark.rst │ │ │ ├── browser.rst │ │ │ ├── c-to-rust.rst │ │ │ ├── concurrency.rst │ │ │ ├── data-structure.rst │ │ │ ├── database.rst │ │ │ ├── dataflow.rst │ │ │ ├── dependencies.rst │ │ │ ├── design-pattern.rst │ │ │ ├── driver.rst │ │ │ ├── ecosystem.rst │ │ │ ├── embedded.rst │ │ │ ├── font.rst │ │ │ ├── functional.rst │ │ │ ├── fuzz-testing.rst │ │ │ ├── game.rst │ │ │ ├── gc.rst │ │ │ ├── googlecast.rst │ │ │ ├── graphic.rst │ │ │ ├── grpc.rst │ │ │ ├── gui.rst │ │ │ ├── handy-macros.rst │ │ │ ├── image-manipulation.rst │ │ │ ├── implement-languages.rst │ │ │ ├── kernel.rst │ │ │ ├── libc.rst │ │ │ ├── libraries.rst │ │ │ ├── logging.rst │ │ │ ├── machine-learning.rst │ │ │ ├── microcontroller.rst │ │ │ ├── multimedia.rst │ │ │ ├── network.rst │ │ │ ├── orm.rst │ │ │ ├── os.rst │ │ │ ├── parser.rst │ │ │ ├── performance.rst │ │ │ ├── performance │ │ │ │ └── glob.rst │ │ │ ├── regex.rst │ │ │ ├── rust-vim-plugin.rst │ │ │ ├── scientific.rst │ │ │ ├── search-engine.rst │ │ │ ├── security.rst │ │ │ ├── serialization.rst │ │ │ ├── shell.rst │ │ │ ├── string-manipulation.rst │ │ │ ├── syntax-highlighting.rst │ │ │ ├── system-info.rst │ │ │ ├── testing.rst │ │ │ ├── tips.rst │ │ │ ├── uefi.rst │ │ │ ├── virtual-machine.rst │ │ │ ├── web-frontend.rst │ │ │ ├── web.rst │ │ │ └── webassembly.rst │ │ └── working-groups │ │ │ └── README.rst │ ├── scala │ │ └── resource.rst │ ├── smalltalk │ │ └── README.rst │ ├── swift │ │ └── resource.rst │ ├── terra │ │ └── README.rst │ └── zig │ │ └── README.rst ├── garbage-collection │ ├── introduction.rst │ └── resource.rst ├── implementation-framework │ ├── README.rst │ ├── common-language-runtime.rst │ ├── general.rst │ ├── pypy │ │ ├── brief.rst │ │ └── resource.rst │ ├── rpython-toolchain.rst │ └── truffle-graal.rst ├── interpreter-for-compiled-language.rst ├── jit │ ├── asmjit.rst │ ├── examples │ │ └── basic-mmap-mprotect.cpp │ ├── introduction.rst │ ├── jit-for-processors.rst │ ├── meta-jit.rst │ └── resource.rst ├── performance-compare.rst └── theory-and-concepts │ ├── README.rst │ ├── compile-time-function-execution.rst │ ├── curry-howard.rst │ ├── dependent-type.rst │ ├── dsl.rst │ ├── dynamic-language-implementation.rst │ ├── functional │ ├── monad.rst │ └── resource.rst │ ├── gradual-typing.rst │ ├── group-algebraic-structures.rst │ ├── higher-kinded-types.rst │ ├── hindley-milner.rst │ ├── history.rst │ ├── hoare-logic.rst │ ├── linear-type.rst │ ├── multiple-dispatch.rst │ ├── my-status.rst │ ├── polymorphism.rst │ ├── resource.rst │ ├── session-types.rst │ ├── system-programming.rst │ ├── transactional-memory.rst │ ├── type-inference.rst │ ├── type-system.rst │ └── type-theory.rst ├── python ├── quantum └── intro.rst ├── regex ├── examples │ ├── nfa.c │ └── nfa │ │ ├── Cargo.toml │ │ ├── examples │ │ └── simple_cli.rs │ │ └── src │ │ └── lib.rs ├── re2.rst ├── regex-lib.rst ├── regex.rst └── resource.rst ├── reports ├── 2015-week-28.rst ├── 2015-week-29.rst ├── 2015-week-30.rst ├── 2015-week-31.rst ├── 2015-week-32.rst ├── 2015-week-33.rst ├── 2015-week-34.rst ├── 2015-week-35.rst ├── 2015-week-36.rst ├── 2015-week-37.rst ├── 2015-week-53.rst ├── 2015-week-54.rst ├── 2015-week-55.rst ├── 2015-week-56.rst ├── 2016-week-19.rst ├── 2016-week-20.rst ├── 2016-week-21.rst ├── 2016-week-22.rst ├── 2016-week-23.rst ├── info.rst └── template.rst ├── requirements.txt ├── robotics ├── README.rst ├── boston-dynamics.rst └── farming-robot.rst ├── rust ├── search-engine └── README.rst ├── security ├── README.rst ├── clickjacking.rst ├── javascript-engine.rst ├── resource.rst ├── reverse-engineering.rst ├── secure-guard-extensions.rst ├── security-libs.rst └── security.rst ├── simd ├── README.rst ├── algorithm.rst └── status.rst ├── synchronization └── introduction.rst ├── testing ├── README.rst ├── chaos-engineering.rst ├── fuzzer.rst ├── mobile-app.rst ├── mutation-test.rst └── server-validation.rst ├── version-control ├── README.rst ├── git │ ├── cheat-sheet.rst │ ├── format-patch.rst │ ├── git-addons.rst │ ├── resource.rst │ └── tips.rst ├── mercurial.rst └── pijul.rst ├── virtualization ├── README.rst ├── bareflank.rst ├── bhyve.rst ├── kvm.rst └── qemu.rst ├── visualization └── README.rst └── wiki └── resource.rst /.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | *.swo 3 | __pycache__ 4 | *.pyc 5 | source/ 6 | build/ 7 | .cache/ 8 | 9 | *.ko 10 | *.o 11 | *.cmd 12 | *.symvers 13 | *.d 14 | *.rlib 15 | *.order 16 | 17 | # Generated by Cargo 18 | target/ 19 | Cargo.lock 20 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "friends/susu"] 2 | path = friends/susu 3 | url = https://github.com/u1240976/mess_note 4 | [submodule "friends/pi"] 5 | path = friends/pi 6 | url = https://github.com/pi314/pi314.notes 7 | [submodule "friends/iblis"] 8 | path = friends/iblis 9 | url = https://github.com/iblis17/notes 10 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: python 2 | python: 3 | - '3.6' 4 | 5 | branches: 6 | only: 7 | - master # 我把 reStructuredText 的原始檔放在 master branch 8 | 9 | install: 10 | - pip install sphinx readthedocs-sphinx-ext sphinx_rtd_theme ghp-import 11 | 12 | script: 13 | - make travis # 需要在 Makefile 新增 travis 的 label 14 | -------------------------------------------------------------------------------- /algorithm/big-o-notation.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Big O Notation 3 | ======================================== 4 | 5 | * `Big-O Algorithm Complexity Cheat Sheet `_ 6 | * `Big-O Poster `_ 7 | -------------------------------------------------------------------------------- /algorithm/books.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Books 3 | ======================================== 4 | 5 | * `Grokking Algorithms: An illustrated guide for programmers and other curious people `_ 6 | -------------------------------------------------------------------------------- /algorithm/cache-friendly.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Cache Friendly Algorithms 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * [2018] `Writing cache friendly C++ - Jonathan Müller `_ 13 | -------------------------------------------------------------------------------- /algorithm/dict.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Dict 3 | ======================================== 4 | 5 | * `Go Maps Don't Appear to be O(1) `_ 6 | -------------------------------------------------------------------------------- /algorithm/float-to-string.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Float to String 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 演算法 10 | ======================================== 11 | 12 | * Schubfach 13 | * Grisu3 14 | * Dragon4 15 | * Dragonbox 16 | - https://github.com/jk-jeon/dragonbox 17 | * Ryu 18 | - [2018] `Ryū: fast float-to-string conversion ` 19 | -------------------------------------------------------------------------------- /algorithm/inverse-square-root.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Inverse Square Root 3 | ======================================== 4 | 5 | Quake III engine 6 | 7 | * `Understanding Quake's Fast Inverse Square Root `_ 8 | * `Wikipedia - Fast inverse square root `_ 9 | -------------------------------------------------------------------------------- /algorithm/misc.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Misc 3 | ======================================== 4 | 5 | * `The Best of the 20th Century: Editors Name Top 10 Algorithms `_ 6 | -------------------------------------------------------------------------------- /algorithm/random-number-generator.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Random Number Generator 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 介紹 10 | ======================================== 11 | 12 | 13 | 14 | 參考 15 | ======================================== 16 | 17 | * `PRNG Reference `_ 18 | -------------------------------------------------------------------------------- /algorithm/substring-searching.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Substring Searching 3 | ======================================== 4 | 5 | * KMP (Knuth-Morris-Pratt) 6 | * BM (Boyer-Moore) 7 | * `Z algorithm `_ 8 | 9 | -------------------------------------------------------------------------------- /android: -------------------------------------------------------------------------------- 1 | operating-system/cases/android/ -------------------------------------------------------------------------------- /arm/arm-server.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | ARM Server 3 | ======================================== 4 | 5 | * `ARM Server Market | Perspectives `_ 6 | -------------------------------------------------------------------------------- /assembly: -------------------------------------------------------------------------------- 1 | cpu -------------------------------------------------------------------------------- /blog/2014/blood-moon.rst: -------------------------------------------------------------------------------- 1 | :title: 血月之 Stellarium 2 | :slug: stellarium 3 | :date: 2014-10-10 19:13 4 | :category: Misc 5 | :tags: 6 | :author: wdv4758h 7 | :summary: 月全蝕的時候從朋友那知道的 Open Source 軟體 8 | 9 | - `Stellarium `_ 10 | 11 | 月全蝕的時候從朋友那知道的 Open Source 軟體, 12 | 看起來蠻棒的 XD 13 | -------------------------------------------------------------------------------- /blog/2014/psychology-intro-chomsky.rst: -------------------------------------------------------------------------------- 1 | :title: 心理學概論 之 Chomsky 2 | :slug: psychology-intro-chomsky 3 | :date: 2014-10-10 18:30 4 | :category: Misc 5 | :tags: psychology 6 | :author: wdv4758h 7 | :summary: 心理學概論的突然清醒 XD 8 | 9 | 這禮拜二在上心理學概論的時候,上到打瞌睡 zzz, 10 | 都是因為整天都有課 (晚上也有),前面又上完體育課很累 ... 11 | 12 | 就在半睡半醒中,突然聽到了 Chomsky ! 13 | 14 | 頓時精神力上升,腦中馬上浮現 Chomsky Normal Form, 15 | 馬上抬頭看一下 slide,上面寫著 Noam Chomsky, 16 | 立馬 Google ... 17 | 18 | 果然是同個人啊 ... 19 | 20 | 在上心理學的時候可以想到正規也是個奇妙的狀況 Orz 21 | -------------------------------------------------------------------------------- /blog/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Blog 3 | ======================================== 4 | 5 | 先前用 `Pelican `_ + reStructuredText 6 | 生 HTML 放在 GitHub Pages 的資料。 7 | -------------------------------------------------------------------------------- /blog/libinput-0.8.rst: -------------------------------------------------------------------------------- 1 | :title: libinput 0.8.0 2 | :slug: libinput-0.8.0 3 | :date: 2015-01-15 23:31 4 | :modified: 2015-01-15 23:31 5 | :category: Misc 6 | :tags: libinput 7 | :author: wdv4758h 8 | :summary: 9 | 10 | * `[ANNOUNCE] libinput 0.8.0 `_ 11 | 12 | 剛剛在讀 RSS 的時候看到 libinput 有新 release 了, 13 | 新的 release 改進的部份主要在於滾動和觸空版支援 14 | -------------------------------------------------------------------------------- /blog/python/coding-style.rst: -------------------------------------------------------------------------------- 1 | :title: Python coding style 2 | :slug: python-coding-style 3 | :date: 2014-09-13 15:20 4 | :category: Python 5 | :tags: Python 6 | :author: wdv4758h 7 | :summary: coding style 8 | 9 | - 不能不提的 `PEP8 `_ 10 | - `Google Python Style Guide `_ 11 | -------------------------------------------------------------------------------- /blog/python/small/python-stackless.rst: -------------------------------------------------------------------------------- 1 | :title: About Stackless Python 2 | :slug: stackless-python 3 | :date: 2014-02-24 19:44 4 | :category: Python 5 | :tags: Python 6 | :author: wdv4758h 7 | :summary: 剛看到 StackOverflow 上的一個詳細回復 XD 8 | 9 | Stackless Python 背後的由來以及現況 ~ 10 | 11 | `聽故事去 `_ 12 | -------------------------------------------------------------------------------- /blog/python/virtualenv-update.rst: -------------------------------------------------------------------------------- 1 | :title: Python virtualenv upgrade 2 | :slug: python-virtualenv-upgrade 3 | :date: 2014-10-22 13:10 4 | :category: Python 5 | :tags: Python 6 | :author: wdv4758h 7 | :summary: upgrade virtualenv 8 | 9 | If you want to upgrade main Python program in virtualenv, 10 | then just run the creation command again. 11 | 12 | ex: 13 | 14 | .. code:: sh 15 | 16 | virtualenv env 17 | virtualenv env-pypy3 -p /usr/bin/pypy3 18 | -------------------------------------------------------------------------------- /blog/virtualenv-version-change.rst: -------------------------------------------------------------------------------- 1 | :title: virtualenv 版本號異動 2 | :slug: virtualenv-version-change 3 | :date: 2015-01-04 16:22 4 | :modified: 2015-01-04 16:22 5 | :category: Misc 6 | :tags: python, virtualenv 7 | :author: wdv4758h 8 | :summary: 9 | 10 | 剛剛要做系統更新的時候, 11 | 發現我這邊 Arch Linux 機器上的 virtualenv 要從 1.11.6-2 升到 12.0.5-1, 12 | 一看到覺得這版本會不會跳太大了 XD, 13 | 去翻了 `virtualenv - changes `_ 14 | 才知道在 12 月底的時候有做過版本號規則的改動 XD, 15 | 從 1.11 變 12.0 www 16 | -------------------------------------------------------------------------------- /blog/wayland.rst: -------------------------------------------------------------------------------- 1 | :title: Wayland - First Look 2 | :slug: wayland-first-look 3 | :date: 2015-03-12 20:16 4 | :modified: 2015-03-12 20:16 5 | :category: Misc 6 | :tags: Wayland 7 | :author: wdv4758h 8 | :summary: 9 | 10 | 去年 (2014) 年底有看了點 Wayland 相關的訊息,蒐集了些東西放在 GitHub 上, 11 | 不過一直沒時間繼續研究,希望之後有空能繼續研究 :P 12 | 13 | * `GitHub - wdv4758h/wayland-resources `_ 14 | -------------------------------------------------------------------------------- /blog/zip/zip-unsupported-99.rst: -------------------------------------------------------------------------------- 1 | :title: ZIP unsupported compression method 99 2 | :slug: zip-unsupported-99 3 | :date: 2014-11-04 23:51 4 | :category: Misc 5 | :tags: zip 6 | :author: wdv4758h 7 | :summary: ZIP unsupported compression method 99 8 | 9 | | 前陣子朋友碰到有設密碼的 zip 檔不能用 unzip 來解開, 10 | | 會出現 "does not support compression method 99" 的錯誤, 11 | | 原因是這些檔案用 AES 加密, 12 | | 對 unzip 來說是新 method 所以不支援, 13 | | 這時候只好用其他支援的工具解開啦, 14 | | 例如 : 7z 15 | -------------------------------------------------------------------------------- /browser/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 瀏覽器相關 3 | ======================================== 4 | 5 | * 實做 6 | - Firefox 7 | - Waterfox 8 | - Pale Moon 9 | - Chrome 10 | - Chromium 11 | - ungoogled-chromium 12 | - Servo 13 | - Tor Browser 14 | -------------------------------------------------------------------------------- /browser/cdm.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | CDM 3 | ======================================== 4 | 5 | * `Arch Wiki - Chromium `_ 6 | - Google - Widevine Content Decryption Module plugin 7 | * `Arch Wiki - Pipelight `_ 8 | * `W3C - Encrypted Media Extensions `_ 9 | -------------------------------------------------------------------------------- /browser/chrome.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Chrome 3 | ======================================== 4 | 5 | * `Fall cleaning: Optimizing V8 memory consumption `_ 6 | -------------------------------------------------------------------------------- /browser/design.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | How Browser Work 3 | ======================================== 4 | 5 | * `How Browsers Work: Behind the scenes of modern web browsers `_ 6 | -------------------------------------------------------------------------------- /browser/extensions.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | WebExtensions 3 | ======================================== 4 | 5 | * `MDN - WebExtensions `_ 6 | * `Mozilla Wiki - WebExtensions `_ 7 | * `Mozilla - Are we Web Extensions yet? `_ 8 | -------------------------------------------------------------------------------- /browser/html.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | HTML 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `HTML Reference - A free guide to all HTML elements and attributes `_ 13 | - HTML 很棒的示範網站 14 | -------------------------------------------------------------------------------- /build-system/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Build System 3 | ======================================== 4 | 5 | * Common Environment Variable 6 | * Makefile 7 | * `CMake `_ 8 | * `Meson `_ 9 | * Autotools 10 | * `Premake `_ 11 | * SCons 12 | * `GYP `_ 13 | * `Tup `_ 14 | * `Please `_ 15 | -------------------------------------------------------------------------------- /build-system/examples/meson/00_c_hello/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | rm -rf build 4 | meson build . 5 | ninja -C build 6 | ./build/demo 7 | -------------------------------------------------------------------------------- /build-system/examples/meson/00_c_hello/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(int argc, char **argv) { 4 | printf("Hello there.\n"); 5 | return 0; 6 | } 7 | -------------------------------------------------------------------------------- /build-system/examples/meson/00_c_hello/meson.build: -------------------------------------------------------------------------------- 1 | project('tutorial', 'c') 2 | executable('demo', 'main.c') 3 | -------------------------------------------------------------------------------- /build-system/examples/meson/03_c_cross/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | rm -rf build 4 | meson build . --cross meson_cross.ini 5 | ninja -C build 6 | ./build/demo 7 | -------------------------------------------------------------------------------- /build-system/examples/meson/03_c_cross/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(int argc, char **argv) { 4 | printf("Hello there.\n"); 5 | return 0; 6 | } 7 | -------------------------------------------------------------------------------- /build-system/examples/meson/03_c_cross/meson.build: -------------------------------------------------------------------------------- 1 | project('tutorial', 'c') 2 | executable('demo', 'main.c') 3 | -------------------------------------------------------------------------------- /build-system/examples/meson/10_subprojects/meson.build: -------------------------------------------------------------------------------- 1 | project('proj_meta', 'c') 2 | 3 | proj1_dep = dependency('proj1', fallback : ['proj1', 'proj1_dep']) 4 | proj2_dep = dependency('proj2', fallback : ['proj2', 'proj2_dep']) 5 | deps = [proj1_dep, proj2_dep] 6 | 7 | executable('demo', 'src/main.c', dependencies : deps) 8 | -------------------------------------------------------------------------------- /build-system/examples/meson/10_subprojects/src/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "proj1.h" 3 | #include "proj2.h" 4 | 5 | int main() { 6 | func1(); 7 | func2(); 8 | } 9 | -------------------------------------------------------------------------------- /build-system/examples/meson/10_subprojects/subprojects/proj1.wrap: -------------------------------------------------------------------------------- 1 | [wrap-file] 2 | directory=proj1 3 | -------------------------------------------------------------------------------- /build-system/examples/meson/10_subprojects/subprojects/proj1/include/proj1.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void func1(); 4 | -------------------------------------------------------------------------------- /build-system/examples/meson/10_subprojects/subprojects/proj1/meson.build: -------------------------------------------------------------------------------- 1 | project('proj1', 'c') 2 | 3 | proj1_inc = include_directories('include') 4 | proj1_lib = shared_library( 5 | 'proj1', 6 | 'src/test1.c', 7 | include_directories : proj1_inc, 8 | install : false) 9 | 10 | proj1_dep = declare_dependency( 11 | include_directories : proj1_inc, 12 | link_with : proj1_lib) 13 | -------------------------------------------------------------------------------- /build-system/examples/meson/10_subprojects/subprojects/proj1/src/test1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "proj1.h" 3 | 4 | void func1() { 5 | printf("test output for func1\n"); 6 | } 7 | -------------------------------------------------------------------------------- /build-system/examples/meson/10_subprojects/subprojects/proj2.wrap: -------------------------------------------------------------------------------- 1 | [wrap-file] 2 | directory=proj2 3 | -------------------------------------------------------------------------------- /build-system/examples/meson/10_subprojects/subprojects/proj2/include/proj2.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void func2(); 4 | -------------------------------------------------------------------------------- /build-system/examples/meson/10_subprojects/subprojects/proj2/meson.build: -------------------------------------------------------------------------------- 1 | project('proj2', 'c') 2 | 3 | proj2_inc = include_directories('include') 4 | proj2_lib = shared_library( 5 | 'proj2', 6 | 'src/test2.c', 7 | include_directories : proj2_inc, 8 | install : false) 9 | 10 | proj2_dep = declare_dependency( 11 | include_directories : proj2_inc, 12 | link_with : proj2_lib) 13 | -------------------------------------------------------------------------------- /build-system/examples/meson/10_subprojects/subprojects/proj2/src/test2.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "proj2.h" 3 | 4 | void func2() { 5 | printf("test output for func2\n"); 6 | } 7 | -------------------------------------------------------------------------------- /build-system/gyp.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | GYP 3 | ======================================== 4 | 5 | GYP 是 Google 為了 Chromium 所撰寫出來的 Build Tool 6 | 7 | * `GYP vs. CMake `_ 8 | -------------------------------------------------------------------------------- /c: -------------------------------------------------------------------------------- 1 | programming-language/cases/c/ -------------------------------------------------------------------------------- /cli-tui/du.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | du 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 範例 10 | ======================================== 11 | 12 | 找出前 N 大的檔案: 13 | 14 | .. code-block:: sh 15 | 16 | du -a . | sort -nr | head 17 | 18 | 19 | 計算指定目錄的大小: 20 | 21 | .. code-block:: sh 22 | 23 | du -sh . 24 | -------------------------------------------------------------------------------- /cli-tui/hwclock.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | hwclock 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 範例 10 | ======================================== 11 | 12 | .. code-block:: sh 13 | 14 | $ sudo hwclock 15 | 2018-05-19 01:03:49.357577+08:00 16 | -------------------------------------------------------------------------------- /cli-tui/installer.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Installer 3 | ======================================== 4 | 5 | * `Calamares - A distribution independent installer framework `_ 6 | -------------------------------------------------------------------------------- /cli-tui/remote-desktop.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Remote Desktop 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Arch Wiki - rdesktop `_ 13 | * `Remmina `_ 14 | - 複製貼上運作正常,可以跟外面互通 15 | -------------------------------------------------------------------------------- /cli-tui/sed.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | sed 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 範例 10 | ======================================== 11 | 12 | .. code-block:: sh 13 | 14 | sed -i 's/test/foo/' 15 | sed -i 's#test/123#foo/bar#' 16 | -------------------------------------------------------------------------------- /cli-tui/test.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | test 指令 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Bash Hackers Wiki - The classic test command `_ 13 | -------------------------------------------------------------------------------- /cli-tui/tmux.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Tmux 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 常用操作 10 | ======================================== 11 | 12 | reload config 13 | ------------------------------ 14 | 15 | .. code-block:: sh 16 | 17 | # as tmux command 18 | :source-file ~/.tmux.conf 19 | 20 | # as CLI command 21 | tmux source-file ~/.tmux.conf 22 | -------------------------------------------------------------------------------- /cli-tui/tools.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 工具 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | Scan Tailor 10 | ======================================== 11 | 12 | :Repo: https://github.com/scantailor/scantailor 13 | 14 | 15 | Scan Tailor 是圖片一個後處理工具, 16 | 針對掃描或拍照的文件, 17 | 經過數個階段的處理後, 18 | 把重點文字突顯出來, 19 | 除去不必要的資訊。 20 | 21 | (處理完後可以用 ImageMagick 的 ``convert`` 把多個圖片轉成 PDF 檔) 22 | -------------------------------------------------------------------------------- /cli-tui/xargs.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | xargs 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 範例 10 | ======================================== 11 | 12 | .. code-block:: sh 13 | 14 | find . -name '*.backup' | xargs rm -v 15 | find . -name "ffi.h" | xargs -I{} cp {} /opt/include/ 16 | -------------------------------------------------------------------------------- /cloud/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 雲端服務 (Cloud Service) 3 | ======================================== 4 | 5 | * OpenStack 6 | * AWS (Amazon Web Service) 7 | * GCP (Google Cloud Platform) 8 | * Microsoft Azure 9 | * IBM Cloud 10 | * VMware vSphere 11 | -------------------------------------------------------------------------------- /compiler/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 編譯器 3 | ======================================== 4 | 5 | 6 | * `Clang options `_ 7 | * `Clang Tools `_ 8 | * `compiler-rt `_ 9 | * `LLVM help Testing `_ 10 | * `LLVM Python `_ 11 | * `LLVM to VHDL/Verilog `_ 12 | * `Optimization `_ 13 | * `Autotuning `_ 14 | -------------------------------------------------------------------------------- /compiler/autotuning.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Compiler Autotuning 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * [2018] `A Survey on Compiler Autotuning using Machine Learning `_ 13 | -------------------------------------------------------------------------------- /compiler/cases/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 編譯器案例 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | General Compiler 10 | ======================================== 11 | 12 | * GCC 13 | * LLVM 14 | 15 | 16 | Neural Network Compiler 17 | ======================================== 18 | 19 | * `Glow `_ 20 | * `NNVM + TVM `_ 21 | * `ONNC `_ 22 | -------------------------------------------------------------------------------- /compiler/cases/glow/README.rst: -------------------------------------------------------------------------------- 1 | ======================================================== 2 | Glow - compiler for Neural Network hardware accelerators 3 | ======================================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 介紹 10 | ======================================== 11 | 12 | :Repo: https://github.com/pytorch/glow 13 | -------------------------------------------------------------------------------- /compiler/cases/llvm/llvm-7.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | LLVM 7 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `[llvm-announce] LLVM 7.0.0 Release `_ 13 | * `LLVM 7.0.0 Release Notes — LLVM 7 documentation `_ 14 | -------------------------------------------------------------------------------- /compiler/code-gen.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Code Generation 3 | ======================================== 4 | 5 | * `LLVM Code Generation in HHVM `_ 6 | -------------------------------------------------------------------------------- /compiler/compiler-and-learning.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Compiler and Learning 3 | ======================================== 4 | 5 | * `CTools: CTuningCC `_ 6 | -------------------------------------------------------------------------------- /compiler/cross-compile.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Cross Compile 3 | ======================================== 4 | 5 | 6 | * `How To Cross-Compile Clang/LLVM using Clang/LLVM `_ 7 | -------------------------------------------------------------------------------- /compiler/environment.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Environment 3 | ======================================== 4 | 5 | * LIBRARY_PATH 6 | - used by gcc before compilation to search for directories containing libraries that need to be linked to your program. 7 | * LD_LIBRARY_PATH 8 | - used by your program to search for directories containing the libraries after it has been successfully compiled and linked. 9 | -------------------------------------------------------------------------------- /compiler/executable-file-formats/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Executable File Formats 3 | ======================================== 4 | 5 | * `ELF `_ 6 | * COFF 7 | * Mach-O 8 | * PE 9 | 10 | * `Wikipedia - Comparison of executable file formats `_ 11 | -------------------------------------------------------------------------------- /compiler/gcc-plugins.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | GCC Plugins 3 | ======================================== 4 | 5 | * [GitHub] `rofirrim/gcc-plugins - Experiments with the gcc plugin mechanism `_ 6 | -------------------------------------------------------------------------------- /compiler/jump-threading.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Jump Threading 3 | ======================================== 4 | 5 | * `Jump Threading `_ 6 | -------------------------------------------------------------------------------- /compiler/linker/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Linker 3 | ======================================== 4 | 5 | * `介紹 `_ 6 | * Linker Command Language 7 | -------------------------------------------------------------------------------- /compiler/llvm-android.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Android With LLVM 3 | ======================================== 4 | 5 | * `[2014] Here be dragons: Using clang/LLVM to build Android `_ 6 | - You can build a single project within Android by setting ``LOCAL_CLANG=true`` in ``Android.mk`` 7 | - You can use clang globally by setting ``LOCAL_CLANG=true`` in ``build/core/clear_vars.mk`` 8 | -------------------------------------------------------------------------------- /compiler/llvm-cuda.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | LLVM & CUDA 3 | ======================================== 4 | 5 | * `Compiling CUDA C/C++ with LLVM `_ 6 | -------------------------------------------------------------------------------- /compiler/obfuscator.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Obfuscator 3 | ======================================== 4 | 5 | * `Obfuscator-LLVM `_ 6 | - 針對 LLVM IR 做混淆 7 | - `FAQ `_ 8 | -------------------------------------------------------------------------------- /compiler/optimization/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 優化 3 | ======================================== 4 | 5 | * `LTO `_ 6 | * `PGO/FDO/PDF `_ 7 | * `IPO `_ 8 | * DCE (Dead Code Elimination) 9 | * Superoptimization 10 | * `Tips `_ 11 | -------------------------------------------------------------------------------- /compiler/optimization/ipo.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | IPO (Interprocedural Optimization) 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Wikipedia - Interprocedural Optimization `_ 13 | -------------------------------------------------------------------------------- /compiler/porting.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Use Compiler To Help Porting 3 | ======================================== 4 | 5 | * `Automated porting from Qt 4 to Qt 5 `_ 6 | -------------------------------------------------------------------------------- /compiler/static-analysis/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Static Analysis 3 | ======================================== 4 | 5 | * `Phasar - LLVM-based Static Analysis Framework `_ 6 | -------------------------------------------------------------------------------- /compiler/static-analysis/performance.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Static Analysis To Improve Performance 3 | ======================================== 4 | 5 | * `How to use static analysis to improve performance `_ 6 | -------------------------------------------------------------------------------- /compiler/talks.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Talks 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | Compiling cross-toolchains with CMake and runtimes build 10 | ======================================================== 11 | 12 | :URL: https://llvm.org/devmtg/2017-10/#lightning11 13 | :Video: https://www.youtube.com/watch?v=OCQGpUzXDsY 14 | -------------------------------------------------------------------------------- /compiler/transpiler.rst: -------------------------------------------------------------------------------- 1 | =============================================== 2 | 轉譯器 (Transpiler) (Source-to-Source Compiler) 3 | =============================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `ROSE compiler infrastructure `_ 13 | -------------------------------------------------------------------------------- /computer-vision/SIFT.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | SIFT 3 | ======================================== 4 | 5 | [待補] 6 | -------------------------------------------------------------------------------- /computer-vision/panorama.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Panorama (Image Stitching) 3 | ======================================== 4 | 5 | [待補] 6 | -------------------------------------------------------------------------------- /computer-vision/video-tracking.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Video Tracking 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Wikipedia - Video Tracking `_ 13 | -------------------------------------------------------------------------------- /computer-vision/visual-question-answering.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Visual Question Answering 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | TGIF-QA 10 | ======================================== 11 | 12 | * https://github.com/YunseokJANG/tgif-qa 13 | 14 | 15 | 16 | 參考 17 | ======================================== 18 | -------------------------------------------------------------------------------- /container/chroot.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | chroot 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Wikipedia - chroot jail `_ 13 | -------------------------------------------------------------------------------- /container/examples/docker/alpine.Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.7 2 | 3 | # install ca-certificates so that HTTPS works consistently 4 | # the other runtime dependencies for Python are installed later 5 | RUN apk add --no-cache ca-certificates 6 | 7 | # Extra Resource: 8 | # * Example for CPython: https://github.com/docker-library/python/blob/master/3.6/alpine3.7/Dockerfile 9 | -------------------------------------------------------------------------------- /container/examples/docker/archlinux.Dockerfile: -------------------------------------------------------------------------------- 1 | FROM archlinux/base 2 | 3 | RUN pacman -Syu --noconfirm 4 | RUN pacman -S --noconfirm clang cmake autoconf 5 | 6 | ENV HOME /root 7 | WORKDIR /root 8 | CMD ["/bin/sh"] 9 | -------------------------------------------------------------------------------- /container/freebsd-jail.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | FreeBSD Jail 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Wikipedia - FreeBSD jail `_ 13 | * ezjail 14 | * http://bsdploy.readthedocs.io/en/latest/ 15 | - FreeBSD jail provisioning 16 | - https://github.com/ployground/bsdploy 17 | -------------------------------------------------------------------------------- /continuous-integration/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | CI (Continouse Integration) 3 | ======================================== 4 | 5 | * `Buildbot `_ 6 | * `Jenkins `_ 7 | * `Travis CI `_ 8 | * Circle CI 9 | * AppVeyor 10 | * `GitHub Actions `_ 11 | * `Concourse `_ 12 | * `Drone `_ 13 | 14 | ---- 15 | 16 | 其他相關議題: 17 | 18 | * `Workflow Pipeline `_ 19 | -------------------------------------------------------------------------------- /continuous-integration/concourse.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Concourse 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 介紹 10 | ======================================== 11 | 12 | :Repo: https://github.com/concourse/concourse 13 | :License: Apache 2.0 14 | :Language: Go 15 | :Site: https://concourse-ci.org/ 16 | 17 | 18 | Concourse is a pipeline-based CI system written in Go. 19 | -------------------------------------------------------------------------------- /continuous-integration/drone.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Drone 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 介紹 10 | ======================================== 11 | 12 | :Repo: https://github.com/drone/drone 13 | :License: 14 | :Language: Go 15 | :Site: https://drone.io/ 16 | 17 | 18 | Drone is a Continuous Delivery platform built on Docker, written in Go. 19 | -------------------------------------------------------------------------------- /continuous-integration/github-actions.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Github Actions 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `GitHub Actions `_ 13 | * `Image Actions automatically compress JPEG, PNG and WebP images in GitHub Pull Requests `_ 14 | -------------------------------------------------------------------------------- /continuous-integration/workflow-pipeline.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Workflow Pipeline 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Airflow `_ 13 | -------------------------------------------------------------------------------- /cpp: -------------------------------------------------------------------------------- 1 | programming-language/cases/cpp -------------------------------------------------------------------------------- /cpu/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | CPU & ISA 3 | ======================================== 4 | 5 | * `x86 `_ 6 | * `ARM `_ 7 | * `RISC-V `_ 8 | * `MIPS `_ 9 | * `POWER `_ 10 | -------------------------------------------------------------------------------- /cpu/arm/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | ARM 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `ARMv8-A architecture – 2016 additions `_ 13 | -------------------------------------------------------------------------------- /cpu/cheat-sheet.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Assembly Cheat Sheet 3 | ======================================== 4 | 5 | * `ASM 8086 Cheat Sheet `_ 6 | -------------------------------------------------------------------------------- /cpu/mips/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | MIPS 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | -------------------------------------------------------------------------------- /cpu/power/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | POWER 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | -------------------------------------------------------------------------------- /database/cockroachdb.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | CockroachDB 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `CockroachDB 2.0 Has Arrived! | Cockroach Labs `_ 13 | -------------------------------------------------------------------------------- /database/leveldb.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | LevelDB 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | -------------------------------------------------------------------------------- /database/mongodb.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | MongoDB 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | -------------------------------------------------------------------------------- /database/postgresql.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Database 3 | ======================================== 4 | 5 | PostgreSQL 6 | ======================================== 7 | 8 | * `Agg: Parallel aggregations for PostgreSQL `_ 9 | -------------------------------------------------------------------------------- /database/rocksdb.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | RocksDB 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `The effect of switching to TCMalloc on RocksDB memory use `_ 13 | -------------------------------------------------------------------------------- /database/tidb.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | TiDB 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `TiDB 2.0 is Ready - Faster, Smarter, and Battle-Tested `_ 13 | - Chaos testing 14 | - Systemtap for delay I/O for testing 15 | - TLA+ for formal prove 16 | -------------------------------------------------------------------------------- /debug/flamescope.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | FlameScope 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Netflix FlameScope - performance visualization tool `_ 13 | * [GitHub] `FlameScope `_ 14 | -------------------------------------------------------------------------------- /debug/javascript.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Debugger for JavaScript 3 | ======================================== 4 | 5 | * `debugger.html by Mozilla `_ 6 | * `BLeak: Automatically Debugging Memory Leaks in Web Applications `_ 7 | -------------------------------------------------------------------------------- /debug/kernel.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Debugging a Kernel 3 | ======================================== 4 | 5 | * `FreeBSD - Debugging a Kernel Crash Dump with kgdb `_ 6 | * `Linux - Debugging kernel and modules via gdb `_ 7 | -------------------------------------------------------------------------------- /documentation/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 文件 (Documentation) 3 | ======================================== 4 | 5 | Markup Language: 6 | 7 | * `reStructuredText `_ 8 | * `LaTeX `_ 9 | * DocBook 10 | * Markdown 11 | * AsciiDoc 12 | 13 | 14 | 工具: 15 | 16 | * `Sphinx `_ 17 | * Doxygen 18 | * DoxyPress 19 | * Pandoc 20 | * mdBook 21 | -------------------------------------------------------------------------------- /editor/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 編輯器 3 | ======================================== 4 | 5 | 有在使用的編輯器: 6 | 7 | * `Vim/Neovim `_ 8 | 9 | 10 | 沒有在使用的編輯器(但是可以從中學習優點): 11 | 12 | * `Emacs `_ 13 | * Atom 14 | * Visual Studio Code 15 | * Sublime Text 16 | * Xcode 17 | 18 | 19 | 其他: 20 | 21 | * 撰寫自己的編輯器 22 | * 編輯器相關的資料結構 23 | -------------------------------------------------------------------------------- /editor/neovim: -------------------------------------------------------------------------------- 1 | vim/ -------------------------------------------------------------------------------- /editor/vim/buffers.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Buffers 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | Denite 10 | ======================================== 11 | 12 | :Repo: https://github.com/Shougo/denite.nvim/ 13 | 14 | 15 | 跟 `Unite `_ 相比之下的改進: 16 | 17 | 18 | 19 | 參考 20 | ======================================== 21 | -------------------------------------------------------------------------------- /editor/vim/colors.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Vim Colors and Theme 3 | ======================================== 4 | 5 | * `Vim Colors `_ 6 | -------------------------------------------------------------------------------- /editor/vim/history.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | History 3 | ======================================== 4 | 5 | * `The History of Vim `_ 6 | * `Wikipedia - Vim (text editor) `_ 7 | * `A vi-centric family tree of editors `_ 8 | -------------------------------------------------------------------------------- /editor/vim/neovim-features.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Neovim Features 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | command 結果即時預覽 - inccommand 10 | ======================================== 11 | 12 | .. code-block:: vim 13 | 14 | set inccommand=split 15 | 16 | 17 | 18 | 參考 19 | ======================================== 20 | 21 | * `Neovim - options `_ 22 | -------------------------------------------------------------------------------- /editor/vim/neovim-terminal.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Neovim Terminal 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Neovim Terminal Usecases & Tricks `_ 13 | -------------------------------------------------------------------------------- /editor/vim/oni.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Oni 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 介紹 10 | ======================================== 11 | 12 | `Oni `_ 是 Neovim 加上 Electron UI, 13 | 可以直接使用原本的 Neovim 設定檔, 14 | 相關設定會直接轉成顯示在 Oni 的 GUI 內。 15 | 16 | 17 | Oni 的界面可以用 Ctrl + g 來顯示控制按鍵。 18 | -------------------------------------------------------------------------------- /editor/vim/registers.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Vim Registers 3 | ======================================== 4 | 5 | * `Advanced Vim registers `_ 6 | -------------------------------------------------------------------------------- /editor/vim/tips.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Vim/Neovim Tips 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 直接編輯指令的輸出 10 | ======================================== 11 | 12 | .. code-block:: sh 13 | 14 | SOME_CMD | vim - 15 | 16 | .. code-block:: sh 17 | 18 | ls | vim - 19 | nm -g librure.so | rg -v ' [tbrdw] ' | vim - 20 | nm -Pg librure.so | vim - 21 | readelf -Ws librure.so | vim - 22 | -------------------------------------------------------------------------------- /embedded/fpga.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | FPGA 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `FμPy - FPGA MicroPython `_ 13 | * `Migen - Python toolbox for building complex digital hardware `_ 14 | -------------------------------------------------------------------------------- /embedded/stm32.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | STM32 3 | ======================================== 4 | 5 | * `Mastering STM32 `_ 6 | -------------------------------------------------------------------------------- /games/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 遊戲 (Game) 3 | ======================================== 4 | 5 | * `Roguelike `_ 6 | * `守塔 (Tower Defense) `_ 7 | * `即時策略 (Real Time Strategy) `_ 8 | * `模擬器 (Emulators) `_ 9 | * `RPG `_ 10 | * `Windows Game on Linux `_ 11 | -------------------------------------------------------------------------------- /games/engine.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 遊戲引擎 (Game Engine) 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | Godot 10 | ======================================== 11 | 12 | :Site: https://godotengine.org/ 13 | :Repo: https://github.com/godotengine/godot 14 | -------------------------------------------------------------------------------- /games/real-time-strategy.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Real-time Strategy Games 3 | ======================================== 4 | 5 | .. contents:: 目錄 6 | 7 | 8 | 0 A.D. - 經典開源案例 9 | ======================================== 10 | 11 | 12 | 13 | 參考 14 | ======================================== 15 | 16 | * `0 A.D. `_ 17 | -------------------------------------------------------------------------------- /games/resource.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Games Resource 3 | ======================================== 4 | 5 | * `Wikipedia - List of open-source video games `_ 6 | * `Games on GitHub `_ 7 | -------------------------------------------------------------------------------- /gpgpu/boost.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Boost.Compute 3 | ======================================== 4 | 5 | Boost.Compute 是一個只有 header 檔的 library, 6 | 把 OpenCL 的 API 包裝成類似 STL 的介面, 7 | 不需要額外的 linking 參數 (除了 OpenCL 之外), 8 | 例如: 9 | 10 | .. code-block:: sh 11 | 12 | g++ -I/path/to/compute/include test.cpp -lOpenCL 13 | 14 | 15 | Reference 16 | ======================================== 17 | 18 | * [GitHub] `Boost.Compute `_ 19 | -------------------------------------------------------------------------------- /gpgpu/kernel.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | GPGPU with Kernel 3 | ======================================== 4 | 5 | * [GitHub] `KGPU - Augmenting Linux with GPUs `_ 6 | - [2011] `Speeding Up The Linux Kernel With Your GPU `_ 7 | * [2012] `GPUstore - Harnessing GPU Computing for Storage Systems in the OS Kernel `_ 8 | -------------------------------------------------------------------------------- /gpgpu/opencl/examples/cl_add.cl: -------------------------------------------------------------------------------- 1 | __kernel void cl_add(__global int *a, 2 | __global int *b, 3 | __global int *c) { 4 | int i = get_global_id(0); 5 | c[i] = a[i] + b[i]; 6 | } 7 | -------------------------------------------------------------------------------- /graphics/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 圖像處理 (Graphics) 3 | ======================================== 4 | 5 | * `Mesa - 跨平台三維繪圖 `_ 6 | * `Cairo - 跨平台二維向量繪圖 `_ 7 | * Skia 8 | * Pango 9 | 10 | * Low Level API 11 | - OpenGL 12 | - Direct3D 13 | - Metal 14 | - Vulkan 15 | * Display Server 16 | - Xorg 17 | - Wayland 18 | - `Arcan `_ 19 | -------------------------------------------------------------------------------- /graphics/cairo.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Cairo - 跨平台二維向量繪圖 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 介紹 10 | ======================================== 11 | 12 | :Site: https://cairographics.org/ 13 | :Repo: https://cgit.freedesktop.org/cairo/ 14 | 15 | 16 | 支援的後端: 17 | 18 | * Image (in-memory buffer) 19 | * OpenGL 20 | * SVG 21 | * PostScript 22 | * PDF 23 | * Xlib 24 | * XCB 25 | * Quartz 26 | * Windows GDI 27 | -------------------------------------------------------------------------------- /graphics/opengl.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | OpenGL 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `22/05/2004 - 28/07/2013 OpenGL Reviews `_ 13 | -------------------------------------------------------------------------------- /graphics/virtualgl.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | VirtualGL 3 | ======================================== 4 | 5 | * `Wikipedia - VirtualGL `_ 6 | * `VirtualGL Project `_ 7 | * `Virtualizing GPU Access `_ 8 | -------------------------------------------------------------------------------- /gui/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | GUI 3 | ======================================== 4 | 5 | * Qt 6 | * GTK+ 7 | * Tcl/Tk 8 | * wxWidgets 9 | * GLFW 10 | -------------------------------------------------------------------------------- /hardware/concept/random-number-generator.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 硬體亂數產生器 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | Z1FFER - 開源硬體亂數產生器 10 | ======================================== 11 | 12 | * `OpenRandom.org `_ 13 | * [GitHub] `Z1FFER - Open Source hardware random number generator `) 14 | -------------------------------------------------------------------------------- /hardware/history.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Hardware's History 3 | ======================================== 4 | 5 | * `What's New in CPUs Since the 80s and How Does It Affect Programmers? `_ 6 | * `Why do CPUs have multiple cache levels? `_ 7 | -------------------------------------------------------------------------------- /hardware/lang/verilog.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Verilog 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | 有趣專案: 13 | 14 | * `Minecraft HDL `_ 15 | - 從 Verilog 程式碼生出 Minecraft 紅石電路 16 | -------------------------------------------------------------------------------- /hardware/resource.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Resource 3 | ======================================== 4 | 5 | * `All CPU and MCU documentation in one place `_ 6 | -------------------------------------------------------------------------------- /hardware/risc-v.rst: -------------------------------------------------------------------------------- 1 | ../assembly/riscv/README.rst -------------------------------------------------------------------------------- /hardware/vendor/arm.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | ARM 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `ARM Announces Project Trillium Machine Learning IPs `_ 13 | -------------------------------------------------------------------------------- /images/100-years-compsci-infographic.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/100-years-compsci-infographic.jpg -------------------------------------------------------------------------------- /images/Levels of Parallelism.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/Levels of Parallelism.png -------------------------------------------------------------------------------- /images/SIMD-vaddpd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/SIMD-vaddpd.png -------------------------------------------------------------------------------- /images/SIMD-vfmadd213pd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/SIMD-vfmadd213pd.png -------------------------------------------------------------------------------- /images/SIMD-vmovapd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/SIMD-vmovapd.png -------------------------------------------------------------------------------- /images/algorithm/linear-counting-estimation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/algorithm/linear-counting-estimation.png -------------------------------------------------------------------------------- /images/algorithm/p-and-np.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/algorithm/p-and-np.png -------------------------------------------------------------------------------- /images/android/libhybris.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/android/libhybris.png -------------------------------------------------------------------------------- /images/archlinux/lstopo-esxi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/archlinux/lstopo-esxi.png -------------------------------------------------------------------------------- /images/archlinux/lstopo-laptop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/archlinux/lstopo-laptop.png -------------------------------------------------------------------------------- /images/arm-cheatsheet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/arm-cheatsheet.png -------------------------------------------------------------------------------- /images/big-o/cheatsheet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/big-o/cheatsheet.png -------------------------------------------------------------------------------- /images/big-o/o-log-log-n-max.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/big-o/o-log-log-n-max.png -------------------------------------------------------------------------------- /images/big-o/o-n-max.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/big-o/o-n-max.png -------------------------------------------------------------------------------- /images/ccca-github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/ccca-github.png -------------------------------------------------------------------------------- /images/compiler/compiler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/compiler/compiler.png -------------------------------------------------------------------------------- /images/compiler/interpreter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/compiler/interpreter.png -------------------------------------------------------------------------------- /images/compiler/nnvm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/compiler/nnvm.png -------------------------------------------------------------------------------- /images/coverity/cpython.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/coverity/cpython.png -------------------------------------------------------------------------------- /images/cpp/SSO-origin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/cpp/SSO-origin.png -------------------------------------------------------------------------------- /images/cpp/SSO-shift.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/cpp/SSO-shift.png -------------------------------------------------------------------------------- /images/cpp/SSO-version1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/cpp/SSO-version1.png -------------------------------------------------------------------------------- /images/cpp/SSO-version2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/cpp/SSO-version2.png -------------------------------------------------------------------------------- /images/cpp/SSO-version3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/cpp/SSO-version3.png -------------------------------------------------------------------------------- /images/cpp/data-model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/cpp/data-model.png -------------------------------------------------------------------------------- /images/cpp/pimpl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/cpp/pimpl.png -------------------------------------------------------------------------------- /images/cpp/vtable.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/cpp/vtable.gif -------------------------------------------------------------------------------- /images/crypto/Diffie-Hellman-Key-Exchange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/crypto/Diffie-Hellman-Key-Exchange.png -------------------------------------------------------------------------------- /images/cython/cython-function-visibility.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/cython/cython-function-visibility.png -------------------------------------------------------------------------------- /images/database-history.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/database-history.jpg -------------------------------------------------------------------------------- /images/debug/hw1/debug1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/debug/hw1/debug1.png -------------------------------------------------------------------------------- /images/debug/hw1/debug2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/debug/hw1/debug2.png -------------------------------------------------------------------------------- /images/debug/hw1/debug3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/debug/hw1/debug3.png -------------------------------------------------------------------------------- /images/debug/hw1/debug4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/debug/hw1/debug4.png -------------------------------------------------------------------------------- /images/debug/hw1/debug5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/debug/hw1/debug5.png -------------------------------------------------------------------------------- /images/font/serif-vs-sans-serif.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/font/serif-vs-sans-serif.jpg -------------------------------------------------------------------------------- /images/font/source-han-sans-choose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/font/source-han-sans-choose.png -------------------------------------------------------------------------------- /images/hardware/ssd-architecture.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/hardware/ssd-architecture.jpg -------------------------------------------------------------------------------- /images/http/http.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/http/http.png -------------------------------------------------------------------------------- /images/image-processing/2D-Interpolation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/image-processing/2D-Interpolation.png -------------------------------------------------------------------------------- /images/image-processing/adaptive-interpolation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/image-processing/adaptive-interpolation.png -------------------------------------------------------------------------------- /images/image-processing/huffman-coding.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/image-processing/huffman-coding.jpg -------------------------------------------------------------------------------- /images/image-processing/image-compression-flow.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/image-processing/image-compression-flow.jpg -------------------------------------------------------------------------------- /images/image-processing/image-compression-standard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/image-processing/image-compression-standard.png -------------------------------------------------------------------------------- /images/image-processing/jpeg-compression-flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/image-processing/jpeg-compression-flow.png -------------------------------------------------------------------------------- /images/image-processing/non-adaptive-interpolations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/image-processing/non-adaptive-interpolations.png -------------------------------------------------------------------------------- /images/image-processing/rotation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/image-processing/rotation.png -------------------------------------------------------------------------------- /images/jp/局中法度.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/jp/局中法度.jpg -------------------------------------------------------------------------------- /images/jp/新撰組.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/jp/新撰組.jpg -------------------------------------------------------------------------------- /images/jp/誠.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/jp/誠.jpg -------------------------------------------------------------------------------- /images/keep-calm-and-be-careful.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/keep-calm-and-be-careful.png -------------------------------------------------------------------------------- /images/krita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/krita.png -------------------------------------------------------------------------------- /images/languages/russian/alphabet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/languages/russian/alphabet.png -------------------------------------------------------------------------------- /images/latex/math-example0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/latex/math-example0.png -------------------------------------------------------------------------------- /images/latex/math-example1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/latex/math-example1.png -------------------------------------------------------------------------------- /images/latex/math-example2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/latex/math-example2.png -------------------------------------------------------------------------------- /images/latex/math-example3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/latex/math-example3.png -------------------------------------------------------------------------------- /images/latex/math-example5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/latex/math-example5.png -------------------------------------------------------------------------------- /images/learning/Machine Learning Algorithm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/learning/Machine Learning Algorithm.png -------------------------------------------------------------------------------- /images/learning/entropy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/learning/entropy.png -------------------------------------------------------------------------------- /images/learning/learning-architectures.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/learning/learning-architectures.png -------------------------------------------------------------------------------- /images/learning/scikit-learn map.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/learning/scikit-learn map.png -------------------------------------------------------------------------------- /images/linux/bzimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/linux/bzimage.png -------------------------------------------------------------------------------- /images/linux/dbus-architectural.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/linux/dbus-architectural.png -------------------------------------------------------------------------------- /images/linux/evtest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/linux/evtest.png -------------------------------------------------------------------------------- /images/linux/linux-ipc-communication.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/linux/linux-ipc-communication.png -------------------------------------------------------------------------------- /images/linux/linux-ipc-synchronization.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/linux/linux-ipc-synchronization.png -------------------------------------------------------------------------------- /images/linux/linux-kernel-boot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/linux/linux-kernel-boot.jpg -------------------------------------------------------------------------------- /images/linux/linux-kernel-file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/linux/linux-kernel-file.png -------------------------------------------------------------------------------- /images/linux/wayland-input-stack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/linux/wayland-input-stack.png -------------------------------------------------------------------------------- /images/linux/x-input-stack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/linux/x-input-stack.png -------------------------------------------------------------------------------- /images/linux/xinput.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/linux/xinput.png -------------------------------------------------------------------------------- /images/machine-learning/technique/elastic-net-formula.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/machine-learning/technique/elastic-net-formula.png -------------------------------------------------------------------------------- /images/machine-learning/technique/lasso-formula.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/machine-learning/technique/lasso-formula.png -------------------------------------------------------------------------------- /images/machine-learning/technique/ols-formula.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/machine-learning/technique/ols-formula.png -------------------------------------------------------------------------------- /images/machine-learning/technique/ols-plot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/machine-learning/technique/ols-plot.png -------------------------------------------------------------------------------- /images/machine-learning/technique/ridge-formula.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/machine-learning/technique/ridge-formula.png -------------------------------------------------------------------------------- /images/math/Spline-draw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/math/Spline-draw.png -------------------------------------------------------------------------------- /images/math/Spline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/math/Spline.png -------------------------------------------------------------------------------- /images/memory-management/Linux-Address-Layout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/memory-management/Linux-Address-Layout.png -------------------------------------------------------------------------------- /images/memory/sanitizer-status.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/memory/sanitizer-status.png -------------------------------------------------------------------------------- /images/microprocessor/USB.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/microprocessor/USB.png -------------------------------------------------------------------------------- /images/ml/formalize-problem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/ml/formalize-problem.png -------------------------------------------------------------------------------- /images/ml/learning-flow-01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/ml/learning-flow-01.png -------------------------------------------------------------------------------- /images/ml/learning-model-01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/ml/learning-model-01.png -------------------------------------------------------------------------------- /images/ml/ml-ai.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/ml/ml-ai.png -------------------------------------------------------------------------------- /images/ml/ml-dm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/ml/ml-dm.png -------------------------------------------------------------------------------- /images/ml/ml-statistics.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/ml/ml-statistics.png -------------------------------------------------------------------------------- /images/ml/practical-def-01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/ml/practical-def-01.png -------------------------------------------------------------------------------- /images/modern-art-simplified-comic-guide-john-atkinson-wrong-hands.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/modern-art-simplified-comic-guide-john-atkinson-wrong-hands.jpg -------------------------------------------------------------------------------- /images/multimedia/pipewire-firefox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/multimedia/pipewire-firefox.png -------------------------------------------------------------------------------- /images/network/am.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/network/am.jpg -------------------------------------------------------------------------------- /images/network/analog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/network/analog.png -------------------------------------------------------------------------------- /images/network/communication.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/network/communication.png -------------------------------------------------------------------------------- /images/network/digital.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/network/digital.png -------------------------------------------------------------------------------- /images/network/fm.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/network/fm.jpg -------------------------------------------------------------------------------- /images/network/pm.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/network/pm.jpg -------------------------------------------------------------------------------- /images/network/pulse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/network/pulse.png -------------------------------------------------------------------------------- /images/numpy/numpy-order.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/numpy/numpy-order.png -------------------------------------------------------------------------------- /images/pl/typing-quadrant.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/pl/typing-quadrant.png -------------------------------------------------------------------------------- /images/programming-language/lisp-dialects-timeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/programming-language/lisp-dialects-timeline.png -------------------------------------------------------------------------------- /images/psycho/cognitive-developmental-theory.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/psycho/cognitive-developmental-theory.jpg -------------------------------------------------------------------------------- /images/psycho/conditioning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/psycho/conditioning.png -------------------------------------------------------------------------------- /images/psycho/infoprocess.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/psycho/infoprocess.jpg -------------------------------------------------------------------------------- /images/psycho/parenting-styles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/psycho/parenting-styles.png -------------------------------------------------------------------------------- /images/psycho/strength-of-cr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/psycho/strength-of-cr.png -------------------------------------------------------------------------------- /images/pypy/pypy-translate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/pypy/pypy-translate.png -------------------------------------------------------------------------------- /images/reports/VEX-ARM-bugs-status-2015-08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/reports/VEX-ARM-bugs-status-2015-08.png -------------------------------------------------------------------------------- /images/reports/Valgrind-Android-bugs-status-2015-08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/reports/Valgrind-Android-bugs-status-2015-08.png -------------------------------------------------------------------------------- /images/rpi/layout-rpi-model-b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/rpi/layout-rpi-model-b.png -------------------------------------------------------------------------------- /images/rust/autumn-platform.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/rust/autumn-platform.png -------------------------------------------------------------------------------- /images/rust/rust-compile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/rust/rust-compile.png -------------------------------------------------------------------------------- /images/rust/tokio-stack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/rust/tokio-stack.png -------------------------------------------------------------------------------- /images/space/space-ai-chess.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/space/space-ai-chess.png -------------------------------------------------------------------------------- /images/space/space-ai.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/space/space-ai.png -------------------------------------------------------------------------------- /images/space/space-control.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/space/space-control.png -------------------------------------------------------------------------------- /images/space/space-craft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/space/space-craft.png -------------------------------------------------------------------------------- /images/space/space-food.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/space/space-food.png -------------------------------------------------------------------------------- /images/space/space-hard-copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/space/space-hard-copy.png -------------------------------------------------------------------------------- /images/space/space-ibm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/space/space-ibm.png -------------------------------------------------------------------------------- /images/space/space-mag-hold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/space/space-mag-hold.png -------------------------------------------------------------------------------- /images/space/space-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/space/space-screen.png -------------------------------------------------------------------------------- /images/space/space-toilet-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/space/space-toilet-1.png -------------------------------------------------------------------------------- /images/space/space-toilet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/space/space-toilet.png -------------------------------------------------------------------------------- /images/space/space-video-call.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/space/space-video-call.png -------------------------------------------------------------------------------- /images/space/space-voice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/space/space-voice.png -------------------------------------------------------------------------------- /images/stack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/stack.png -------------------------------------------------------------------------------- /images/streaming/aac-sbr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/streaming/aac-sbr.png -------------------------------------------------------------------------------- /images/streaming/adif.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/streaming/adif.png -------------------------------------------------------------------------------- /images/streaming/adts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/streaming/adts.png -------------------------------------------------------------------------------- /images/streaming/asc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/streaming/asc.png -------------------------------------------------------------------------------- /images/streaming/bitrate-latency-comparison.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/streaming/bitrate-latency-comparison.png -------------------------------------------------------------------------------- /images/streaming/he-aac-decoder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/streaming/he-aac-decoder.png -------------------------------------------------------------------------------- /images/streaming/he-aac-encoder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/streaming/he-aac-encoder.png -------------------------------------------------------------------------------- /images/streaming/latm-loas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/streaming/latm-loas.png -------------------------------------------------------------------------------- /images/streaming/mp4-3gpp-file-format.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/streaming/mp4-3gpp-file-format.png -------------------------------------------------------------------------------- /images/streaming/mpeg2-adts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/streaming/mpeg2-adts.png -------------------------------------------------------------------------------- /images/streaming/mpeg4-audio-decoder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/streaming/mpeg4-audio-decoder.png -------------------------------------------------------------------------------- /images/streaming/mpeg4-audio-object.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/streaming/mpeg4-audio-object.png -------------------------------------------------------------------------------- /images/streaming/mpeg4-transport.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/streaming/mpeg4-transport.png -------------------------------------------------------------------------------- /images/taiwan/臺灣民眾政黨偏好趨勢分佈.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/taiwan/臺灣民眾政黨偏好趨勢分佈.jpg -------------------------------------------------------------------------------- /images/taiwan/臺灣民眾統獨立場趨勢分佈.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/taiwan/臺灣民眾統獨立場趨勢分佈.jpg -------------------------------------------------------------------------------- /images/taiwan/臺灣民眾-臺灣人或中國人認同趨勢分佈.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/taiwan/臺灣民眾-臺灣人或中國人認同趨勢分佈.jpg -------------------------------------------------------------------------------- /images/turing/Bombe.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/turing/Bombe.jpg -------------------------------------------------------------------------------- /images/typesetting/編排膠片.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/typesetting/編排膠片.jpg -------------------------------------------------------------------------------- /images/vdpau/chromium-gpu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/vdpau/chromium-gpu.png -------------------------------------------------------------------------------- /images/vdpau/chromium-vaapi-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/vdpau/chromium-vaapi-linux.png -------------------------------------------------------------------------------- /images/vdpau/chromium-vaapi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/images/vdpau/chromium-vaapi.png -------------------------------------------------------------------------------- /machine-learning/cheatsheet.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Cheat Sheet 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 常見架構的圖示 10 | ======================================== 11 | 12 | .. image:: /images/learning/learning-architectures.png 13 | 14 | 15 | 16 | 參考 17 | ======================================== 18 | 19 | * `The Neural Network Zoo - The Asimov Institute `_ 20 | -------------------------------------------------------------------------------- /machine-learning/compiler/glow: -------------------------------------------------------------------------------- 1 | ../../compiler/cases/glow/ -------------------------------------------------------------------------------- /machine-learning/compiler/onnc: -------------------------------------------------------------------------------- 1 | ../../compiler/cases/onnc/ -------------------------------------------------------------------------------- /machine-learning/compiler/tvm: -------------------------------------------------------------------------------- 1 | ../../compiler/cases/tvm -------------------------------------------------------------------------------- /machine-learning/domain/healthcare.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Healthcare 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Stanford AI for Healthcare `_ 13 | -------------------------------------------------------------------------------- /machine-learning/domain/lip-reading.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Lip Reading 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Lip Reading - Cross Audio-Visual Recognition using 3D Architectures `_ 13 | -------------------------------------------------------------------------------- /machine-learning/domain/question-answering.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Question Answering 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `DrQA - Reading Wikipedia to Answer Open-Domain Questions `_ 13 | - Reading Wikipedia to Answer Open-Domain Questions 14 | -------------------------------------------------------------------------------- /machine-learning/library/chainer.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Chainer 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 介紹 10 | ======================================== 11 | 12 | :Repo: https://github.com/chainer/chainer 13 | 14 | 15 | 16 | 參考 17 | ======================================== 18 | -------------------------------------------------------------------------------- /machine-learning/library/spark.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Spark 3 | ======================================== 4 | 5 | * `Introduction to Spark `_ 6 | -------------------------------------------------------------------------------- /machine-learning/vendor/intel.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Intel & AI 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | OpenVINO toolkit 10 | ======================================== 11 | 12 | :site: https://software.intel.com/openvino-toolkit/ 13 | 14 | 15 | 16 | Deep Learning Inference Engine 17 | ======================================== 18 | 19 | :site: https://software.intel.com/inference-engine-devguide 20 | -------------------------------------------------------------------------------- /math/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 數學相關 3 | ======================================== 4 | 5 | * `誤差 `_ 6 | * `線性代數 `_ 7 | * `Libraries `_ 8 | * `Math on Web `_ 9 | * `Misc `_ 10 | -------------------------------------------------------------------------------- /math/math-on-web.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Math on Web 3 | ======================================== 4 | 5 | * `KaTeX - The fastest math typesetting library for the web `_ 6 | * `MathJax - Beautiful math in all browsers `_ 7 | -------------------------------------------------------------------------------- /memory/kernel-memory-management.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Kernel Memory Management 3 | ======================================== 4 | 5 | * `How the Kernel Manages Your Memory `_ 6 | -------------------------------------------------------------------------------- /memory/memory-hardware.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Memory Hardware 3 | ======================================== 4 | 5 | * `Wikipedia - Parallel random-access machine `_ 6 | * `Wikipedia - Non-volatile random-access memory `_ 7 | -------------------------------------------------------------------------------- /memory/memory-profiler.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Memory Profiler 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | Heaptrack 10 | ======================================== 11 | 12 | * `Heaptrack `_ 13 | * `Heaptrack v1.0.0 release `_ 14 | -------------------------------------------------------------------------------- /memory/memory.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Memory 3 | ======================================== 4 | 5 | Reference 6 | ======================================== 7 | 8 | * `Memory Management Reference `_ 9 | -------------------------------------------------------------------------------- /misc/archive.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Archive 3 | ======================================== 4 | 5 | * `The Malware Museum `_ 6 | -------------------------------------------------------------------------------- /misc/bandwidth.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 頻寬成本 3 | ======================================== 4 | 5 | 6 | 7 | 參考 8 | ======================================== 9 | 10 | * `CloudFlare 對 HiNet 成本的抱怨 (還有其他 ISP...) `_ 11 | * `CloudFlare - Bandwidth Costs Around the World `_ 12 | -------------------------------------------------------------------------------- /misc/bio-data-format.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Bio Data Format 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | BAM 10 | ======================================== 11 | 12 | 13 | 14 | MPEG-G 15 | ======================================== 16 | 17 | * 目標是取代 BAM 18 | * `On the MPEG-G alignment format `_ 19 | -------------------------------------------------------------------------------- /misc/bit-hacks.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Bit Hacks 3 | ======================================== 4 | 5 | 6 | 參考 7 | ======================================== 8 | 9 | * `Bit Twiddling Hacks `_ 10 | -------------------------------------------------------------------------------- /misc/cad.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | CAD (Computer-Aided Design) 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Reshaping computer-aided design `_ 13 | -------------------------------------------------------------------------------- /misc/calendar.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Calendar 3 | ======================================== 4 | 5 | * `Geek Calendar | 宅民曆 `_ 6 | -------------------------------------------------------------------------------- /misc/disk-encryption.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Disk Encryption 3 | ======================================== 4 | 5 | * `OpenBSD disk encryption `_ 6 | * `So I lost my OpenBSD FDE password `_ 7 | -------------------------------------------------------------------------------- /misc/esoteric_languages.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Esoteric Programming Language 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Wikipedia - Esoteric programming language `_ 13 | * `Esolang, the esoteric programming languages wiki `_ 14 | -------------------------------------------------------------------------------- /misc/floating-point.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Floating Point 3 | ======================================== 4 | 5 | * IEEE 754 6 | * `Floating Point Math `_ 7 | * `Printing Floating-Point Numbers `_ 8 | -------------------------------------------------------------------------------- /misc/forum.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Forum 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Discourse `_ 13 | - Ruby based 14 | * `NimForum `_ 15 | - Nim based 16 | -------------------------------------------------------------------------------- /misc/funny-sites.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Funny Sites 3 | ======================================== 4 | 5 | * `鳥獸戲畫製造機 `_ 6 | * `Classic Programmer Paintings `_ 7 | * `Nicky Case `_ 8 | - 有一些有趣的小東西 9 | -------------------------------------------------------------------------------- /misc/hexspeak.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Hexspeak 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 範例 10 | ======================================== 11 | 12 | * 0xDEADBEAF 13 | 14 | 15 | 16 | 參考 17 | ======================================== 18 | 19 | * `Hexspeak `_ 20 | -------------------------------------------------------------------------------- /misc/history.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 資訊相關歷史 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `History of Computing: Discovering Interactivity `_ 13 | -------------------------------------------------------------------------------- /misc/http-history.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | HTTP History 3 | ======================================== 4 | 5 | 6 | 參考 7 | ======================================== 8 | 9 | * `Journey to HTTP/2 `_ 10 | -------------------------------------------------------------------------------- /misc/images.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Images 3 | ======================================== 4 | 5 | * `Wrong Hands `_ 6 | -------------------------------------------------------------------------------- /misc/irc.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | IRC 3 | ======================================== 4 | 5 | * `IRCv3 `_ 6 | -------------------------------------------------------------------------------- /misc/keyboard.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Keyboard 3 | ======================================== 4 | 5 | AltGr 6 | ======================================== 7 | 8 | ``AltGr`` 是一個特殊的按鍵,出現於某些鍵盤上, 9 | 名稱來源是因為被 IBM 命為 Alternate Graphic, 10 | 根據不同的 keymap 可以打出不同的字, 11 | 例如丹麥的 keymap 可以用 ``AltGr + Shift + Q`` 打出 ``Ω`` 12 | -------------------------------------------------------------------------------- /misc/mail-system.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Mail System 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | Mail-in-a-Box 10 | ======================================== 11 | 12 | :URL: https://github.com/mail-in-a-box/mailinabox 13 | 14 | 這專案把現有數個郵件相關套件兜好包成一整套。 15 | -------------------------------------------------------------------------------- /misc/netflix.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Netflix 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | Force 1080p 10 | ======================================== 11 | 12 | * https://addons.mozilla.org/en-US/firefox/addon/force-1080p-netflix/ 13 | * https://github.com/vladikoff/netflix-1080p-firefox 14 | -------------------------------------------------------------------------------- /misc/origin.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 緣由 3 | ======================================== 4 | 5 | * `Why was the dollar sign chosen as the Unix shell prompt? `_ 6 | * `How and why are fast integers so fast in C99? `_ 7 | -------------------------------------------------------------------------------- /misc/papers.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Papers 3 | ======================================== 4 | 5 | * `Best Paper Awards in Computer Science (since 1996) `_ 6 | -------------------------------------------------------------------------------- /misc/remote-jobs.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 遠端工作 (Remote Jobs) 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 平台 10 | ======================================== 11 | 12 | * Remotive.io 13 | - 訂閱模式 14 | * Flex Jobs 15 | * PowerToFly 16 | * RemoteOK.io 17 | * Angel List 18 | * upwork 19 | -------------------------------------------------------------------------------- /misc/repo.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Interesting Repo 3 | ======================================== 4 | 5 | * `The Art of Command Line `_ 6 | -------------------------------------------------------------------------------- /misc/rocket.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 火箭 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `The Ultimate Apollo Guidance Computer Talk `_ 13 | - `Video `_ 14 | -------------------------------------------------------------------------------- /misc/sites.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Sites 3 | ======================================== 4 | 5 | * `Internet Archive: Digital Library of Free Books, Movies, Music & Wayback Machine `_ 6 | -------------------------------------------------------------------------------- /misc/software-updates.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Software Updates 3 | ======================================== 4 | 5 | * `Wikipedia - Over-the-air programming (OTA) `_ 6 | -------------------------------------------------------------------------------- /misc/taiwan-software.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 台灣軟體界 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `台灣軟體產業的現況 `_ 13 | -------------------------------------------------------------------------------- /misc/task-execution-framework.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Task Execution Framework 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | Taskcluster 10 | ======================================== 11 | 12 | :Docs: https://docs.taskcluster.net/ 13 | :GitHub: https://github.com/taskcluster 14 | 15 | 16 | 17 | 參考 18 | ======================================== 19 | -------------------------------------------------------------------------------- /misc/team-collaboration.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Team Collaboration 3 | ======================================== 4 | 5 | 6 | 知名的工具像是 Slack, 7 | 另外也有很多開源的替代方案: 8 | 9 | * `Rocket.Chat `_ 10 | -------------------------------------------------------------------------------- /misc/tools.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Tools 3 | ======================================== 4 | 5 | System Information 6 | ======================================== 7 | 8 | * `xsos - summarize system info from sosreports `_ 9 | - ``xsos -om`` 10 | - ``xsos -cln`` 11 | - ``xsos -a`` : all !!! 12 | 13 | 可以一次把很多系統資訊整理吐出來,感覺就是爽 (X 14 | -------------------------------------------------------------------------------- /misc/translation.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 翻譯 (Translation) 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Weblate - Web based translation tool with tight version control integration `_ 13 | -------------------------------------------------------------------------------- /misc/trash-talk.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 技術屁話 3 | ======================================== 4 | 5 | * 富二代演算法 6 | - 指該演算法有強力的預處理,造成該演算法不需要做什麼事 7 | -------------------------------------------------------------------------------- /misc/turing-complete.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Turing Complete 3 | ======================================== 4 | 5 | * `Accidentally Turing-Complete `_ 6 | -------------------------------------------------------------------------------- /misc/videos.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 一些 Talk 的影片 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 2017 - Servo Architecture: Safety and Performance 10 | ================================================= 11 | 12 | :URL: https://www.youtube.com/watch?v=an5abNFba4Q 13 | :Conf: linux.conf.au 14 | 15 | 大概在介紹 Servo 中的 Constellation 和 WebRender 的優勢, 16 | 後來介紹融合 Gecko 和 Servo 功能的 Project Quantum, 17 | 最後講述未來 Servo 的走向和目前在進行嘗試的領域。 18 | -------------------------------------------------------------------------------- /misc/windows-batch.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Windows Batch 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Guide to Windows Batch Scripting `_ 13 | * `Wikibook - Windows Batch Scripting `_ 14 | -------------------------------------------------------------------------------- /multimedia/bluetooth/aptx-hd.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | aptX HD 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 實做 10 | ======================================== 11 | 12 | * Qualcomm libaptXHD 13 | * `FFmpeg - libavcodec/aptx.c `_ 14 | 15 | 16 | 17 | 參考 18 | ======================================== 19 | -------------------------------------------------------------------------------- /multimedia/bluetooth/aptx.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | aptX 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 實做 10 | ======================================== 11 | 12 | * Qualcomm libaptX 13 | * `FFmpeg - libavcodec/aptx.c `_ 14 | 15 | 16 | 17 | 參考 18 | ======================================== 19 | -------------------------------------------------------------------------------- /multimedia/examples/gstreamer/rust/0-gst-hello/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target/ 3 | **/*.rs.bk 4 | -------------------------------------------------------------------------------- /multimedia/examples/gstreamer/rust/0-gst-hello/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "gst-hello" 3 | version = "0.1.0" 4 | authors = ["Chiu-Hsiang Hsu "] 5 | 6 | [dependencies] 7 | gstreamer = "0.11.1" 8 | -------------------------------------------------------------------------------- /multimedia/examples/gstreamer/rust/1-gst-specific-element/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target/ 3 | **/*.rs.bk 4 | -------------------------------------------------------------------------------- /multimedia/examples/gstreamer/rust/1-gst-specific-element/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "gst-hello" 3 | version = "0.1.0" 4 | authors = ["Chiu-Hsiang Hsu "] 5 | 6 | [dependencies] 7 | gstreamer = "0.11.1" 8 | -------------------------------------------------------------------------------- /multimedia/ffmpeg/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | FFmpeg 3 | ======================================== 4 | 5 | * `介紹 `_ 6 | * Encoder/Decoder 7 | * Muxer/Demuxer 8 | * 硬體加速 9 | * 語言 Binding 10 | - Python 11 | -------------------------------------------------------------------------------- /multimedia/gstreamer/cheatsheet.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | GStreamer Cheatsheet 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | -------------------------------------------------------------------------------- /multimedia/gstreamer/company.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | GStreamer 相關公司 3 | ======================================== 4 | 5 | 6 | * `Centricular `_ 7 | - 幾個工程師組成的小公司 8 | - 包含 GStreamer 的核心開發者 9 | - 注重 Open Source 10 | * `Collabora `_ 11 | * `Fluendo `_ 12 | * `RidgeRun `_ 13 | * Igalia 14 | 15 | * `Pexip `_ 16 | -------------------------------------------------------------------------------- /multimedia/gstreamer/player.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 播放器 (Player) 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | -------------------------------------------------------------------------------- /multimedia/gstreamer/web.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | GStreamer & 網頁顯示 (GStreamer & Web) 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | tcpserversink 10 | ======================================== 11 | -------------------------------------------------------------------------------- /multimedia/home-wireless-streaming/googlecast.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Google Cast 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | -------------------------------------------------------------------------------- /multimedia/home-wireless-streaming/gstreamer-home-wireless-streaming.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | GStreamer & 家用無線串流 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 介紹 10 | ======================================== 11 | 12 | 參考: `家用無線串流 `_ 13 | 14 | 15 | 16 | 參考 17 | ======================================== 18 | -------------------------------------------------------------------------------- /multimedia/image/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 圖像 (Image) 3 | ======================================== 4 | 5 | * 格式 6 | - BMP 7 | - JPEG 8 | - `PNG `_ 9 | - WebP 10 | - AVIF (AV1 Still Image File Format) 11 | 12 | * 操作 13 | 14 | * 實做 15 | - ImageMagicks 16 | - `Imageflow - 高效能圖像操作 (主打比 ImageMagicks 更安全更快速) `_ 17 | -------------------------------------------------------------------------------- /multimedia/midi.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | MIDI 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 介紹 10 | ======================================== 11 | 12 | :Site: https://www.midi.org/ 13 | 14 | 15 | 16 | 參考 17 | ======================================== 18 | 19 | * `Details about MIDI 2.0, MIDI-CI, Profiles and Property Exchange `_ 20 | -------------------------------------------------------------------------------- /multimedia/voice-detection/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 聲音偵測 (Voice Detection) 3 | ======================================== 4 | 5 | 6 | * GStreamer 聲音偵測 7 | 8 | * `LPCNet: DSP-Boosted Neural Speech Synthesis `_ 9 | -------------------------------------------------------------------------------- /network/c10k.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | C10K 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | -------------------------------------------------------------------------------- /network/c10m.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | C10M 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | -------------------------------------------------------------------------------- /network/ddos.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | DDoS 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `FastNetMon community - very fast DDoS analyzer with sflow/netflow/mirror support `_ 13 | -------------------------------------------------------------------------------- /network/distributed.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Distributed 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Programming Models for Distributed Computation `_ 13 | -------------------------------------------------------------------------------- /network/microservice.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Microservice 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `《微服務:從設計到部署》 `_ 13 | -------------------------------------------------------------------------------- /network/mqtt.rst: -------------------------------------------------------------------------------- 1 | ========================================== 2 | MQTT (Message Queuing Telemetry Transport) 3 | ========================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 介紹 10 | ======================================== 11 | 12 | publish/subscribe 13 | -------------------------------------------------------------------------------- /network/security-check.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 安全性檢查 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | TLS/SSL 10 | ======================================== 11 | 12 | :Repo: https://github.com/drwetter/testssl.sh 13 | -------------------------------------------------------------------------------- /network/tcp.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | TCP 3 | ======================================== 4 | 5 | .. contents:: 目錄 6 | 7 | 8 | 參考 9 | ======================================== 10 | 11 | * `mTCP: A Highly Scalable User-level TCP Stack for Multicore Systems `_ 12 | -------------------------------------------------------------------------------- /network/udp.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | UDP 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 系統相關設定 10 | ======================================== 11 | 12 | .. code-block:: sh 13 | 14 | sysctl net.ipv4.udp_mem 15 | sysctl net.ipv4.udp_rmem_min 16 | sysctl net.ipv4.udp_wmem_min 17 | sysctl net.core.rmem_max 18 | 19 | 20 | 21 | 參考 22 | ======================================== 23 | -------------------------------------------------------------------------------- /network/upnp.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | UPnP 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Wikipedia - UPnP (Universal Plug and Play) `_ 13 | * `GUPnP `_ 14 | -------------------------------------------------------------------------------- /network/webtorrent.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | WebTorrent 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `PeerTube `_ 13 | -------------------------------------------------------------------------------- /operating-system/archlinux: -------------------------------------------------------------------------------- 1 | cases/linux/distros/archlinux/ -------------------------------------------------------------------------------- /operating-system/cases/android/android-images.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Android Images 3 | ======================================== 4 | 5 | * `Android developer preview `_ 6 | * `Android images `_ 7 | -------------------------------------------------------------------------------- /operating-system/cases/android/cheat-sheet.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Android Cheat Sheet 3 | ======================================== 4 | 5 | * `Android Activity Manager (am) Cheat Sheet `_ 6 | -------------------------------------------------------------------------------- /operating-system/cases/android/google-project-butter.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Google Project Butter 3 | ======================================== 4 | 5 | *奶油計劃* 6 | 7 | Project Butter 是 Android 4.1 當中一個重要的特點, 8 | 目的是要提升 Android 的使用者體驗, 9 | 讓 Android 可以像奶油般滑順, 10 | 其中包含: 11 | 12 | * 三個 buffer 13 | * VSync (提升 GUI 效能和 frame rates 提升到 60 Hz) 14 | * 處控反應優化 (預測使用者可能的 event,提升 load time) 15 | -------------------------------------------------------------------------------- /operating-system/cases/android/hal.rst: -------------------------------------------------------------------------------- 1 | ============================================= 2 | 硬體抽象層 (HAL) (Hardware Abstraction Layer) 3 | ============================================= 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Android Interfaces and Architecture `_ 13 | * `HAL Interface Description Language (HIDL) `_ 14 | -------------------------------------------------------------------------------- /operating-system/cases/android/porting-to-new-hardware.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 移植到新硬體 (Porting to new Hardware) 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Android Porting `_ 13 | -------------------------------------------------------------------------------- /operating-system/cases/dragonflybsd/dragonflybsd.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | DragonFlyBSD 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `10 years with DragonFlyBSD network stack `_ 13 | -------------------------------------------------------------------------------- /operating-system/cases/linux/application/gimp.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Gimp 3 | ======================================== 4 | 5 | Themes 6 | ======================================== 7 | 8 | * `Gimpshop `_ 9 | * `Gimpshop Pro `_ 10 | -------------------------------------------------------------------------------- /operating-system/cases/linux/boot-time-tweaking.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Boot Time Tweaking 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * [2019] `Linux Kernel Fastboot On the Way `_ 13 | -------------------------------------------------------------------------------- /operating-system/cases/linux/build-your-own-linux/README.rst: -------------------------------------------------------------------------------- 1 | ============================================ 2 | 建立自己的 Linux 系統 (Build Your Own Linux) 3 | ============================================ 4 | 5 | 選擇: 6 | 7 | * Linux From Scratch 8 | * Open Embedded 9 | * `Yocto `_ 10 | * `Buildroot `_ 11 | * OpenBricks 12 | 13 | 14 | 參考: 15 | 16 | * `eLinux - Build Systems `_ 17 | -------------------------------------------------------------------------------- /operating-system/cases/linux/ci.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Linux kernel CI 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Kernel CI Dashboard `_ 13 | -------------------------------------------------------------------------------- /operating-system/cases/linux/dd.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | dd 3 | ======================================== 4 | 5 | .. code-block:: sh 6 | 7 | $ dd if=/dev/zero of=/tmp/swapfile bs=1M count=1024 8 | 9 | # display progress 10 | $ sudo dd if=xxx.iso of=/dev/sdb status=progress 11 | -------------------------------------------------------------------------------- /operating-system/cases/linux/distros/archlinux/speech.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Speech for Arch 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Arch Wiki - TakingArch `_ 13 | - 針對盲人的安裝版本 14 | -------------------------------------------------------------------------------- /operating-system/cases/linux/distros/archlinux/video-audio-through-hdmi.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 利用 HDMI 播放影音 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 影像 10 | ======================================== 11 | 12 | xrandr 就可處理 13 | 14 | 15 | 16 | 聲音 17 | ======================================== 18 | 19 | :: 20 | 21 | pavucontrol -> "Configuration" -> "Digital Stereo (HDMI) Output" 22 | -------------------------------------------------------------------------------- /operating-system/cases/linux/hotplug-cpu.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Hotplug CPU 3 | ======================================== 4 | 5 | * `Linux Hotplug a CPU and Disable CPU Cores At Run Time `_ 6 | -------------------------------------------------------------------------------- /operating-system/cases/linux/kernel/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Linux Kernel 3 | ======================================== 4 | 5 | 6 | * Linux kernel 4.18 7 | * Linux kernel 4.19 8 | * `Linux kernel 4.20 `_ 9 | -------------------------------------------------------------------------------- /operating-system/cases/linux/librt.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | librt 3 | ======================================== 4 | 5 | librt.so : realtime functions in glibc 6 | -------------------------------------------------------------------------------- /operating-system/cases/linux/linux-porting.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Linux Porting 3 | ======================================== 4 | 5 | * `Porting Linux to a new processor architecture, part 1: The basics `_ 6 | * `Porting Linux to a new processor architecture, part 2: The early code `_ 7 | -------------------------------------------------------------------------------- /operating-system/cases/linux/modemmanager.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | ModemManager 3 | ======================================== 4 | 5 | * `ModemManager `_ 6 | -------------------------------------------------------------------------------- /operating-system/cases/linux/resource.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 資源 3 | ======================================== 4 | 5 | * `Linux Cheat - Linux tutorials and cheatsheets. Minimal examples. Mostly user-land CLI utilities `_ 6 | -------------------------------------------------------------------------------- /operating-system/cases/linux/security/selinux.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | SELinux 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `The SELinux coloring book `_ 13 | - [GitHub] `selinux-coloring-book `_ 14 | -------------------------------------------------------------------------------- /operating-system/cases/linux/sendfile.rst: -------------------------------------------------------------------------------- 1 | ================================================= 2 | sendfile - transfer data between file descriptors 3 | ================================================= 4 | 5 | * man 2 sendfile 6 | * `Nginx Optimization: understanding sendfile, tcp_nodelay and tcp_nopush `_ 7 | -------------------------------------------------------------------------------- /operating-system/cases/linux/start-up.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Linux Program Start Up 3 | ======================================== 4 | 5 | * `Linux x86 Program Start Up - How the heck do we get to main()? `_ 6 | -------------------------------------------------------------------------------- /operating-system/cases/linux/tracing.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Tracing 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Linux Tracing Workshops `_ 13 | - perf 14 | - BPF 15 | - bcc 16 | - systemtap 17 | -------------------------------------------------------------------------------- /operating-system/cases/linux/ubuntu.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Ubuntu 3 | ======================================== 4 | 5 | * `KDE neon `_ 6 | - 提供較新的 KDE 相關套件 7 | 8 | * `ppa:ubuntu-toolchain-r/ppa `_ 9 | - 提供較新的 gcc/binutils 等等 10 | -------------------------------------------------------------------------------- /operating-system/cases/linux/zram.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | zram 3 | ======================================== 4 | 5 | zram 是 Linux kernel 中提供 virtual memory compression 的 feature (在 Linux kernel 3.14 被 merge 進去), 6 | 用於減少 paging 到硬碟。 7 | 8 | * `Wikipedia - zram `_ 9 | -------------------------------------------------------------------------------- /operating-system/cases/openbsd/openbsd.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | OpenBSD 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `2017 - OpenBSD vmm/vmd Update `_ 13 | -------------------------------------------------------------------------------- /operating-system/history.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 作業系統相關歷史 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `[2018/10/31] The History of Unix, Rob Pike `_ 13 | -------------------------------------------------------------------------------- /operating-system/topics/kernel-testing.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Kernel 測試 (Kernel Testing) 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 介紹 10 | ======================================== 11 | 12 | * 如何為 Kernel 撰寫測試程式 13 | 14 | 15 | 16 | 參考 17 | ======================================== 18 | 19 | * `Automated Linux Kernel Testing `_ 20 | -------------------------------------------------------------------------------- /operating-system/topics/kernel/resource.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 資源 3 | ======================================== 4 | 5 | * `x86 Bare Metal Examples `_ 6 | * `x86 Assembly Cheat `_ 7 | * `Linux Kernel Module Cheat `_ 8 | -------------------------------------------------------------------------------- /operating-system/topics/m-n-threading.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | M:N Threading 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * SwitchTo 13 | * UMCG (User Managed Concurrency Groups) 14 | - https://lore.kernel.org/patchwork/cover/1433967/#1632328 15 | -------------------------------------------------------------------------------- /operating-system/topics/rtos/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | RTOS (Real Time Operating System) 3 | ======================================== 4 | 5 | * Dual-kernel Real-time 6 | -------------------------------------------------------------------------------- /operating-system/topics/rtos/realtime-linux.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Real Time Linux 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `2017 - Inside Real-Time Linux `_ 13 | -------------------------------------------------------------------------------- /operating-system/topics/rtos/realtime.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Real Time Programming 3 | ======================================== 4 | 5 | * `Real-Time Programming `_ 6 | -------------------------------------------------------------------------------- /operating-system/topics/signal.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Signal 3 | ======================================== 4 | 5 | SIGILL 6 | ======================================== 7 | 8 | SIGILL => 4 9 | 10 | * `Illegal Instruction 錯誤初窺 `_ 11 | -------------------------------------------------------------------------------- /parallel/mpi/examples/Makefile: -------------------------------------------------------------------------------- 1 | CC=mpicc 2 | CFLAGS=-Wall -Wextra -O3 3 | BIN_DIR=bin 4 | 5 | %: %.c prepare 6 | $(CC) $(CFLAGS) $< -o $(BIN_DIR)/$@ 7 | 8 | prepare: 9 | mkdir -p $(BIN_DIR) 10 | -------------------------------------------------------------------------------- /parallel/resource.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 平行化相關資源 3 | ======================================== 4 | 5 | LLNL (Lawrence Livermore National Laboratory) 6 | 7 | * `Introduction to Parallel Computing `_ 8 | * `OpenMP `_ 9 | * `Message Passing Interface (MPI) `_ 10 | -------------------------------------------------------------------------------- /pdf/learning/Cheat Sheet: Algorithms for Supervised and Unsupervised Learning.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/pdf/learning/Cheat Sheet: Algorithms for Supervised and Unsupervised Learning.pdf -------------------------------------------------------------------------------- /pdf/learning/Machine Learning Cheat Sheet - Classical equations, diagrams and tricks in machine learning.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/pdf/learning/Machine Learning Cheat Sheet - Classical equations, diagrams and tricks in machine learning.pdf -------------------------------------------------------------------------------- /pdf/learning/Microsoft Machine Learning Algorithm Cheat Sheet.v6.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/pdf/learning/Microsoft Machine Learning Algorithm Cheat Sheet.v6.pdf -------------------------------------------------------------------------------- /programming-language/cases/agda/resource.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Agda 相關資源 3 | ======================================== 4 | 5 | * `Agda Documentation `_ 6 | * `Learn you An Agda And Achieve Enlightenment `_ 7 | * `Agda by Example: Sorting `_ 8 | * `Literate Agda `_ 9 | -------------------------------------------------------------------------------- /programming-language/cases/awk/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | AWK 3 | ======================================== 4 | 5 | * 實做 6 | - BWK awk (nawk) 7 | - GNU awk (gawk) 8 | - mawk 9 | - libmawk 10 | - awka 11 | - Thompson AWK (tawk) 12 | - Jawk 13 | - xgawk 14 | - QSEAWK 15 | - BusyBox AWK 16 | - `GoAWK - AWK interpreter in Go `_ 17 | -------------------------------------------------------------------------------- /programming-language/cases/c/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | C 3 | ======================================== 4 | -------------------------------------------------------------------------------- /programming-language/cases/c/c.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | C 3 | ======================================== 4 | 5 | - `C - Wikipedia `_ 6 | 7 | C11 8 | ======================================== 9 | 10 | - `C11 - Wikipedia `_ 11 | - `N1570, the final draft of C1X, dated 12 April 2011 `_ 12 | -------------------------------------------------------------------------------- /programming-language/cases/c/cheat-sheet.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | C Cheat Sheet 3 | ======================================== 4 | 5 | * `C Reference Cheat Sheet `_ 6 | -------------------------------------------------------------------------------- /programming-language/cases/c/exception.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Exceptions in C 3 | ======================================== 4 | 5 | * `Exceptions in C with Longjmp and Setjmp `_ 6 | -------------------------------------------------------------------------------- /programming-language/cases/c/features.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Some C's features 3 | ======================================== 4 | 5 | Restricted Pointers (C99) 6 | ======================================== 7 | -------------------------------------------------------------------------------- /programming-language/cases/c/mmap.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | mmap 3 | ======================================== 4 | 5 | * `jmoiron - mmap(2) `_ 6 | -------------------------------------------------------------------------------- /programming-language/cases/c/undefine-behavior.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Undefined Behavior 3 | ======================================== 4 | 5 | * `A Guide to Undefined Behavior in C and C++, Part 1 `_ 6 | -------------------------------------------------------------------------------- /programming-language/cases/clojure/resource.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Clojure 相關資源 3 | ======================================== 4 | 5 | Clojure 是一個 Lisp 的方言, 6 | 可以執行在 JVM、CLR 之上或轉成 JavaScript。 7 | 8 | 9 | * `Clojure - Cheat Sheet `_ 10 | * `Typed Clojure - An optional type system for Clojure `_ 11 | * `Typed Clojure in Theory and Practice `_ 12 | -------------------------------------------------------------------------------- /programming-language/cases/cpp/64bits-problem.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 64 Bits Problem 3 | ======================================== 4 | 5 | * `Why A + B != A - (-B) `_ 6 | * `A Collection of Examples of 64-bit Errors in Real Programs `_ 7 | -------------------------------------------------------------------------------- /programming-language/cases/cpp/assembly.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | C++ & Assembly 3 | ======================================== 4 | 5 | * `Stupid Template Tricks: Template Assembler `_ 6 | -------------------------------------------------------------------------------- /programming-language/cases/cpp/coroutine.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | C++ Coroutine 3 | ======================================== 4 | 5 | * `Boost.Coroutine `_ 6 | * `Coroutines in C++ `_ 7 | * `C++ Coroutines: Understanding the promise type | Asymmetric Transfer `_ 8 | -------------------------------------------------------------------------------- /programming-language/cases/cpp/cpp-core-guidelines.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | C++ Core Guidelines 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 介紹 10 | ======================================== 11 | 12 | :Site: https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines.html 13 | :Repo: https://github.com/isocpp/CppCoreGuidelines 14 | -------------------------------------------------------------------------------- /programming-language/cases/cpp/docs.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | C++ Documentation 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `hyde - parses C++ sources to produce and enforce out-of-line documentation `_ 13 | -------------------------------------------------------------------------------- /programming-language/cases/cpp/examples/virtual-and-cast.log: -------------------------------------------------------------------------------- 1 | ===== Derived 2 | Derived (Virtual) 3 | Derived (Non-Virtual) 4 | ===== Derived with static_cast 5 | Base (Virtual) 6 | Base (Non-Virutal) 7 | ===== Derived with static_cast 8 | Derived (Virtual) 9 | Base (Non-Virutal) 10 | ===== Derived with func1(Base&) 11 | Derived (Virtual) 12 | Base (Non-Virutal) 13 | ===== Derived with static_cast(func1(Base&)) 14 | Derived (Virtual) 15 | Derived (Non-Virtual) 16 | -------------------------------------------------------------------------------- /programming-language/cases/cpp/expression-templates.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Expression Templates 3 | ======================================== 4 | 5 | 藉由紀錄資料中間的操作來減少計算中需要的暫時物件 (例如 vector), 6 | 例如三個 vector a, b, c 相加, 7 | 一般會先做 a + b 產生出暫時的 vector 後, 8 | 再加上 c 產生出最後的 vector, 9 | 而在 Expression Templates 下會直接對每個元素做 a + b + c 的運算, 10 | 避免中間產生的暫時 vector。 11 | 12 | * `Wikipedia - Expression templates `_ 13 | -------------------------------------------------------------------------------- /programming-language/cases/cpp/history.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | C++ History 3 | ======================================== 4 | 5 | * `A Brief History of C++ `_ 6 | -------------------------------------------------------------------------------- /programming-language/cases/cpp/macro.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Macro 3 | ======================================== 4 | 5 | * `Higher Order Macros in C++ `_ 6 | -------------------------------------------------------------------------------- /programming-language/cases/cpp/misc.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | C++ Misc 3 | ======================================== 4 | 5 | * `Current Status : Standard C++ `_ 6 | * `GotW - Guru of the Week `_ 7 | * `C++ Quiz: are you a code guru? `_ 8 | * `Collaborative Collection of C++ Best Practices `_ 9 | -------------------------------------------------------------------------------- /programming-language/cases/cpp/optimizations.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | C++ Optimizations 3 | ======================================== 4 | 5 | * `C++ Optimization Strategies and Techniques `_ 6 | -------------------------------------------------------------------------------- /programming-language/cases/cpp/parallel.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | C++ - Parallel 3 | ======================================== 4 | 5 | Reference 6 | ======================================== 7 | 8 | * `GNU - libstdc++ - Parallel Mode `_ 9 | - ``-fopenmp`` 10 | -------------------------------------------------------------------------------- /programming-language/cases/cpp/repl.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | C++ REPL 3 | ======================================== 4 | 5 | * `Cling - interactive C++ interpreter, built on the top of LLVM and Clang `_ 6 | * `Cxx.jl - The Julia C++ Interface (with C++ REPL) `_ 7 | -------------------------------------------------------------------------------- /programming-language/cases/cpp/size_t-ptrdiff_t.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | About size_t and ptrdiff_t 3 | ======================================== 4 | 5 | .. image:: /images/cpp/data-model.png 6 | 7 | * `About size_t and ptrdiff_t `_ 8 | - size_t 和 ptrdiff_t 比較安全、portable 9 | - 對於 64 bits 的平台甚至可能有 10% 的效能提升 10 | - 全面套用不適合 11 | - 重構需要努力 12 | -------------------------------------------------------------------------------- /programming-language/cases/cpp/standard-library-implementation.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Standard Library Implementation 3 | ======================================== 4 | 5 | * `libstdc++ - The GNU C++ Library `_ 6 | * `libc++ - LLVM C++ Standard Library `_ 7 | -------------------------------------------------------------------------------- /programming-language/cases/cpp/stl.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | C++ STL 3 | ======================================== 4 | 5 | 6 | ======================================== 7 | 8 | rotate 9 | ------------------------------ 10 | 11 | * `C++ Reference - rotate `_ 12 | 13 | 把 container 內的兩區塊做 swap 14 | -------------------------------------------------------------------------------- /programming-language/cases/cpp/temporary-objects.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Temporary Objects 3 | ======================================== 4 | 5 | * `GotW #2 Solution: Temporary Objects `_ 6 | -------------------------------------------------------------------------------- /programming-language/cases/cpp/thread.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | C++ Thread 3 | ======================================== 4 | 5 | pthread 6 | ======================================== 7 | 8 | 9 | ======================================== 10 | 11 | openmp 12 | ======================================== 13 | -------------------------------------------------------------------------------- /programming-language/cases/erlang/resource.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Erlang 相關資源 3 | ======================================== 4 | 5 | * `BEAM Wisdoms `_ 6 | - BEAM VM 相關的解釋 7 | * `Languages, and about languages, on the BEAM `_ 8 | * `Erlang Performance Lab `_ 9 | - 把 BEAM VM 的資訊整理成漂亮的 GUI 呈現 10 | -------------------------------------------------------------------------------- /programming-language/cases/fortran/fortran.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Fortran 3 | ======================================== 4 | 5 | * `This Is Not Your Father’s FORTRAN `_ 6 | -------------------------------------------------------------------------------- /programming-language/cases/go/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Go 3 | ======================================== 4 | 5 | * 實做 6 | - `官方 `_ 7 | - `TinyGo - Go compiler for microcontrollers `_ 8 | - `Emgo - Bare metal Go `_ 9 | -------------------------------------------------------------------------------- /programming-language/cases/javascript/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | JavaScript 3 | ======================================== 4 | 5 | * 實做 6 | - V8 7 | - SpiderMonkey 8 | - JavaScriptCore 9 | - Chakra 10 | * 變種語言 11 | - `TypeScript `_ 12 | -------------------------------------------------------------------------------- /programming-language/cases/javascript/spidermonkey.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | SpiderMonkey 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Mozilla - JavaScript Blog `_ 13 | -------------------------------------------------------------------------------- /programming-language/cases/javascript/v8.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | V8 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `V8 Blog `_ 13 | * `Understanding V8's Bytecode `_ 14 | -------------------------------------------------------------------------------- /programming-language/cases/php/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | PHP 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `References in PHP: An Indepth Look `_ 13 | -------------------------------------------------------------------------------- /programming-language/cases/prolog/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Prolog 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 影響 10 | ======================================== 11 | 12 | * Erlang 13 | - 語法受 Prolog 影響很深 14 | - 早期是用 Prolog 實做 15 | 16 | 17 | 18 | 參考 19 | ======================================== 20 | 21 | * `Wikipedia - Prolog `_ 22 | -------------------------------------------------------------------------------- /programming-language/cases/python/ast.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Python AST 3 | ======================================== 4 | 5 | AST Optimization 6 | ======================================== 7 | 8 | * `AST Optimization: inlining of function calls `_ 9 | * `Build-out an AST optimizer, moving some functionality out of the peephole optimizer `_ 10 | -------------------------------------------------------------------------------- /programming-language/cases/python/contextlib.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | contextlib 3 | ======================================== 4 | 5 | * `Redirecting all kinds of stdout in Python ` 6 | * `Python - contextlib `_ 7 | -------------------------------------------------------------------------------- /programming-language/cases/python/deprecated.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Some Deprecated Things 3 | ======================================== 4 | 5 | use "argparse" instead of "optparse" 6 | ======================================== 7 | 8 | ``optparse`` is deprecated since version 2.7 9 | 10 | * https://argparse.googlecode.com/svn/trunk/doc/argparse-vs-optparse.html 11 | -------------------------------------------------------------------------------- /programming-language/cases/python/examples/celery-and-django/test_celery/manage.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | import os 3 | import sys 4 | 5 | if __name__ == "__main__": 6 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test_celery.settings") 7 | 8 | from django.core.management import execute_from_command_line 9 | 10 | execute_from_command_line(sys.argv) 11 | -------------------------------------------------------------------------------- /programming-language/cases/python/examples/celery-and-django/test_celery/myapp/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/programming-language/cases/python/examples/celery-and-django/test_celery/myapp/__init__.py -------------------------------------------------------------------------------- /programming-language/cases/python/examples/celery-and-django/test_celery/myapp/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | # Register your models here. 4 | -------------------------------------------------------------------------------- /programming-language/cases/python/examples/celery-and-django/test_celery/myapp/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class MyappConfig(AppConfig): 5 | name = 'myapp' 6 | -------------------------------------------------------------------------------- /programming-language/cases/python/examples/celery-and-django/test_celery/myapp/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/programming-language/cases/python/examples/celery-and-django/test_celery/myapp/migrations/__init__.py -------------------------------------------------------------------------------- /programming-language/cases/python/examples/celery-and-django/test_celery/myapp/models.py: -------------------------------------------------------------------------------- 1 | from django.db import models 2 | 3 | # Create your models here. 4 | class Test(models.Model): 5 | number = models.IntegerField(default=42) 6 | -------------------------------------------------------------------------------- /programming-language/cases/python/examples/celery-and-django/test_celery/myapp/tasks.py: -------------------------------------------------------------------------------- 1 | from celery import shared_task 2 | 3 | @shared_task 4 | def task1(): 5 | print(42) 6 | 7 | @shared_task 8 | def task2(model): 9 | model.number += 1 10 | model.save() 11 | -------------------------------------------------------------------------------- /programming-language/cases/python/examples/celery-and-django/test_celery/myapp/templates/myapp/test_form.html: -------------------------------------------------------------------------------- 1 |
{% csrf_token %}{{ form.as_p }}
2 | -------------------------------------------------------------------------------- /programming-language/cases/python/examples/celery-and-django/test_celery/myapp/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /programming-language/cases/python/examples/celery-and-django/test_celery/myapp/urls.py: -------------------------------------------------------------------------------- 1 | from django.conf.urls import patterns, url 2 | from .views import TestDetail, TestCreate 3 | 4 | urlpatterns = [ 5 | url(r'^(?P\d+)$', TestDetail.as_view(), name='test_detail'), 6 | url(r'^$', TestCreate.as_view(), name='test_create'), 7 | ] 8 | -------------------------------------------------------------------------------- /programming-language/cases/python/examples/celery-and-django/test_celery/requirements.txt: -------------------------------------------------------------------------------- 1 | django 2 | celery 3 | -------------------------------------------------------------------------------- /programming-language/cases/python/examples/celery-and-django/test_celery/test_celery/__init__.py: -------------------------------------------------------------------------------- 1 | # This will make sure the app is always imported when 2 | # Django starts so that shared_task will use this app. 3 | from .celery import app as celery_app # noqa 4 | -------------------------------------------------------------------------------- /programming-language/cases/python/examples/cpython/01-hello-world/Makefile: -------------------------------------------------------------------------------- 1 | CC=clang 2 | PYTHON_VERSION=$(shell python --version | grep -o '[[:digit:]]\.[[:digit:]]') 3 | CFLAGS=-Wall -Wextra -O3 -fPIC --shared -I /usr/include/python$(PYTHON_VERSION)m/ 4 | 5 | all: 01_hellomodule 02_hellomodule 03_hellomodule 04_hellomodule 6 | 7 | %: %.c 8 | $(CC) $(CFLAGS) $< -o hello.so 9 | -------------------------------------------------------------------------------- /programming-language/cases/python/examples/fibo_iter.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # -*- coding: utf-8 -*- 3 | 4 | from itertools import repeat 5 | 6 | fibo_iter = map(lambda _, a=[-1, 1]: a.append(a.pop(0)+a[0]) or a[1], repeat(0)) 7 | -------------------------------------------------------------------------------- /programming-language/cases/python/examples/py.test/conventions/mymodule_test.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | 4 | class TestMyModule: 5 | ''' 6 | ``Test`` prefix 7 | ''' 8 | 9 | def test_f(self): 10 | ''' 11 | ``test_`` prefix 12 | ''' 13 | 14 | pass 15 | -------------------------------------------------------------------------------- /programming-language/cases/python/examples/py.test/conventions/test_mymodule.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | 4 | class TestMyModule: 5 | ''' 6 | ``Test`` prefix 7 | ''' 8 | 9 | def test_f(self): 10 | ''' 11 | ``test_`` prefix 12 | ''' 13 | 14 | pass 15 | -------------------------------------------------------------------------------- /programming-language/cases/python/examples/py.test/custom/mypkg/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/programming-language/cases/python/examples/py.test/custom/mypkg/__init__.py -------------------------------------------------------------------------------- /programming-language/cases/python/examples/py.test/custom/mypkg/mymodule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/programming-language/cases/python/examples/py.test/custom/mypkg/mymodule.py -------------------------------------------------------------------------------- /programming-language/cases/python/examples/py.test/custom/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/programming-language/cases/python/examples/py.test/custom/setup.py -------------------------------------------------------------------------------- /programming-language/cases/python/examples/py.test/custom/tests/conftest.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.fixture() 5 | def myitem(): 6 | return "this is my item" 7 | 8 | def pytest_assertrepr_compare(op, left, right): 9 | if isinstance(left, int) and isinstance(right, int) and op == "==": 10 | return ['Comparing number:', 11 | ' vals: %s != %s' % (left, right)] 12 | -------------------------------------------------------------------------------- /programming-language/cases/python/examples/py.test/custom/tests/test_mymodule.py: -------------------------------------------------------------------------------- 1 | def test_myitem(myitem): 2 | assert myitem == "this is my item" 3 | 4 | def test_myint(): 5 | assert 1 == 0 6 | -------------------------------------------------------------------------------- /programming-language/cases/python/examples/py.test/example1.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | ''' 4 | you can use this command to run specific Python code: 5 | 6 | ..code-block:: python 7 | 8 | py.test example1.py 9 | 10 | ''' 11 | 12 | 13 | def f(x): 14 | return x + 1 15 | 16 | 17 | def test_f(): 18 | assert f(0) == 1 19 | -------------------------------------------------------------------------------- /programming-language/cases/python/examples/py.test/example2_exception.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | ''' 4 | you can use ``py.test -x`` to stop after first failure, 5 | or use ``py.test --maxfail=N`` to stop after N failures. 6 | ''' 7 | 8 | import pytest 9 | 10 | 11 | def f(): 12 | raise SystemExit(1) 13 | 14 | 15 | def test_f_fail(): 16 | f() 17 | 18 | 19 | def test_f_pass(): 20 | with pytest.raises(SystemExit): 21 | f() 22 | -------------------------------------------------------------------------------- /programming-language/cases/python/examples/py.test/example3_class.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | ''' 4 | test cases will be discovered by py.test by Python testing conventions 5 | ''' 6 | 7 | 8 | class TestClass: 9 | def test_f(self): 10 | assert 42 == 42 11 | 12 | def test_g(self): 13 | assert " hello ".strip() == "hello" 14 | -------------------------------------------------------------------------------- /programming-language/cases/python/examples/py.test/example4_resource.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | ''' 4 | Use specific argument names to pass in resources automatically. 5 | Use ``py.test --fixtures`` to show what you can use. 6 | ''' 7 | 8 | 9 | def test_f(tmpdir): 10 | ''' 11 | tmpdir 12 | ''' 13 | 14 | print("temporary directory", tmpdir) 15 | assert False 16 | -------------------------------------------------------------------------------- /programming-language/cases/python/examples/py.test/layout1/mypkg/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/programming-language/cases/python/examples/py.test/layout1/mypkg/__init__.py -------------------------------------------------------------------------------- /programming-language/cases/python/examples/py.test/layout1/mypkg/mymodule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/programming-language/cases/python/examples/py.test/layout1/mypkg/mymodule.py -------------------------------------------------------------------------------- /programming-language/cases/python/examples/py.test/layout1/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/programming-language/cases/python/examples/py.test/layout1/setup.py -------------------------------------------------------------------------------- /programming-language/cases/python/examples/py.test/layout1/tests/test_mymodule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/programming-language/cases/python/examples/py.test/layout1/tests/test_mymodule.py -------------------------------------------------------------------------------- /programming-language/cases/python/examples/py.test/layout2/mypkg/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/programming-language/cases/python/examples/py.test/layout2/mypkg/__init__.py -------------------------------------------------------------------------------- /programming-language/cases/python/examples/py.test/layout2/mypkg/mymodule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/programming-language/cases/python/examples/py.test/layout2/mypkg/mymodule.py -------------------------------------------------------------------------------- /programming-language/cases/python/examples/py.test/layout2/mypkg/test/test_mymodule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/programming-language/cases/python/examples/py.test/layout2/mypkg/test/test_mymodule.py -------------------------------------------------------------------------------- /programming-language/cases/python/examples/py.test/layout2/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wdv4758h/notes/986cbd10b79b644c1a22a8a8426f14a016290500/programming-language/cases/python/examples/py.test/layout2/setup.py -------------------------------------------------------------------------------- /programming-language/cases/python/hardware.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Python & Hardware 3 | ======================================== 4 | 5 | * `Python Hardware Processor - a Hardware Processer written in Myhdl which executes very simple python code `_ 6 | * `PyHDI: Python-based Hardware Development Infrastructure `_ 7 | -------------------------------------------------------------------------------- /programming-language/cases/python/packages.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Some Packages 3 | ======================================== 4 | 5 | * `tablib `_ 6 | - JSON, YAML, DBF, CSV to XLSX, XLS, ODS, JSON, YAML, DBF, CSV, TSV, HTML 7 | -------------------------------------------------------------------------------- /programming-language/cases/python/parser.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Parser in Python 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Parse - parser based on Python format() syntax `_ 13 | * `Lark - a modern parsing library for Python `_ 14 | * PLY 15 | * PyParsing 16 | -------------------------------------------------------------------------------- /programming-language/cases/python/porting.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 遷移至 Python 3 3 | ======================================== 4 | 5 | 有些現成的專案是使用 Python 2 寫的, 6 | 但是現在 Python 的新發展都放在 Python 3, 7 | 想要把 Python 2 的專案遷移到 Python 3 可以很簡單也可以很困難, 8 | 端看專案裡的 code, 9 | 最簡單的只要用 ``2to3`` 這個官方工具轉換一下後就差不多完成了, 10 | 有些還需要做更多的處理, 11 | 這邊有個叫 `Supporting Python 3 `_ 12 | 的網站蒐集了一些 Python 2 轉移到 Python 3 需要注意的事情和資源可以參考。 13 | -------------------------------------------------------------------------------- /programming-language/cases/python/python-3.7.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Python 3.7 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | import time 測量 10 | ======================================== 11 | 12 | .. code-block:: sh 13 | 14 | python3.7 -X importtime -c 'import MODULE' 15 | 16 | .. code-block:: sh 17 | 18 | env PYTHONPROFILEIMPORTTIME=1 MY_PYTHON_APPLICATION 19 | -------------------------------------------------------------------------------- /programming-language/cases/ruby/symbol.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Ruby Symbol 3 | ======================================== 4 | 5 | * `13 Ways of Looking at a Ruby Symbol `_ 6 | -------------------------------------------------------------------------------- /programming-language/cases/rust/adoption/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 業界採用狀況 (Adoption) 3 | ======================================== 4 | 5 | 6 | 某間公司的某個專案有採用其實不代表什麼, 7 | 但是從不斷累積的專案選用原因可以看出語言具有優勢領域 8 | 9 | 10 | * `Rust Users in Production `_ 11 | * Mozilla 12 | * Dropbox 13 | * CloudFlare 14 | -------------------------------------------------------------------------------- /programming-language/cases/rust/adoption/servo.rst: -------------------------------------------------------------------------------- 1 | ../../../../browser/servo.rst -------------------------------------------------------------------------------- /programming-language/cases/rust/edition/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Rust Edition 3 | ======================================== 4 | 5 | * `The Edition Guide `_ 6 | * `Rust 2015 `_ 7 | * `Rust 2018 `_ 8 | * `Rust 2021 `_ 9 | -------------------------------------------------------------------------------- /programming-language/cases/rust/edition/edition-2015.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Rust Edition 2015 - Stability 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 說明 10 | ======================================== 11 | 12 | Rust 2015 是預設的 edition, 13 | 因為 Rust 1.0 在 2015 的 5 月釋出故取其名。 14 | -------------------------------------------------------------------------------- /programming-language/cases/rust/examples/kernel_module/00_c_module/Makefile: -------------------------------------------------------------------------------- 1 | KERNEL_VERSION := $(shell uname -r) 2 | KERNEL_BUILD_PATH := /lib/modules/$(KERNEL_VERSION)/build 3 | 4 | # Name of this kernel module 5 | KERNEL_MODULE := hello 6 | 7 | obj-m += $(KERNEL_MODULE).o # Tell kbuild which files to build 8 | 9 | all: 10 | $(MAKE) -C $(KERNEL_BUILD_PATH) M=$(PWD) modules 11 | 12 | clean: 13 | $(MAKE) -C $(KERNEL_BUILD_PATH) M=$(PWD) clean 14 | -------------------------------------------------------------------------------- /programming-language/cases/rust/examples/kernel_module/00_c_module/hello.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | static int hello_init(void) 4 | { 5 | printk(KERN_INFO "Hello\n"); 6 | return 0; 7 | } 8 | 9 | static void hello_exit(void) 10 | { 11 | printk(KERN_INFO "Goodbye\n"); 12 | } 13 | 14 | module_init(hello_init); 15 | module_exit(hello_exit); 16 | 17 | MODULE_LICENSE("GPL"); 18 | -------------------------------------------------------------------------------- /programming-language/cases/rust/examples/kernel_module/01_hello/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "hello" 3 | version = "0.1.0" 4 | authors = ["Chiu-Hsiang Hsu "] 5 | 6 | [dependencies.core] 7 | git = "https://github.com/phil-opp/nightly-libcore.git" 8 | features = ["disable_float"] # No CPU instructions that write to floating-point registers 9 | 10 | [profile.release] 11 | opt-level = 3 12 | debug = false 13 | rpath = false 14 | lto = true 15 | debug-assertions = false 16 | -------------------------------------------------------------------------------- /programming-language/cases/rust/examples/kernel_module/01_hello/src/module.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | extern int rust_init(void); 4 | extern void rust_exit(void); 5 | 6 | static int hello_init(void) { 7 | return rust_init(); 8 | } 9 | 10 | static void hello_exit(void) { 11 | return rust_exit(); 12 | } 13 | 14 | module_init(hello_init); 15 | module_exit(hello_exit); 16 | 17 | MODULE_LICENSE("GPL"); 18 | -------------------------------------------------------------------------------- /programming-language/cases/rust/examples/kernel_module/freebsd/Makefile: -------------------------------------------------------------------------------- 1 | # It is important to make sure you include the makefile 2 | # after declaring the KMOD and SRCS variables 3 | 4 | MAKEOBJDIR = . 5 | 6 | # Declare Name of kernel module 7 | KMOD = hello_fsm 8 | 9 | # Enumerate Source files for kernel module 10 | SRCS = hello_fsm.c 11 | 12 | # Include kernel module makefile 13 | .include 14 | -------------------------------------------------------------------------------- /programming-language/cases/rust/examples/leetcode/136-single-number/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "leetcode" 3 | version = "0.1.0" 4 | authors = ["Chiu-Hsiang Hsu "] 5 | 6 | [dependencies] 7 | -------------------------------------------------------------------------------- /programming-language/cases/rust/examples/module/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "module_sample" 3 | version = "0.0.0" 4 | authors = ["Chiu-Hsiang Hsu "] 5 | 6 | [dependencies] 7 | -------------------------------------------------------------------------------- /programming-language/cases/rust/examples/module/src/folder0/folder1/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod func2; 2 | -------------------------------------------------------------------------------- /programming-language/cases/rust/examples/module/src/folder0/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod folder1; 2 | pub mod func1; 3 | -------------------------------------------------------------------------------- /programming-language/cases/rust/examples/module/src/func0.rs: -------------------------------------------------------------------------------- 1 | pub fn func0() { 2 | println!("I'm root0"); 3 | } 4 | -------------------------------------------------------------------------------- /programming-language/cases/rust/examples/module/src/lib.rs: -------------------------------------------------------------------------------- 1 | mod func0; 2 | mod folder0; 3 | 4 | fn root() { 5 | { 6 | use func0::func0; 7 | func0(); 8 | } 9 | { 10 | use folder0::func1::func1; 11 | func1(); 12 | } 13 | { 14 | use folder0::folder1::func2::func2; 15 | func2(); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /programming-language/cases/rust/examples/python-pickle/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | authors = ["Chiu-Hsiang Hsu "] 3 | name = "pickle" 4 | version = "0.1.0" 5 | 6 | [dependencies] 7 | serde-pickle = "0.2.0" 8 | -------------------------------------------------------------------------------- /programming-language/cases/rust/examples/python-pickle/test_pickle.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import pickle 4 | 5 | 6 | print(pickle.load(open("tmp.pickle", "rb"))) 7 | -------------------------------------------------------------------------------- /programming-language/cases/rust/examples/with-cpp/example1/common-rust/Cargo.lock: -------------------------------------------------------------------------------- 1 | [root] 2 | name = "rust_example" 3 | version = "0.1.0" 4 | 5 | -------------------------------------------------------------------------------- /programming-language/cases/rust/examples/with-cpp/example1/common-rust/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "rust_example" 3 | version = "0.1.0" 4 | 5 | [lib] 6 | name = "rust_example" 7 | crate-type = ["staticlib"] 8 | -------------------------------------------------------------------------------- /programming-language/cases/rust/examples/with-cpp/example1/common-rust/src/rust_example.rs: -------------------------------------------------------------------------------- 1 | #[no_mangle] 2 | pub extern fn add(lhs: u32, rhs: u32) -> u32 { 3 | lhs + rhs 4 | } 5 | -------------------------------------------------------------------------------- /programming-language/cases/rust/examples/with-cpp/example1/cpp/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | extern "C" { 5 | uint32_t add(uint32_t lhs, uint32_t rhs); 6 | } 7 | 8 | int main() { 9 | std::cout << "1300 + 14 == " << add(1300, 14) << '\n'; 10 | return 0; 11 | } 12 | -------------------------------------------------------------------------------- /programming-language/cases/rust/lang-design/api-design.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Library APIs Design 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Rust API Guidelines `_ 13 | * [2020] `Elegant Library APIs in Rust `_ 14 | 15 | -------------------------------------------------------------------------------- /programming-language/cases/rust/learning-resource/weekly.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Weekly 3 | ======================================== 4 | 5 | 6 | * `This Week in Rust `_ 7 | * `This Week in Rust and WebAssembly `_ 8 | * `The Embedded Working Group Newsletter `_ 9 | -------------------------------------------------------------------------------- /programming-language/cases/rust/rust-compiler/impl-mrustc.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | mrustc - Mutabah's Rust Compiler 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 介紹 10 | ======================================== 11 | 12 | :Repo: https://github.com/thepowersgang/mrustc 13 | 14 | 15 | 非官方的 Rust 編譯器實做, 16 | 程式碼採用 C++ 撰寫。 17 | -------------------------------------------------------------------------------- /programming-language/cases/rust/usage/data-structure.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 資料結構 (Data Structure) 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `pdatastructs - probabilistic data structures `_ 13 | -------------------------------------------------------------------------------- /programming-language/cases/rust/usage/dependencies.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Dependencies 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Deps.rs - Keep your dependencies up-to-date `_ 13 | -------------------------------------------------------------------------------- /programming-language/cases/rust/usage/embedded.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Rust & 嵌入式 (Rust Embedded) 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * SVD 13 | * SPI 14 | * UART 15 | * GPIO 16 | * I²C 17 | 18 | * `Embedded HAL `_ 19 | -------------------------------------------------------------------------------- /programming-language/cases/rust/usage/functional.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Rust & Functional 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Is Rust functional? `_ 13 | - 拿 Rust 跟 Haskell 對比,討論 Rust 所採用的函數式程式語言特色 14 | -------------------------------------------------------------------------------- /programming-language/cases/rust/usage/handy-macros.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 好用的 Macros 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `proc macro for shell scripts `_ 13 | -------------------------------------------------------------------------------- /programming-language/cases/rust/usage/os.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Rust in OS 3 | ======================================== 4 | 5 | * [2013] `Booting to Rust `_ 6 | * `DragonFly BSD - Experiment with Rust in the kernel `_ 7 | -------------------------------------------------------------------------------- /programming-language/cases/rust/usage/performance/glob.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Glob 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Glob Matching Can Be Simple And Fast Too `_ 13 | * `rust - glob `_ 14 | -------------------------------------------------------------------------------- /programming-language/cases/rust/usage/shell.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Shell 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Nu Shell `_ 13 | -------------------------------------------------------------------------------- /programming-language/cases/rust/usage/string-manipulation.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | String Manipulation 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `espanso - cross-platform Text Expander written in Rust <>`_ 13 | -------------------------------------------------------------------------------- /programming-language/cases/rust/usage/system-info.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | System Info 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `heim - cross-platform async library for system information fetching `_ 13 | - `This month in heim - August 2019 `_ 14 | -------------------------------------------------------------------------------- /programming-language/cases/smalltalk/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Smalltalk 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `The Early History Of Smalltalk `_ 13 | -------------------------------------------------------------------------------- /programming-language/cases/terra/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Terra - A low-level counterpart to Lua 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 介紹 10 | ======================================== 11 | 12 | :Site: http://terralang.org/ 13 | -------------------------------------------------------------------------------- /programming-language/implementation-framework/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Language Implementation Framework 3 | ======================================== 4 | 5 | * `Truffle and Graal `_ 6 | - Partial Evaluation 7 | * `RPython Toolchain `_ 8 | - Meta-Tracing 9 | * `CLR (Common Language Runtime) `_ 10 | -------------------------------------------------------------------------------- /programming-language/interpreter-for-compiled-language.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Interpreter For Compiled Language 3 | ======================================== 4 | 5 | * `rusti - A REPL for the Rust programming language. `_ 6 | * `Cling - an interactive C++ interpreter `_ 7 | -------------------------------------------------------------------------------- /programming-language/theory-and-concepts/dsl.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | DSL (Domain-Specific Languages) 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | Books 10 | ======================================== 11 | 12 | * `DSL Engineering - Designing, Implementting and Using Domain-Specific Languages `_ 13 | -------------------------------------------------------------------------------- /programming-language/theory-and-concepts/functional/resource.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Resource 3 | ======================================== 4 | 5 | * `Functional Programming Resources `_ 6 | -------------------------------------------------------------------------------- /programming-language/theory-and-concepts/history.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 程式語言歷史 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `A snapshot of programming language history `_ 13 | -------------------------------------------------------------------------------- /programming-language/theory-and-concepts/linear-type.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Linear Type 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Linear types make performance more predictable by Jean-Philippe Bernardy and Arnaud Spiwack `_ 13 | -------------------------------------------------------------------------------- /programming-language/theory-and-concepts/resource.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Resource 3 | ======================================== 4 | 5 | * `A path to Programming Language Theory enlightenment `_ 6 | * `Programming and Programming Languages `_ 7 | * `Lambda Days `_ 8 | -------------------------------------------------------------------------------- /programming-language/theory-and-concepts/system-programming.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | System Programming 3 | ======================================== 4 | 5 | * `Wikipedia - System programming language `_ 6 | * `Wikipedia - System programming `_ 7 | -------------------------------------------------------------------------------- /python: -------------------------------------------------------------------------------- 1 | programming-language/cases/python/ -------------------------------------------------------------------------------- /regex/examples/nfa/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "nfa" 3 | version = "0.1.0" 4 | authors = ["Chiu-Hsiang Hsu "] 5 | 6 | # The release profile, used for `cargo build --release` 7 | [profile.release] 8 | opt-level = 3 9 | debug = false 10 | rpath = false 11 | lto = true 12 | debug-assertions = false 13 | codegen-units = 1 14 | -------------------------------------------------------------------------------- /regex/examples/nfa/examples/simple_cli.rs: -------------------------------------------------------------------------------- 1 | extern crate nfa; 2 | 3 | use nfa::*; 4 | 5 | use std::env; 6 | 7 | fn main() { 8 | let mut args = env::args().skip(1); 9 | 10 | let regex = args.next().unwrap(); 11 | println!("[origin] {}", regex); 12 | 13 | let postfix = regex_to_postfix(regex).unwrap(); 14 | println!("[postfix] {}", postfix); 15 | } 16 | -------------------------------------------------------------------------------- /regex/resource.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Resource 3 | ======================================== 4 | 5 | * `Comparing regular expressions in Perl, Python, and Emacs `_ 6 | -------------------------------------------------------------------------------- /reports/template.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Engineering Report - Week #, 2016 3 | ======================================== 4 | 5 | Highlights 6 | ======================================== 7 | 8 | Plan 9 | ======================================== 10 | 11 | Issues 12 | ======================================== 13 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | sphinx==6.2.1 2 | readthedocs-sphinx-ext==2.2.2 3 | sphinx_rtd_theme==1.2.2 4 | ghp-import==2.1.0 5 | -------------------------------------------------------------------------------- /robotics/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 機器人 (Robot) 3 | ======================================== 4 | 5 | * `Boston Dynamics `_ 6 | * `Farming Robot `_ 7 | -------------------------------------------------------------------------------- /robotics/boston-dynamics.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Boston Dynamics 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | -------------------------------------------------------------------------------- /robotics/farming-robot.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Farming Robot 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Modular Science (YC S17) is seeking a hw/sw engineer to work on farming robots `_ 13 | -------------------------------------------------------------------------------- /rust: -------------------------------------------------------------------------------- 1 | programming-language/cases/rust -------------------------------------------------------------------------------- /security/clickjacking.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Clickjacking 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Google YOLO (You Only Login Once) `_ 13 | -------------------------------------------------------------------------------- /security/javascript-engine.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Security issues in JavaScript Engine 3 | ======================================== 4 | 5 | * `Case Study of JavaScript engine vulnerabilities `_ 6 | -------------------------------------------------------------------------------- /security/resource.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 資源 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | PS4 10 | ======================================== 11 | 12 | * `Console Hacking 2016: PS4: PC Master Race `_ 13 | -------------------------------------------------------------------------------- /security/secure-guard-extensions.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | SGX (Secure Guard Extensions) 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * `Intel Secure Guard Extensions Published For The Linux Kernel (SGX) `_ 13 | -------------------------------------------------------------------------------- /testing/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 測試 (Testing) 3 | ======================================== 4 | 5 | * `Fuzzer `_ 6 | * `Mutation Test `_ 7 | * `Server Validation `_ 8 | * `Chaos Engineering `_ 9 | -------------------------------------------------------------------------------- /testing/mobile-app.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Test Mobile App 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 參考 10 | ======================================== 11 | 12 | * [GitHub] `fastlane - a tool for iOS and Android developers to automate tedious tasks like generating screenshots, dealing with provisioning profiles, and releasing your application `_ 13 | -------------------------------------------------------------------------------- /testing/server-validation.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 檢查伺服器設定 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 介紹 10 | ======================================== 11 | 12 | 用於檢查伺服器設定的測試程式 13 | 14 | 15 | 16 | 參考 17 | ======================================== 18 | 19 | * `Serverspec `_ 20 | * `Goss - Quick and Easy server testing/validation `_ 21 | -------------------------------------------------------------------------------- /version-control/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 版本控制 (Version Control) 3 | ======================================== 4 | 5 | * `Git `_ 6 | * `Mercurial `_ 7 | * `Pijul `_ 8 | * SVN 9 | -------------------------------------------------------------------------------- /version-control/git/cheat-sheet.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Git Cheat Sheet 3 | ======================================== 4 | 5 | * `NDP Software - Git Cheatsheet `_ 6 | -------------------------------------------------------------------------------- /version-control/mercurial.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Mercurial 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 介紹 10 | ======================================== 11 | 12 | 13 | 14 | 參考 15 | ======================================== 16 | -------------------------------------------------------------------------------- /version-control/pijul.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Pijul 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 介紹 10 | ======================================== 11 | 12 | :Site: https://pijul.org/ 13 | 14 | 15 | Pijul 是一套由用 Rust 撰寫的版本控制工具 16 | -------------------------------------------------------------------------------- /virtualization/README.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | 虛擬化 (Virtualization) 3 | ======================================== 4 | 5 | 6 | * `KVM `_ 7 | * `QEMU `_ 8 | * `bhyve `_ 9 | * `Bareflank `_ 10 | * Xen 11 | * libvirt 12 | 13 | * 虛擬機建立和管理 14 | - `Vagrant `_ 15 | - `Packer `_ 16 | -------------------------------------------------------------------------------- /virtualization/bareflank.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | Bareflank 3 | ======================================== 4 | 5 | 6 | .. contents:: 目錄 7 | 8 | 9 | 介紹 10 | ======================================== 11 | 12 | :Repo: https://github.com/Bareflank/hypervisor 13 | 14 | 15 | 由 C++11/14 撰寫的 hypervisor, 16 | 目標是可以提供各種層級的虛擬化。 17 | -------------------------------------------------------------------------------- /virtualization/bhyve.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | bhyve 3 | ======================================== 4 | 5 | * `FreeBSD as a Host with bhyve `_ 6 | * `FreeBSD wiki - bhyve `_ 7 | * `bhyve – The BSD Hypervisor `_ 8 | -------------------------------------------------------------------------------- /virtualization/kvm.rst: -------------------------------------------------------------------------------- 1 | ======================================== 2 | KVM 3 | ======================================== 4 | 5 | * `Realtime KVM `_ 6 | --------------------------------------------------------------------------------