The Implamantation of the Html in Joomla 2.5 is described in this gist.
A Pen by Hans Spieß. License.
The Implamantation of the Html in Joomla 2.5 is described in this gist.
A Pen by Hans Spieß. License.
<!DOCTYPE html> | |
<html> | |
<head> | |
<link href="http://cdnjs.cloudflare.com/ajax/libs/foundation/5.0.3/css/normalize.min.css" rel="stylesheet" type="text/css" /> | |
<link href="http://cdnjs.cloudflare.com/ajax/libs/foundation/5.0.3/css/foundation.min.css" rel="stylesheet" type="text/css" /> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/foundation/5.0.3/js/vendor/jquery.min.js"></script> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/foundation/5.0.3/js/foundation.min.js"></script> | |
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?key=AIzaSyDEbRv070GUYNDHSrK8FzNPakJKl3wBmeg&sensor=TRUE"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> |
Every chapter of eloquentjavascript.net has some exercises, which i keep here for reference. |
# download & unzip latest, to be executed in /sites folder | |
wget http://wordpress.org/latest.tar.gz && tar xfz latest.tar.gz && rm latest.tar.gz | |
# move to theme directory | |
cd wordpress/wp-content/themes/ | |
# clone sage theme: https://roots.io/sage/ | |
git clone https://github.com/roots/sage.git theme-name | |
# delete standard themes |
{ | |
"enable_tab_scrolling": true, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
// theming & colors | |
"color_scheme": "Packages/Base16 Color Schemes/base16-ocean.dark.tmTheme", |
curl -L http://npmjs.org/install.sh | sudo sh |
# find all php.ini files on machine from terminal. | |
mdfind php.ini | grep php.ini | |
# copy local file to remote machine via scp | |
scp -P 92 /path/filename.ext [email protected]:~/path | |
# delete non-empty directory | |
rm -rf <dirname> | |
# unzip zip file in current dir |
<?php | |
// get args from command line | |
// http://stackoverflow.com/questions/6826718/pass-variable-to-php-script-running-from-command-line | |
if ( defined('STDIN') ) { | |
$dir = $argv[1] ? $argv[1] : './'; | |
$ext = $argv[2] ? $argv[2] : 'html'; | |
} else { | |
die( 'not on a local machine.' ); | |
} |
<?php | |
define'ABSPATH', dirname__FILE__ ; | |
require_onceABSPATH '../path/to/wp-config.php'; |