Quickly searching in bookmarks and history using address bar in Chrome

  1. Access the Chrome address bar and type chrome://settings/searchEngines.
  2. Locate the “Other search engines” section and hit the “Add” button to the right.
  3. Fill
    1. Bookmarks” into the field “Search engine“.
    2. b” into the field “Keyword“.
    3. chrome://bookmarks?q=%s” into the field “URL with %s in place of query“.
  4. Hit the “Add” button and now you get a quick bookmarks search shortcut in the address bar.
  5. To search bookmarks, access the Chrome address bar and type “b <search keyword>” and you will invoke the bookmarks search feature.
  6. Repeat steps 2 to 4 for history by filling:
    1. History” into the field “Search engine“.
    2. h” into the field “Keyword“.
    3. chrome://history?q=%s” into the field “URL with %s in place of query“.
  7. To search history, access the Chrome address bar and type “h <search keyword>” and you will invoke the history search feature.

A good example of great customer service



Decathlon has recently opened a couple of stores in HK.  So far I have good experience shopping in the physical stores.  Good products, good prices and nice staff.  Decathlon also tries to make shopping experience smooth.  For example, she puts small panels for shoppers to look at product information and availability.  Shoppers could also use their mobile phones to scan the product QR codes.  They can easily read comments of products along the course of shopping.  That certainly makes the shopping experience more engaging.  For me, I feel a lot greater to read comments than not when I am considering buying something.

Then one day, I visited her online shop, starting to look at some products that I am interested.  As usual, right, being an online shopper, I read the review comments.  Then, I read the following for an inflatable camping mattress,

this mattress is very heavy and the weight is not mentioned in the specification, i dont recommend it for either camping or hiking, wonder what is it good for as an inflatable mattress, i would like to return it.
Oh my …! It is unbelievable that something heavy is not specified with the weight!  That bounced me back a little bit though there have been a few other better comments boosting my buying incentive.
Of course, I read along.  There is a reply from the customer service.  It reads,
Hi Darshan,

Thank you for your feedback on the Arpenaz Air Comfort 140 mattress. I understand your frustration as I came to know that the weight description of the mattress is missing on the website. This is an error from our end and should be rectified soon and I apologize for any inconvenience caused. In the meantime, I would like to suggest the possible uses of the mattress. This is a mattress ideal for car camping and when you only have to walk short distance to reach the camp site. The Air mattresses provide more cushion when compared to hiking mats and therefore are more comfortable but at the cost of weight. But if you are someone who would like a light mattress for hiking then I suggest you have a look at our range of Forclaz hiking mats.
Furthermore, please feel free to return the mattress to your nearest Decathlon store for an exchange or refund if it is in saleable condition.
I am at your disposal in case of more questions.

Best Regards,
Ravindra Charan
Product Trainer & Community Manager-Mountain Sports

Great!  It immediately pulled me off from that little “bounce back”.  I found the reply a good example of how great customer service results when simple bits of “right-doings” come together.
I appreciate the reply in terms of:
  1. It admits immediately the error with an apology, pledging to fix the error.  This immediately calms the complainer down.
  2. Next, it explains the usage by design (“ideal for car camping”).  That tells why physically the mattress is so heavy.  Psychologically, it fulfills the imbalance in the customer expectation between “camping mattress should be light” and “the mattress I bought is heavy”.  In fewer words, it makes the customer logically fulfilled.
  3. Then, it provides an option that “makes sense” for the customer.
  4. Lastly, it tells the customer, “You won’t be penalized for our error.  You can return or exchange it (probably with the other option).”  That perfectly remedied the last bit of dissatisfaction over “loss”.

And naturally, the reply was tagged by the customer as “found helpful”.  Great customer service.

Shrink an LVM volume

Technical, Technology

First, boot your machine up using a SystemRescueCD.  Then follow the command sequence below.

# Make any logical volume available to Linux
vgchange -a y
# Force a filesystem check for the target volume
e2fsck -f /dev/mapper/vg_server1-lv_root
# Resize the filesystem (a safer measure is to resize it to 10% less than your target size)
resize2fs /dev/mapper/vg_server1-lv_root 90G
# Reduce the LV size (to your target size)
lvreduce -L 100G /dev/mapper/vg_server1-lv_root
# Resize the inner filesystem to fit the LV
resize2fs /dev/mapper/vg_server1-lv_root
# If you have a few LVs and you do the above for all, chances are you are left with a PV having a few fragmented LVs
# The command below sees how the LVs are arranged
pvs -v --segments /dev/sda2
# Move the fragmented LVs back to the front
pvmove --alloc anywhere /dev/sda2:<src-from>-<src-to> /dev/sda2:<dest-from>-<dest-to>
# Shrink the PV
pvresize --setphysicalvolumesize 64G /dev/sda2
# Then use GPartEd in X-windows to resize the partition

References: [1] [2]