...the configuration file of the shell your using instead): man() { LESS_TERMCAP_mb=$'\e'"[1;31m" \ LESS_TERMCAP_md=$'\e'"[1;31m" \ LESS_TERMCAP_me=$'\e'"[0m" \ LESS_TERMCAP_se...
LESS_TERMCAP_so=$'\e'"[1;44;33m" \ LESS_TERMCAP_ue=$'\e'"[0m" \ LESS_TERMCAP_us=$'\e'"[1;32m" \ command man...
...remove IP entry ssh-keygen -f "$HOME/.ssh/known_hosts" -R $(getent hosts appserver.makandra.de | cut -d ' ' -f 1) # Connect and accept new fingerprint ssh appserver.makandra.de The authenticity of host 'appserver.makandra.de (213.179.144.92)' can't...
...versus fixed CPU calculation. These are the break-even CPU utilizations for us-east-1: Burstable Baseline utilization Fixed-CPU vCPU Memory (GiB) Break-even CPU utilization t3.medium 20% c7i-flex.large...
30% m6i.large 2 8 42,80% t3.xlarge 40% m7i-flex.xlarge 4 16 52,55% t3a.medium 20% c6a.large 2 4 58,90% t3a.large 30% m6a.large 2 8 41,20%
...start the initialization with this command once booted into proxmox: # cli64 vsf modify vol=1 capacity=12000 # to 12000 GB for example Now the volume will initialize the extra space...
...watch it with the command line client: # watch -n 5 "cli64 vsf info vol=1" Note Initializing SSD's does not take any time. For HDDs the above command should...
...production, since that's what's deployed. We want to delete images older than 10 days, except if they're deployed to production { "rules": [ { "rulePriority": 1, "description": "Keep image tagged...
"selection": { "tagPrefixList": ["production"], "tagStatus": "tagged", "countType": "imageCountMoreThan", "countNumber": 9999 }, "action": { "type": "expire" } }, { "rulePriority": 10, "description": "Expire tagged images older than 10 days", "selection": { "tagPrefixList": [ "history" ], "tagStatus": "tagged", "countType": "sinceImagePushed...
exim -Mvc $messageid # print all frozen messages exiqgrep -z -i | xargs -n 1 exim -Mvc | less Delete frozen mails in the queue Maybe you should check which messages...
...network cards, try and match the driver to the interface name: $ ip link show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default...
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eno1np0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode...
...following snippet: echo -n "md5"; echo -n "${PG_PASSWORD}${PG_USERNAME}" | md5sum | awk '{print $1...
...which might not work for testing directly on the VM. $ curl -v http://localhost:12345 * Trying 127.0.0.1:12345... * TCP_NODELAY set * Connected to localhost (127.0.0.1) port 12345 (#0) > GET / HTTP/1.1...
...Host: localhost:12345 > User-Agent: curl/7.68.0 > Accept: */* > * Mark bundle as not supporting multiuse < HTTP/1.1 301 Moved Permanently < Date: Wed, 26 Apr 2023 06:38:09 GMT < Server: Apache
...the endpoint from our notebook. Fixture JSON file: { "categories":[], "created_at":"2020-01-05 13:42:21.795084", "icon_url":"https://assets.chucknorris.host/img/avatar/chuck-norris.png", "id":"02e1usSQT_yO1AahT6meRg", "updated_at...
...13:42:21.795084", "url":"https://api.chucknorris.io/jokes/02e1usSQT_yO1AahT6meRg", "value":"Paul McCartney eats a vegan diet all the time -- except when he eats in the presence of Chuck Norris." } # spec/chuck_norris_spec.rb require 'webmock/rspec...
...one of our servers is trying to access the database. # journalctl -u mariadb Dec 16 00:00:03 cool-server mariadbd[788]: 2022-12-16 0:00:03 34996 [Warning...
...Access denied for user 'root'@'localhost' (using password: NO) Dec 17 00:00:02 cool-server mariadbd[788]: 2022-12-17 0:00:02 89012 [Warning] Access denied for user...
...gitlab-rails console. Remove GitLab Labels from already closed Issues p = Project.find_by_id(1) labels_to_remove = [3, 4, 1, 84, 86] # Scheduled, Active, This Week, One Week, Two...
...Active, This Week, One Week, Two Weeks with the respective label ids 3, 4, 1, 84, 86 which leads to the above code snipped...
...increase test_types_hash_bucket_size: 64 nginx: configuration file /etc/nginx/nginx.conf test failed Option 1: Use gzip_types *; If you don't care about which MIME type gets the gzip...
If you imagine there is something like ncdu or du -ha -d 1 /foo/bar you're wrong. If you want to get the size of all subdirs you...
Create a 1 GB file to swap to (we have sufficient space on / on this machine. Use a different partition if necessary) sudo dd if=/dev/zero of=/var/swapfile bs=1M...
If you prefer 2GB swap, chose count=2048, 4GB: count=4096 Change permissions of swap file: sudo chmod 0600 /var/swapfile Set up swap file and enable it:
...the environment variable PIPESTATUS So you can just echo ${PIPESTATUS[@]} to get them all. 13:52:30 ✔ claus:~$ ps ax | grep /usr/bin/ruby 13205 pts/20 S+ 0:00 grep --color=auto...
13:52:43 ✔ claus:~$ echo ${PIPESTATUS[@]} 0 0 PIPESTATUS is an array, so you can get the exitcode of an specific command (first pipe): 13:54:20 ✔ claus:~$ echo...
Best results in other decks
...USA), Singapur(Singapur), Dublin(Irland), (bestimme den Preis selbst) Dieter und Judith reisen für 14 Tage nach New York Karl reist für 30 Tage nach Singapur Maria reist für...
...Tage nach Dublin und 7 Tage nach New York Judith reist 14 Tage nach Singapur Lass dir mit einem SELECT alle Urlaube anzeigen. Dabei sollen folgende columns sichtbar sein: Vorname...
...options[$storeId] = $collection->toOptionArray(); $this->_optionsDefault[$storeId] = $collection->toOptionArray('default_value'); Speed improved from 1.3ms to 0.7ms: class Sxxx_Xxgs_Model_Resource_Catalog_Product_Option_Collection extends Mage...
...Mage::app()->getCache(), $idPrefix, $tags) ; return $this->_toOptionHash('title', 'option_id'); } } From 3ms to 1ms: /** * Return hash key in iso3 or default iso2. * Always use cache. To flush, click button...