SSL certificate problem: self signed certificate in certificate chain

Go to http://curl.haxx.se/ca/cacert.pem and download the pem file and save in your php installation directory ( make sure while saving it retains the extension and not saved as a text file )

Now, open your php.ini file, scroll to the bottom and add the following line:

[cURL] 
curl.cainfo="D:\xampp\php\cacert.pem"

Replace D:\xampp\php\cacert.pem with the actual path.

https://laracasts.com/discuss/channels/laravel/how-to-solve-curl-error-60-ssl-certificate-in-laravel-5-while-facebook-authentication

http://stackoverflow.com/questions/17478283/paypal-access-ssl-certificate-unable-to-get-local-issuer-certificate

customSelect plugin with hidden elements

There is a problem where HTML select elements that are initially hidden do not update when their value is changed.  This is because the plugin cannot get the width of the element if not on the screen.

Workaround is to only trigger the plugin on hidden elements when they become visible.  A quick way to do this is to use a customSelectHidden class on the hidden selects and when they become visible run this code…

$('.customSelectHidden:visible').removeClass('customSelectHidden').addClass('customSelect').customSelect();

Restore deleted items in Outlook

Accidents happen. When that sudden realization hits days later that you need an email message that’s long gone, the Recover Deleted Items command might save your day. You can recover some deleted items, like messages, appointments, contacts, tasks, and notes, even after the Deleted Items folder is emptied or you’ve “hard deleted” an item by pressing Shift+Delete. This feature requires a Microsoft Exchange Server account and doesn’t work with POP3 or Internet Message Access Protocol (IMAP) accounts.
If you’re using Office 365 or another Exchange-based client, you can also restore deleted items using Outlook Web App. For more information, see Recover deleted messages or items in Outlook Web App.
  1. Click Folder > Recover Deleted Items.Recover Deleted Item command on the ribbonIf you don’t see Recover Deleted Items, you’re probably not using an Exchange account or you don’t have a folder selected in that account.
  2. Click the message you want to recover, and then click Recover Selected Items Button image. Tip    To select multiple items, press Ctrl as you click each item, and then click Recover Selected Items Button image.Recovered items are restored to the folder you’re working in.

Note    Your Exchange administrator specifies the retention time for deleted items. After this time elapses, deleted items cannot be restored.