Nov 30, 2013

How to Change the Date of your Digital Photographs

John Q. Public has just finished importing the videos and pictures from the digital camera to his laptop but realizes that the media files are incorrectly time-stamped.


Maybe the date and time settings of his “point and shoot” camera were set incorrectly or maybe the digital camera was stamping the files with local time though the pictures were being shot in another country with a different time zone. He probably forgot to change the time stamp of the camera before going on vacation.


How does John change the data and time of his pictures?


Most image editing software, Picasa and iPhoto included, allow you corect the data and time of photographs imported from a digital camera or a smartphone. You can import your digital photos in the software and select the ones that need to be fixed.


In the case of Picasa, choose Tools -> Adjust Date & Time and select a new date for your photos. This will change the “Date Picture Taken” field in the EXIF data of you picturs. Similarly, iPhoto users can choose Photos -> Adjust Date & Time to set the selected photos to a particular date and time.


I however prefer a little-known command line utilitly called ExifTool for such operations since it is much more versatile. To get started, download the ExifTool executable and extract the zip file to your desktop. Now rename the exiftool(-k).exe utility to exiftool.exe and we are all set to adjust the date and time of our photographs.


Unlike the iPhoto or Picasa software that simply set the date and time of a photograph to another time stamp, Exif Tool can “shift” the data and time values associated with a picture. For instance, if your camera’s time was off by 2 hours 30 minutes at the time of capture, you can use ExifTool to shift the time stamp of all your pictures only by that “off” duration.


The sytax is:



exiftool.exe "-DateTimeOriginal+=Y:M:D h:m:s" filename.jpg

For instance, if wish to shift the time of photographs by 5 hours and 30 minutes, the command would be:



exiftool.exe "-DateTimeOriginal+=0:0:0 5:30:0" filename.jpg

And if you wish to perform a negative shift by 1 day, the command would be:



exiftool.exe "-DateTimeOriginal-=0:1:0 0:0:0" filename.jpg

Please refer to this document for the exact syntax and other examples.


Exif Tool is free and available for Windows, Mac and Linux.




This story, How to Change the Date of your Digital Photographs, was originally published at Digital Inspiration on 29/11/2013 under Image Editing, Software



via Digital Inspiration Technology Blog http://www.labnol.org/software/change-date-of-pictures/28336/

Nov 29, 2013

How to Make the New Google Maps Embeds Responsive

Responsive Google Maps resize automatically based on the screen size

Responsive Google Maps – The maps automatically resize based on the screen size.



The new Google Maps now offer you can option to embed maps in your web pages. While you are on the Google Maps website, zoom-in to an area that you wish to embed, click the Gear icon in the lower left corner and choose the Embed Maps option from the menu.


This web page contains a sample map embedded using the default embed code provided by Google Maps. The embedded map is non-responsive. What it means is if you open the page on a device other than your desktop computer, the Google Map won’t fit the screen and you’ll have to scroll the page horizontally to see the complete map.


Here’s another web page that contains the same Google Map but now the map has been embedded responsively. Thus, if you resize the browser or view the page on a small device, the embedded map would adjust its size automatically based on your screen size.


How to Embed Google Maps Responsively


This is the default embed code for the new Google Maps:



<!-- Height=450px; Width=600px -->
<iframe src="https://www.google.com/maps/embed?pb=!1m14!1m12!1m3!1d7098.94326104394!2d78.0430654485247!3d27.172909818538997!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!5e0!3m2!1sen!2s!4v1385710909804" width="600" height="450" frameborder="0" style="border:0"></iframe>

As specified in the height and width parameters of the embed code, the default height for medium embeds is 450px or 75% of the default width (600px).


If you wish to transform this static sized Google Map into one that is responsive, all you have to do is add a few CSS rules to your web page and wrap the embed IFRAME inside these rules.


