Create an app with Automator that shows a notification and play a sound (available here).
Put it in your /Applications folder.
Type this in a shell:
<?php | |
date_default_timezone_set("Europe/Paris"); | |
$date = exif_read_data($argv[1],"EXIF"); | |
$date = $date["DateTimeOriginal"]; | |
$time = date_parse_from_format("Y:m:d H:i:s",$date); |
Create an app with Automator that shows a notification and play a sound (available here).
Put it in your /Applications folder.
Type this in a shell:
# To create a pre-commit hook: | |
# cd .git/ && mkdir hooks && cd hooks && touch pre-commit && chmod +x pre-commit | |
# ------------------------------------------------------- | |
# PUPPET-LINT | |
# ------------------------------------------------------- | |
#!/bin/bash | |
# Requires bash, as it uses the [[ ]] syntax. | |
# |
[ | |
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" }, | |
{ "keys": ["ctrl+tab"], "command": "next_view" } | |
] |
{% capture header %} | |
{% if page.title %} | |
<meta property="og:type" content="article" /> | |
<meta property="og:title" content="{{ page.title }}" /> | |
{% else %} | |
<meta property="og:type" content="website" /> | |
{% endif %} | |
{% if site.title %} |
// Add a border and a shadow to layer in Xamarin.iOS. | |
// View is a UIView subclass. | |
// Bottom border | |
var border = new CALayer(); | |
border.Frame = new RectangleF(0, view.Frame.Height, view.Frame.Width, 1); | |
border.BackgroundColor = UIColor.Black.CGColor; | |
// Bottom gradient | |
var gradient = new CAGradientLayer(); |
#region Members | |
#endregion | |
#region Constructors | |
#endregion | |
#region Methods | |
#endregion | |
#region Properties |
#region Nested | |
#endregion | |
#region Static | |
#endregion | |
#region Constants | |
#endregion | |
#region Members |
# Set the save dialog to be in extended mode by default | |
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true | |
# Set the iCloud-using apps to not save to iCloud by default | |
# Courtesy of @room34, http://blog.room34.com/archives/5098 | |
defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false | |
# Open a new document in TextEdit (& other iCloud-backed app) directly | |
# instead of presenting the document picker. | |
defaults write -g NSShowAppCentricOpenPanelInsteadOfUntitledFile -bool false |