For at least the last 10 years, I’ve been doing what probably most guys do when it comes to hair care – the bare minimum. We use a 2-in-1 shampoo and conditioner to save time, quickly towel dry our hair, comb it and we’re done. And we do that every day. While that may seem like an innocent process, it turns out it can easily damage your hair resulting in dry, tangled, and/or frizzy hair at best. Personally, I noticed that my hair became very dry and frizzy. It also felt rough and tangled when I’d run a comb or my fingers through it. And for some reason, the front section was in worse condition than the rest. So, I decided to figure out WTF was going on and try to repair my hair since, apparently, I was unknowingly damaging it. Below are some tips that have made a big difference for me. The products below are used in the order listed.
1. Silk Pillowcase
i used to use a regular cotton pillowcase but now I use a silk one. When you sleep, your hair is constantly in contact with your pillow so having a pillow made of a super soft and silky fabric will help lessen any roughness done to your hair as you lay your head and turn around while you sleep. Plus, silk feels very good on your skin and especially your face. The pillowcase I bought is Spasilk 100% Pure Silk Facial Beauty Pillowcase which costs $20. With a 4 star rating from 764 customer reviews, apparently many other people like it as well.
To roll back (undo) a specific revision in Cornerstone, select the Advanced Merge tab and compare the revision you want to roll back against the revision you want to roll back – 1. For example, if you want to roll back revision 22570, compare it against revision 22569 as shown in the screenshot below.
When you’re developing websites at work, while you can set up a self-signed certificate to test pages over SSL, it’s better to use a trusted certificate which you can do for free if your employer has set up a CA certificate which you can sign against. Also, since certificates are only valid for one level of a domain, e.g. abdullahyahya.com is different from foo.abdullahyahya.com which is different from foo.bar.abdullahyahya.com, you can add Subject Alternative names to your certificate and wildcards like *.abdullahyahya.com, *.foo.abdullahyahya.com and *.foo.bar.abdullahyahya.com to use the same certificate over many domains.
Following are steps to set up a certificate with SANs on a Mac with Apache.
Recently I needed to clean my glass coffee table so, as most people would do, I sprayed on some glass cleaner solution and used a paper towel and began wiping the table. For some reason, I noticed a LOT of streaks on the glass and there was some kind of white rough residue all over the table. I thought it was because I used a cheap glass cleaner solution but wasn’t sure. After doing a bit of research, I was surprised to find that simple vinegar and water does a better job at cleaning glass. There’s a little more to it though so here are instructions:
The file size of PDFs can get large when you start adding a bunch of images and have lots of pages. To optimize and reduce the file size as much as possible, open the PDF in Adobe Acrobat Pro, click Save As, and choose “Adobe PDf Files, Optimized (*.pdf)”. This reduced one test PDF from 7.18 MB to 4.22 MB.
If you want to edit or sign a PDF file but can’t due to restrictions placed on it, you can unrestrict the PDF by first uploading the PDF to Google Drive, and then opening the Google Drive PDF in DocHub.
When working with Adobe Illustrator, many times you’ll find that the objects that you want to save as a JPG or SVG are on an artboard that is larger than the size of the object. If you save the the artwork, the object including the whitespace around it up to the borders of the artboard are saved. This is usually not what you want. If you want to save just the object, you need to resize the artboard to fit the borders of the object.
Below, you’ll see the artboard is bigger than the object (I clicked on View > Outline to show an outline of the object).
Click the artboard tool (Shift-O) and position your mouse cursor over the object and then double-click.
This will crop the artboard to fit the size of the object.
UPDATE: Actually, there’s an easier way. Just select the art work then choose Object > Artboards > Fit to Artwork Bounds.