Yet Another Bookmarks Service



[https://stackoverflow.com/questions/77708142/how-can-i-fetch-vram-and-gpu-cache-size-in-linux] - - public:mzimmerm
amd, apu, command, linux, memory - 5 | id:1489838 -

If you have AMD GPU as I do then you can grab PCI ID for the device with lspci command executed with -D flag (shows PCI doamin) and read the following file cat /sys/bus/pci/devices/${pci_slot}/mem_info_vram_total, it contains GPU VRAM size in bytes.

[https://stackoverflow.com/questions/55004302/how-do-you-pass-arguments-from-command-line-to-main-in-flutter-dart] - - public:mzimmerm
command, dart, main, parameter - 4 | id:1420580 -

The correct way: flutter run -d linux --dart-entrypoint-args 'arg1 arg2' file_with_main.dart => main(List args) => args[0]=arg1, args[1]=arg2 The workaround: flutter run -d linux --dart-define=PSEUDO_ARGS='arg1 arg2' file_with_main.dart => In main, use args=String.fromEnvironment('PSEUDO_ARGS').split(' ') => args[0]=arg1, args[1]=arg2

[https://docs.aws.amazon.com/cli/latest/reference/ecs/update-service.html] - - public:mzimmerm
aws, command - 2 | id:1294231 -

Command can be used to set desired_count, max_count, etc, on a service. Something like: aws ecs --cluster=goosepilot list-services; aws ecs --cluster=goosepilot update-service --service=“arn:aws:ecs:us-east-2:823978586159:service/goosepilot/goosepilot“ --desired-count=0

[https://electrictoolbox.com/rsync-ignore-existing-update-newer/] - - public:mzimmerm
command, good, linux, rsync - 4 | id:958875 -

Describes the default behavior is to force target system to be the same as source system.

[https://lzone.de/cheat-sheet/] - - public:xxx
cheatsheet, command, database, development, programming - 5 | id:232223 -

All cheat sheets - All Cheat Sheets APIs AWS Lamba Ansible Apache AppArmor Bash Bash Associative Array Bash Functions Bash Regex Bower CI-CD CSS Chef Consul Container Orchestration CouchDB Couchbase DBUS DKMS DRBD Debian Debugging Dev-Misc Docker Docker Swarm ElasticSearch F5 Filesystem GCC GPG Gerrit Git Github GlusterFS HTTPS Helm IPMI IT-Ops Incident Handling Java Jenkins KVM Kafka Kernel Tracing LVM LXC Linting Linux HTML Widgets Linux-Commands Linux-HA Linux-Networking Linux-Sysadmin Linux-Virtualization Mail Maven Mcollective MongoDB Monitoring MySQL NFS Nodejs OpenNebula OpenSSL OpenVZ Openshift PHP Package Management Package Vulnerabilities Packaging Partitioning Perl PgBouncer Postgres Puppet Puppet - Hiera RAID RabbitMQ Redis Redis Sentinel Ruby Ruby Bundler S3 SELinux SIEM SSH SSL-Certificates SaaS Dev Tools Security Auditing Security-News-Feeds Service Architecture Shell-Scripting Solaris Solutions Automation Solutions Loadbalancing Solutions Monitoring Solutions NoSQL Solutions Virtualization Splunk Squid Status Pages Syndication Terraform Tomcat VM Tuning Vagrant VirtualBox Webserver XPath Xen YAML Zookeeper autotools awk etcd ffmpeg gdb htaccess jq kubernetes memcached netfilter netsh nginx registry rvm screen-vs-tmux sed sqlite systemd ulimit vi vi2 wmic All Code Examples Glib Glib GRegex Glib Testing Glib XDG Migration Go Channels Go Goroutines Go Interfaces Go Regex Go Struct Javascript Frameworks Javascript RegExp Javascript strptime Javascript toggle visibility Javascript void0 Nodejs Express PHP Arrays PHP curl_setopt PHP date PHP explode PHP implode PHP ini_set PHP preg_match PHP preg_replace PHP str_replace PHP stripos PHP strpos PHP strripos PHP strrpos PHP ternary operator PHP unserialize Perl Regex PyGI GStreamer PyGI GnomeKeyring PyGI GtkStatusIcon Python Python Dictionary Python Syntax Python re.match Python re.sub Python simplehttpserver Python subprocess React React PropTypes Regex Overview Ruby Regex d3js

Follow Tags