The -R flag drills recursively into sub folders.
The -F flag writes a trailing slash '/' after folders, and a trailing asterisk '*' after executable files.
<?php | |
// https://github.com/GerHobbelt/nicejson-php/blob/master/nicejson.php | |
// original code: http://www.daveperrett.com/articles/2008/03/11/format-json-with-php/ | |
// adapted to allow native functionality in php version >= 5.4.0 | |
/** | |
* Format a flat JSON string to make it more human-readable | |
* |
<!-- | |
This file is the Canvas URL | |
It's generated automatically | |
--> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Title</title> | |
<meta property="fb:app_id" content="474221426024929" /> | |
<meta property="og:type" content="article" /> | |
<meta property="og:title" content="Title"/> |
The -R flag drills recursively into sub folders.
The -F flag writes a trailing slash '/' after folders, and a trailing asterisk '*' after executable files.
defaults write com.apple.finder AppleShowAllFiles TRUE | |
killall Finder |
Q.Sprite.extend("Square",{ | |
init: function(p) { | |
this._super(p,{ | |
// ... | |
}); | |
this.add('box'); | |
this.on('boundaries'); | |
}, | |
boundaries: function(side) { |
try | |
{ | |
String url = "waze://?q=Hawaii"; | |
Intent intent = new Intent( Intent.ACTION_VIEW, Uri.parse( url ) ); | |
startActivity( intent ); | |
} | |
catch ( ActivityNotFoundException ex ) | |
{ | |
Intent intent = | |
new Intent( Intent.ACTION_VIEW, Uri.parse( "market://details?id=com.waze" ) ); |
youtube.com/v/video-id?controls=0&loop=1&rel=0&showinfo=0&version=3