Limiting network traffic on linux

이미지
  ## set limit [root@localhost ~]# tc qdisc add dev ens32 root tbf rate 200kbit burst 16kbit latency 50ms  ## reset limit [root@localhost ~]# ifdown ens32 [root@localhost ~]# ifup ens32

1 duplicate symbol for architecture arm64

이미지
  ## fix error (1 duplicate symbol for architecture arm64) xcode - targets(runner) - build settings    enable testibilty -> no   no common blocks -> no

vscode remote ssh with out password

이미지
 ## set up local SSH key pair  ## copy ssh key to server [root@localhost vue-element-admin]# vi ~/.ssh/authorized_keys [root@localhost vue-element-admin]# systemctl restart sshd  ## set config file

[!] 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...

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)