cURL and the Cloudinary API

I was looking for a way to check Exif data on images I had uploaded to Cloudinary without having to write code. Turns out that cURL works perfectly here.​ You can add whatever bits to the end of the request string that suite your needs.  I was looking for Exif.

​The following cURL command should return back to you a nice JSON response (after setting the correct cloud name, API key and API secret of your account of course):

Authentication is realized via Basic Authentication over secure HTTP. Your Cloudinary API Key and API Secret are used for the authentication.

I was unable to get the -d option of cURL to work correctly so instead I encased the entire request in a matching set of ' '.  YMMV.

How to Reset Your Jawbone UP Band

I've been using the Jawbone UP Band for a bit now and ran into an issue where I could not get the band to sync with my iPhone.  It also appeared that the function button wasn't accepting press input either.  After searching for an answer I came across the following solution from Jawbone.​

Soft Reset 
If your UP band’s button, lights, or vibrations are not working properly, or your band won’t charge, you can perform a Soft Reset to reboot the processor in the band, without erasing your user data.

Follow these steps:

  • Plug your USB cable into a working/powered USB port.
  • Press and hold the button on your band.
  • Continue pressing the button while you plug the band into the USB cable.
  • When the band’s lights flash yellow and red, release the button.
  • Sync your band with the app.

Hard Reset 
To erase all user data currently stored on your band and return the band to its original factory settings, perform a Hard Reset. A Hard Reset may also help fix any band performance issues that a soft reset is not able to fix.

Follow these steps:

  • Make sure your band is charged.
  • Press the button on your band 10 times.
  • On the 10th press, hold the button for 10 seconds until the red sun lights up.
  • Sync your band as you did upon first use.

[warn] NameVirtualHost *:443 has no VirtualHosts

There are two ways to eliminate this message if indeed you do not have a site running at SSL port 443.  The first way is to create a site on port 443 and add a symlink to it (use the a2ensite command to do this).  Fortunately there is one provided by default: 

$ cd /etc/apache2/sites-available
$ a2ensite default-ssl

The second way is to comment out (use the # symbol) the "Listen 443" and "NameVirtualHost *:443" lines of /etc/apache2/ports.conf ​

# Listen 443
# NameVirtualHost *:443