Skip to content

Instantly share code, notes, and snippets.

@f2janyway
f2janyway / jetson_orin_nano_memory_error_solving_instruction.md
Last active January 12, 2026 01:52
jetson orin nano memory error fix link (jetpack 6.2.1)

After this the error disappear!

origin version

nano@nano-desktop:~/code/sequor_vfm_deploy (dev)$ dpkg -l | grep nvidia-jetpack

ii  nvidia-jetpack                                           6.2.1+b38                                   arm64        NVIDIA Jetpack Meta Package

ii  nvidia-jetpack-dev                                       6.2.1+b38                                   arm64        NVIDIA Jetpack dev Meta Package
@f2janyway
f2janyway / init.lua
Last active January 12, 2026 00:11
nvim lsp setting basic
-- ===============================================
-- 1. 기본 Vim/Neovim 설정 (Options) ~/.config/nvim/init.lua
-- ===============================================
-- 시스템 클립보드 사용 활성화
vim.opt.clipboard = "unnamedplus"
-- 줄 번호 표시
vim.opt.number = true
@f2janyway
f2janyway / compare_pt_onnx_openvino.py
Last active October 4, 2025 09:51
compare model extensions (pt,onnx,bin(openvino))
import cv2
from ultralytics import YOLO
import time
import os
from collections import deque
from pathlib import Path
# Put these files in same dir for easy testing
# - compare_pt_onnx_openvino.ipynb
# - best.pt
@f2janyway
f2janyway / rpi_u-boot_build_process.md
Created September 9, 2025 00:56
rasberry pi u-boot build process

u-boot process

  • in u-boot root-dir
make distclean
ls
ls -al
ls
cd boot
ls
make rpi_arm64_defconfig
@f2janyway
f2janyway / pip_conda_usage.md
Last active April 30, 2025 07:10
pip, conda 관련 다루면서 생기는 문제들 관련 정보모음(정리 잘 안됨)

pip 패키지 설치 확인

pip list | grep -E "mecab|g2pkk"
pip list | grep mecab-python3
pip list | grep unidic-lite

Jupyter 커널 등록

@f2janyway
f2janyway / mac_m1_kmp_ios_build_issue_solved.md
Last active August 31, 2024 08:11
Build failed on iosApp of KMP project by "Command PhaseScriptExecution failed with a nonzero exit code"

It shows "Unable to locate a Java Runtime"

This answer from gpt solved the issue.

my kdoctor all checked already

Answer

The error you're encountering, "Unable to locate a Java Runtime," suggests that the build script requires Java to be available, but Xcode isn't able to find the Java installation. This could be happening because the JAVA_HOME environment variable isn't correctly set in the context of Xcode, or Xcode can't access Java due to a configuration issue.

@f2janyway
f2janyway / gh_pr.md
Last active April 25, 2024 06:14
gh pr 사용법
  1. checkout to other branch[temp]
  2. edit code
  3. commit at [temp]
  4. gh pr create >>> at [temp]

  5. write others(promps appear)
  6. git checkout main
  7. gh pr list >>> check pr

  8. gh pr view ID(from 7) >>> view pr

  9. >gh pr merge ID >>> if merge want
@f2janyway
f2janyway / FixedBGHorizontalPager.kt
Created November 17, 2023 14:22
fixed background of page of horizontalPager of Jetpack Compose example
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
@f2janyway
f2janyway / UIStackViewChildLayout_Ex.swift
Created November 2, 2023 07:21
UIStackView 자리 배치 및 스트래칭
/**
stackview:[label1, <-label2->, label3] ex
*/
let label1 = UILabel()
label1.text = "label1"
label1.backgroundColor = .brown
let label2 = UILabel()
label2.backgroundColor = .lightGray
label2.text = "label2"
@f2janyway
f2janyway / ScrollBar.kt
Last active November 3, 2025 13:59
ScrollBar for LazyColumn; if there is wrapper to LazyColumn(ex;Column), just use with Box() as direct above wrapper with ScrollBar and LazyColumn
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
import androidx.compose.foundation.Canvas
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.lazy.LazyListState
import androidx.compose.runtime.Composable
import androidx.compose.runtime.DisposableEffect
import androidx.compose.runtime.derivedStateOf
import androidx.compose.runtime.getValue