Skip to content

Instantly share code, notes, and snippets.

View kbumsik's full-sized avatar
⚒️
Building Stuff

Bumsik Kim kbumsik

⚒️
Building Stuff
View GitHub Profile
@kbumsik
kbumsik / Dropbox-for-FreeNAS-SCALE.md
Last active October 7, 2023 01:55
Native Dropbox client for FreeNAS SCALE

Native Dropbox client service for TrueNAS SCALE

Although FreeNAS (TrueNAS) does support Dropbox backup, it is not the official Dropbox client that offers native and almost-real-time syncing.

Their new project, TrueNAS SCALE, is the Linux version of FreeNAS. Since it is Linux Debian OS rather than FreeBSD, you now can run any Linux programs like the official Dropbox client.

This guide is intended to learn how to run the official headless Dropbox daemon on bootup.

Install Dropbox daemon

@kbumsik
kbumsik / ipad_monitor.sh
Last active March 28, 2024 17:12
Using iPad as a 2nd monitor on Linux with VNC.
#!/bin/bash
# ----------------------------------------------------------------------------
# "THE BEER-WARE LICENSE" (Revision 42):
# <k.bumsik@gmail.com> wrote this file. As long as you retain this notice you
# can do whatever you want with this stuff. If we meet some day, and you think
# this stuff is worth it, you can buy me a beer in return. - Bumsik Kim
# ----------------------------------------------------------------------------
# Configuration
WIDTH=1024 # 1368 for iPad Pro
@kbumsik
kbumsik / c_cpp_properties_for_arm_toolchain.md
Last active November 22, 2022 16:01
VS Code c_cpp_properties.json example for arm-none-eabi toochain

VS Code c_cpp_properties.json example for arm-none-eabi toochain

If you installed C/C++ extension for Visual Studio Code but using GNU Arm Embedded Toolchain for ARM Cortex M series MCU target, VS Code will keep prompt "Configuring includePath for better IntelliSense results". You wil need a special c_cpp_properties.json for the ARM toolchain.

This works on both Linux and Windows.

  1. For arm-none-eabi-gcc users, its compiler include path should be included first. It differes in each system. Use the verbose arm-none-eabi-gcc -v flag to see include list. change "includePath" and "browse"."path" for your sys
@kbumsik
kbumsik / winc1500_netdev
Created October 11, 2017 15:56
gravizo
graph G {
gnrc_sock [shape=box];
gnrc [shape=box];
netdev [shape=box label="winc1500_netdev.c"];
winc1500 [shape=box label="winc1500.c"];
api [shape=box label="WINC1500 API"];
gnrc_sock -- gnrc;
gnrc -- netdev;
netdev -- api;
winc1500 -- api ;