본문 바로가기

Linux

linux inode remove file, folder 리눅스에서 파일명이나 폴더명을 잘 못 생성했을 경우 파일명/폴더명으로 삭제를 해도 삭제가 되지 않는다. 이 때 inode 번호로 삭제를 할 수 있다. ls -li total 999 1076702 drwxr-xr-x+ 47 user staff 1.5K 5 28 16:56 . 695205 drwxr-xr-x 6 root admin 192B 2 18 13:58 .. 1076717 drwx------+ 5 user staff 160B 5 29 09:41 Downloads find . -inum 1076717 -exec rmdir -f {} \; 더보기
vscode Keyboard reference sheets Visual Studio Code Tips and Tricks MacOS Sheet Linux Sheet Windows Sheet 더보기
Godot - Compiling Compiling Godot - Docs » Compiling Getting the source Introduction to the buildsystem Compiling for Windows Compiling for X11 (Linux, *BSD) Compiling for macOS Compiling for Android Compiling for iOS Cross-compiling for iOS on Linux Compiling for Universal Windows Platform Compiling for the Web Compiling with Mono Packaging Godot Optimizing a build for size 더보기
Godot - Introduction to the buildsystem Introduction to the buildsystem Godot - Docs » Compiling » Introduction to the buildsystem SCons Godot uses SCons to build. We love it, we are not changing it for anything else. We are not even sure other build systems are up to the task of building Godot. We constantly get requests to move the build system to CMake, or Visual Studio, but this is not going to happen. There are many reasons why w.. 더보기
Godot - Compiling for X11 (Linux, *BSD) Compiling for X11 (Linux, *BSD) Godot - Docs » Compiling » Compiling for X11 (Linux, *BSD) Requirements For compiling under Linux or other Unix variants, the following is required: Linux 또는 다른 Unix 계열에서 컴파일하려면 다음이 필요합니다. GCC or Clang Python 2.7+ (Python 3 only supported as of SCons 3.0) Python 2.7 이상 (Python 3은 SCons 3.0에서만 지원됨) SCons build system pkg-config (used to detect the dependencies belo.. 더보기
Godot - Cross-compiling for iOS on Linux Cross-compiling for iOS on Linux Godot - Docs » Compiling » Cross-compiling for iOS on Linux The procedure for this is somewhat complex and requires a lot of steps, but once you have the environment properly configured it will be easy to compile Godot for iOS anytime you want. 이 절차는 다소 복잡하고 많은 단계가 필요하지만 일단 환경을 적절하게 구성하면 원하는 때에 언제든지 Godot을 iOS 용으로 쉽게 컴파일 할 수 있습니다. Disclaimer While it is possible .. 더보기
Linux Movie to gif How to convert video to animated gif image on Linux sudo apt-get install ffmpeg imageMagick # sudo yum install youtube-dl .... # 프레임 추출, out.gif 으로 병합되어 추출된다. # ffmpeg -t -ss -i out%04d.gif ffmpeg -t 5 -ss 00:00:10 -i funny.mp4 out.gif # 만약 프레임을 추출만 했다면 병합한다. # convert -delay x -loop 0 out*gif convert -delay 1x20 -loop 0 out*.gif animation.gif # GIF 크기 줄이기 convert -layers Optimize animation.gif .. 더보기
Linux Youtube Movie Download How to save YouTube videos on Linux sudo apt-get install youtube-dl # sudo yum install youtube-dl .... # 다운로드 youtube-dl https://www.youtube.com/watch?v=ykp8fxHWcVo [youtube] ykp8fxHWcVo: Downloading webpage [youtube] ykp8fxHWcVo: Downloading video info webpage [youtube] ykp8fxHWcVo: Extracting video information [download] Destination: She Has Two Left Feet!-ykp8fxHWcVo.f137.mp4 [download] 100% o.. 더보기