I’m Ulysses. Welcome to my site.
logitech k811 page up and down
I’ve been using this keyboard for a few years, but never knew how to use page and page down. It’s … fn + up arrow = page up fn + down arrow = page down
I’m Ulysses. Welcome to my site.
I’ve been using this keyboard for a few years, but never knew how to use page and page down. It’s … fn + up arrow = page up fn + down arrow = page down
Here’s how to list reservations in GCP. gcloud compute reservations list --project project-id Specify a zone. gcloud compute reservations list \ --filter="zone:('us-central1-a')" \ --project project-id
In Windows a new line, is a CR (carriage return) followed by LF (line feed). In Linux, it’s just LF. If you bring over a text file from Windows to Linux, sometimes you’ll end up with a file with a bunch of ^M at the end of each line, which will breaks a lot of things. To fix, just run dos2unix. dos2unix file.txt
Here’s how to identify your disks on the system to cross check with GCP Dashboard. ls -l /dev/disk/by-id Result: [root@servername ~]# ls -l /dev/disk/by-id total 0 lrwxrwxrwx. 1 root root 9 Sep 15 05:30 google-boot -> ../../sda lrwxrwxrwx. 1 root root 10 Sep 15 05:30 google-boot-part1 -> ../../sda1 lrwxrwxrwx. 1 root root 9 Sep 15 05:30 google-persistent-disk-1 -> ../../sdb lrwxrwxrwx. 1 root root 9 Sep 15 05:30 scsi-0Google_PersistentDisk_boot -> ../../sda lrwxrwxrwx. 1 root root 10 Sep 15 05:30 scsi-0Google_PersistentDisk_boot-part1 -> ../../sda1 lrwxrwxrwx. 1 root root 9 Sep 15 05:30 scsi-0Google_PersistentDisk_persistent-disk-1 -> ../../sdb
Here’s how to display a list the disks attached to an instance. gcloud compute instances describe instance-name \ --project project-id \ --zone us-central1-c \ --format='yaml(disks[].source)'
Here’s how to create an instance with CUD (committed used discounts) reservations. gcloud compute instances create instance-name \ --no-address \ --private-network-ip 10.0.0.24 \ --source-machine-image=projects/project-id/global/machineImages/image-name \ --subnet=https://www.googleapis.com/compute/v1/projects/your-project/regions/us-central1/subnetworks/your-sub-network \ --machine-type=n1-standard-4 \ --reservation-affinity=specific \ --reservation=your-reservation-name \ --zone=us-central1-a \ --project=your-project-id
I’ve customized my breadcrumbs. Add code to functions.php. add_filter('genesis_breadcrumb_args', 'customize_breadcrumbs'); function customize_breadcrumbs($args) { $args['labels']['prefix'] = 'Home'; $args['home'] = ''; $args['sep'] = '/'; return $args; } Now it doesn’t say Home/Home on the front page.
Here’s how to disable the post title in Genesis WordPress themes. Add code in themes.php. add_filter( 'genesis_link_post_title', '__return_false' );
This will create a CUD (Committed Used Discounts) Reservation in GCP. gcloud compute reservations create reservation-name-us-central1-a \ --machine-type=n1-standard-4 \ --vm-count=1 \ --zone=us-central1-a \ --require-specific-reservation This creates a specific reservation instead of an open reservation.
Here’s the command to extend your regional persistent disks. gcloud compute disks resize disk-name \ --size 100 \ --project project-id \ --region us-central1 Or you can specify by zone. gcloud compute disks resize disk-name \ --size 100 \ --project project-id \ --zone us-central1-c Display the updated disk details. gcloud compute disks list \ --filter="name=disk-name" \ --project project-id Although you’ve increased disk size, the file system doesn’t know the extra space. Run this (for XFS). ...