Note-taking and file sharing with Syncthing and Joplin

You can find many note-taking services, like, Evernote, Google Keep, Notion, Obsidian and online storage services such as, Dropbox, Google Drive, OneDrive, iCloud. They are easy to use and secure. But, secure is not equal to private! A way to keep privacy is host private services by self. Edward Snowden’s Privacy Tips: “Get Rid Of Dropbox,” Avoid Facebook And Google This is how I share/edit notes and files with different devices which service providers are unable to peek and analyze my private contents. Joplin and Syncthing in grey are optional in the diagram, for example notes can be written on the Raspberry Pi through the terminal Joplin application, files can share between the Phone and the PC directly but my Raspberry Pi is online 24/7. ...

June 5, 2022 · 4 min · oopsmonk

Install Perf on Ubuntu 20.04

What is Perf? Perf or perf-event is a Linux profiler and is part of the Linux Kernel which can help you solve advanced performance and troubleshooting functions. It covers hardware level (CPU/PMU, Performance Monitoring Unit) features and software features (software counters, tracepoints) as well. Install on Ubuntu If perf has not installed on the system $ perf WARNING: perf not found for kernel 5.4.0-109 You may need to install the following packages for this specific kernel: linux-tools-5.4.0-109-generic linux-cloud-tools-5.4.0-109-generic You may also want to install one of the following packages to keep up to date: linux-tools-generic linux-cloud-tools-generic $ The perf is part of linux-tools-generic package on Ubuntu: ...

April 28, 2022 · 2 min · oopsmonk

RPi vs i5-8250U

utarray benchmarking Week48~52 小筆記 bazel installation on Raspberry Pi Issue#1308 $ sudo apt-get install build-essential openjdk-8-jdk python zip unzip $ wget https://github.com/bazelbuild/bazel/releases/download/0.19.2/bazel-0.19.2-dist.zip $ mkdir bazel-0.19.2 && unzip ./bazel-0.19.2-dist.zip -d bazel-0.19.2 $ cd bazel-0.19.2 $ env BAZEL_JAVAC_OPTS="-J-Xms384m -J-Xmx512m" bash ./compile.sh 🍃 Building Bazel from scratch...... 🍃 Building Bazel with Bazel. .WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown". INFO: Analysed target //src:bazel_nojdk (233 packages loaded, 10401 targets configured). Workaround for VS Code middle click paste. VS Code在Ubuntu裡滑鼠中鍵的複製貼上功能會造成看程式時的困擾 Issue#49305 It cause a problem when browsing source code in VS code, here is an alternative solution. Disable middle paste on Xubuntu 18.04 ...

December 1, 2018 · 2 min · oopsmonk

RPi Home

Test Google Asistant on Raspberry Pi. Week4044 (10/0110/31) 網路文章 Wi-Fi 6: What’s Different, and Why it Matters 網路資源 Raspberry Pi BT setup Turn your Raspberry Pi into homemade Google Home Google Asistant SDK Google Asistant SDK C++ 使用Python lib常常會當機改用C++比較沒問題, 但C++版本有限制API使用的次數, 無法長期使用.

October 14, 2018 · 1 min · oopsmonk

How many pointers you can have?

Pointers, again… How many pointers you can have? C89: 12 Week3135 (07/2908/31) 網路文章 What is the difference between const int*, const int * const, and int const *? Read it backwards (as driven by Clockwise/Spiral Rule): int* - pointer to int int const * - pointer to const int int * const - const pointer to int int const * const - const pointer to const int Now the first const can be on either side of the type so: const int * == int const * const int * const == int const * const ...

August 22, 2018 · 2 min · oopsmonk

Energetic People!

It’s blocks and no chain, keep fighting! Week2730 (07/0127) 網路文章 IOTA Summer Summit 2018

June 30, 2018 · 1 min · oopsmonk

Hell Yeah! Keep Fighting

More bad ideas + Generosity = Good ideas Week2226 (06/0129) 網路文章 Elon Musk emails employees about ’extensive and damaging sabotage’ by employee 樹大招風….但內部管理是否有問題? 溝通一直是最難處理的問題之一, 尤其是資訊不對等的情況下. 網路資源 esp32-websocket websocket component for esp-idf. 讀書心得 論文學習

May 29, 2018 · 1 min · oopsmonk