The new embed code with responsive style will be something like this. You can change the value of padding-bottom (line #4) from 75% to something for a different aspect ratio.



<style>
.google-maps {
position: relative;
padding-bottom: 75%; // This is the aspect ratio
height: 0;
overflow: hidden;
}
.google-maps iframe {
position: absolute;
top: 0;
left: 0;
width: 100% !important;
height: 100% !important;
}
</style>

<div class="google-maps">
<iframe src="https://www.google.com/maps/embed?pb=!1m14!1m12!1m3!1d7098.94326104394!2d78.0430654485247!3d27.172909818538997!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!5e0!3m2!1sen!2s!4v1385710909804" width="600" height="450" frameborder="0" style="border:0"></iframe>
</div>

A similar technique can be used to embed Instagram videos and photos responsively.




This story, How to Make the New Google Maps Embeds Responsive, was originally published at Digital Inspiration on 29/11/2013 under Embed, Google Maps, Internet



via Digital Inspiration Technology Blog http://www.labnol.org/internet/embed-responsive-google-maps/28333/

Nov 28, 2013

Linux Deepin 2013 Available For Download [Video, Screenshots]




Linux Deepin 2013 has been released with various improvements and enhancements as well as two new applications: Deepin Terminal and Deepin Game Center.




For those not familiar with Linux Deepin, this is a chinese Linux distribution (English ISO files are available as well) based on Ubuntu that ships with its own desktop environment based on Compiz and various applications especially designed for it, which integrate with the overall Linux Deepin look and feel.



Linux Deepin 2013 is based on Ubuntu 13.04 and it retains the main features of the previous releases: the application launcher that lets you quickly create a desktop shortcut or add an application to the dock via right click, the dock with live window previews and the stylish notifications that can be closed so they never get in your way:













Application launcher & dock












Notifications

With Linux Deepin 12.12.1, a Notification Center was introduced with lets you see a list of recent notifications:












Notification Center







Quick Linux Deepin 2013 overview




Below you can watch a quick Linux Deepin 2013 video overview:





(direct video link)





Changes in Linux Deepin 2013




With Linux Deepin 2013, two new applications have been added by default (especially created for Linux Deepin): Deepin Terminal and Deepin Game Center:









Deepin Terminal includes features found in Terminator such as horizontal and vertical split as well as a cool workspace switcher as well as other features such as a SSH connection tool and more.



Deepin Game Center is an application you can use to play various online Flash games. Unfortunately, most of the game descriptions are in Chinese.



Other changes include:


  • updated default theme;

  • Software Center improvements (for instance, crucial system packages are protected so they can't be removed by the user);

  • DSnapshot now supports moving and resizing the selected area using the arrow keys;

  • improved power management: when watching videos in fullscreen in the browser, the display won't be turned off;

  • the Notification Center no longer logs notifications from blacklisted applications;

  • users can now log in using face recognition;

  • the dock now supports Unity quicklists;

  • the default key to bring up the application menu is now set to the Super (Windows) key;

  • users can choose whether removable devices should be mounted when plugged in;

  • according to the official release announcement, 336 bugs have been fixed since the release of.






Default applications













DMusic












DPlayer












Software Center



Linux Deepin 2013 ships with its own software center, screenshot tool (DSnapshot), music player (DMusic), video player (DPlayer) and, starting with this release, a terminal emulator and game center. But it also features applications such as: Nautilus (3.8.1), LibreOffice 4.0.2, Kingsoft Office 2013, Firefox 25.0.1, Thunderbird 24.1.1, Pidgin 2.10.7, Skype 4.3.0.11 and Google Chrome 31, among others. Furthermore, Linux Deepin comes with codecs as well as Adobe Flash installed by default, along with a proprietary Wireless Drivers setup tool.



Under the hood, Linux Deepin 12.12 uses GTK 3.8.2 - unlike Ubuntu 13.04 which ships with GTK 3.6 -, a patched Compiz 0.9.99+git, the Ubuntu Kernel 3.8.0, based on the upstream Linux Kernel 3.8.5, and Xorg server 1.13.3.





Here are a few more Linux Deepin 2013 screenshots:
































Download Linux Deepin 2013











via Web Upd8 - Ubuntu / Linux blog http://feedproxy.google.com/~r/webupd8/~3/VkpvTWVoMMU/linux-deepin-2013-available-for.html

Save Up To 80% On Steam Thanks To The Steam Autumn Sale




Quick update for Steam users: Valve has launched the "Steam Autumn Sale" and many games available for Linux (not only, obviously) can be purchased with discounts of up to 80% or maybe even more, depending on the upcoming daily deals and flash sales.




As an example, here's the discount available today for some of the most popular games available for Linux:


  • Metro Last Light: -33%

  • Dark Matter: -50%

  • Arma Tactics: -25%

  • Super Meat Boy: -66%

  • Portal: -75%

  • Euro Truck Simulator 2: -66%

  • Left 4 Dead 2: -75%

  • All Counter Strike games: -50% (note: CS: GO is not yet available for Linux)




The Steam Autumn Sale will end on December 3.






via Web Upd8 - Ubuntu / Linux blog http://feedproxy.google.com/~r/webupd8/~3/E1wxsUN_5_g/save-up-to-80-on-steam-thanks-to-steam.html

Nov 27, 2013

Y PPA Manager 0.9.9.2 Adds Support For Linux Mint 16 And Ubuntu 14.04

Quick update: today I've released Y PPA Manager 0.9.9.2 which adds support for Ubuntu 14.04 LTS Trusty Tahr and Linux Mint 16 Petra.







This took a while because Linux Mint 16 ships with its own "add-apt-repository -y" command which has a bug and can't be used with gksu or pkexec so I had to find a work-around.



The new version also brings a few bug fixes and a minor but useful new feature (suggested by брайков): an "install" button was added under Manage PPAs -> List Packages so you can now easily install packages listed in PPAs already added on your system, from Y PPA Manager.



For those not familiar with Y PPA Manager, this is a tool that lets you manage Launchpad PPAs: add, remove or purge PPAs, search for packages in Launchpad PPAs as well as other useful features:


  • list the packages available in a PPA added on your system;

  • download packages from PPAs without adding them;

  • PPAs backup / restore, along with all the PPA keys;

  • update single repositories using a command line tool (by the way, when you add a PPA using Y PPA Manager, it's updated without updating all the software sources) called "update-ppa" - usage example: "sudo update-ppa ppa:webupd8team/java";

  • some options that should help you re-enable the working PPAs when upgrading to a newer Ubuntu / Linux Mint version;

  • remove duplicate PPAs;

  • Unity quicklists / optional AppIndicator;

  • more.






Install Y PPA Manager




To install Y PPA Manager in Ubuntu or Linux Mint, use the following commands:




sudo add-apt-repository ppa:webupd8team/y-ppa-manager
sudo apt-get update
sudo apt-get install y-ppa-manager




You can submit feature requests or report bugs @ Launchpad.






via Web Upd8 - Ubuntu / Linux blog http://feedproxy.google.com/~r/webupd8/~3/QjYZvU2Y1Rc/y-ppa-manager-0992-adds-support-for.html