2022의 게시물 표시

[!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/CocoaPods-version.yml Response: URL using bad/illegal format or missing URL

 ## fix error (base) sungmin@sungminyunui-MacBookPro ios % pod install Analyzing dependencies firebase_analytics: Using Firebase SDK version '8.11.0' defined in 'firebase_core' firebase_auth: Using Firebase SDK version '8.11.0' defined in 'firebase_core' firebase_core: Using Firebase SDK version '8.11.0' defined in 'firebase_core' firebase_messaging: Using Firebase SDK version '8.11.0' defined in 'firebase_core' firebase_remote_config: Using Firebase SDK version '8.11.0' defined in 'firebase_core' [!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/CocoaPods-version.yml Response: URL using bad/illegal format or missing URL (base) sungmin@sungminyunui-MacBookPro ios % pod repo remove trunk     Removing spec repo `trunk` (base) sungmin@sungminyunui-MacBookPro ios % pod install --repo-update Updating local specs repositories   $ /usr/local/bin/git -C /Users/sungmin/.cocoapods/repos/cocoapo

ffi-1.15.5/lib/ffi/library.rb:275: [BUG] Bus Error at

 ## fix error (base) sungmin@sungminyunui-MacBookPro ios % gem install --user-install ffi -- --enable-libffi-alloc WARNING:  You don't have /Users/sungmin/.gem/ruby/2.6.0/bin in your PATH,           gem executables will not run. Building native extensions with: '--enable-libffi-alloc' This could take a while... Successfully installed ffi-1.15.5 Parsing documentation for ffi-1.15.5 Done installing documentation for ffi after 3 seconds 1 gem installed (base) sungmin@sungminyunui-MacBookPro ios % flutter build ios Changing current working directory to: /Users/sungmin/Downloads/Android/gabang2022/gabang The plugins `apple_sign_in, flutter_webview_plugin, system_alert_window` use a deprecated version of the Android embedding. To avoid unexpected runtime failures, or future build failures, try to see if these plugins support the Android V2 embedding. Otherwise, consider removing them since a future release of Flutter will remove these deprecated APIs. If you are plugin author, ta

Error: Could not register service workers: InvalidStateError: Failed to register a ServiceWorker: on vscode

 ## fix error (base) min@min-MS-7C94:~/.mozilla/firefox$ rm -rf ~/.config/Code/Cache

Fix "firefox is already running" error in Linux

## fix error (base) min@min-MS-7C94:~/.mozilla/firefox$ pidof firefox 741821 (base) min@min-MS-7C94:~/.mozilla/firefox$ kill -9 741821 kill $(pidof firefox)  

mac 한글 자소분리 입력되는 현상 (remote desktop)

이미지
## 한글 자소 분리입력됨. ## Microsoft Remote Desktop의 메뉴-connnections-KeyboardMode-scan mode로 변경  

install cuda, tensorflow-gpu and check available gpu in mint linux

이미지
## check current cuda ver 11.6 ## install cudatoolkit 11.6 (p1) min@min-MS-7C94:~/바탕화면$ conda install -c deepmodeling cudatoolkit Collecting package metadata (current_repodata.json): done Solving environment: done ## Package Plan ## environment location: /home/min/anaconda3/envs/p1 added / updated specs: - cudatoolkit The following packages will be downloaded: package | build ---------------------------|----------------- cudatoolkit-11.6.0 | hd754f66_10 821.0 MB deepmodeling ------------------------------------------------------------ Total: 821.0 MB The following NEW packages will be INSTALLED: cudatoolkit deepmodeling/linux-64::cudatoolkit-11.6.0-hd754f66_10 None Proceed ([y]/n)? y Downloading and Extracting Packages cudatoolkit-11.6.0 | 821.0 MB | ###########################################################################################

ubuntu increase swapfile

## change setting (base) min@min-MS-7C94:~$ sudo fallocate -l 8G /swapfile [sudo] min 암호: fallocate: fallocate failed: 실행 파일 사용 중 (base) min@min-MS-7C94:~$ su 암호: root@min-MS-7C94:/home/min# swapoff -v /swapfile swapoff /swapfile root@min-MS-7C94:/home/min# fallocate -l 8G /swapfile root@min-MS-7C94:/home/min# ll -h /swapfile -rw------- 1 root root 8.0G 8월 29 12:48 /swapfile root@min-MS-7C94:/home/min# chmod 600 /swapfile root@min-MS-7C94:/home/min# mkswap /swapfile mkswap: /swapfile: warning: wiping old swap signature. Setting up swapspace version 1, size = 8 GiB (8589930496 bytes) no label, UUID=817e481c-66db-452e-9ed1-4cbaebaaab53 root@min-MS-7C94:/home/min# swapon /swapfile root@min-MS-7C94:/home/min# vi /etc/fstab root@min-MS-7C94:/home/min# free -m total used free shared buff/cache available Mem: 64232 11352 433 49616 52446 2555 스왑: 8191 18 8173 root@mi

terminal font width is unusually wide on ubuntu

이미지
## font width ## change setting { "editor.fontFamily": "Ubuntu Regular", "terminal.integrated.inheritEnv": false, "terminal.integrated.fontWeight": "normal", "terminal.integrated.defaultProfile.osx": "zsh", "terminal.external.osxExec": "iTerm.app", "terminal.integrated.fontFamily": "'Ubuntu Mono', 'PowerlineSymbols'", "git.confirmSync": false, "git.autofetch": true, "explorer.confirmDragAndDrop": false, "editor.fontLigatures": false, "terminal.integrated.fontWeightBold": "bold" } ## Result

kubeadm init error

## kubeadm init error [root@k8s-master min]# sudo kubeadm init --pod-network-cidr=10.224.0.0/16 [init] Using Kubernetes version: v1.25.0 [preflight] Running pre-flight checks error execution phase preflight: [preflight] Some fatal errors occurred: [ERROR CRI]: container runtime is not running: output: E0825 18:33:00.899302 10491 remote_runtime.go:925] "Status from runtime service failed" err="rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService" time="2022-08-25T18:33:00+09:00" level=fatal msg="getting status of runtime: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService" , error: exit status 1 [preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...` To see the stack trace of this error execute with --v=5 or higher ## fix error [root@k8s-master min]# sudo rm /etc/containerd/config.toml [root@k8s-master min]# sudo