var xhr = new XMLHttpRequest();
responseObject = JSON.parse(xhr.responseText);
console.log(responseObject);
var openFile = "weather.json"; // sample file
xhr.open('GET',openFile,true);
xhr.send(null);
The Json Object in a Chrome Console |
console.log result |
A (oh horror!) .docx file in Libre Office |
@Book{ARIS_1958,
Author={Aristoteles},
Title={Poetik},
Publisher={Hans Reitzels Forlag},
Year=1958}
etc. etc. etc. etc. etc.
Phpmyadmin > wordpress > wp_options |
It's so nice to be able to edit your themes in the File Manager |
# sudo groupadd tomandruser
Now that the group exists, add the two users to it:
# sudo usermod -a -G tomandruser tomcat6
# sudo usermod -a -G tomandruser ruser
Now all that's left is to set the permissions on the directory:
# sudo chgrp -R tomandruser /path/to/the/directory
# sudo chmod -R 770 /path/to/the/directory
Alias /wp/wp-content /var/lib/wordpress/wp-content
Alias /wp /usr/share/wordpress
Options FollowSymLinks
AllowOverride Limit Options FileInfo
DirectoryIndex index.php
Require all granted
Options FollowSymLinks
Require all granted
These aliases tell Linux where to find the different WordPress files.define('DB_NAME', 'wordpress');
define('DB_USER', 'wordpress');
define('DB_PASSWORD', '*******');
define('DB_HOST', 'localhost');
define('WP_CONTENT_DIR', '/var/lib/wordpress/wp-content');
?>
# chown -R www-data:www-data /var/lib/wordpress/
# chmod -R 755 /var/lib/wordpress/
Brazel, Aron. 2010. The WordPress Bible. Wiley Publishing. http://it-ebooks.
info/book/1887/.
Forta, Ben. 2011. MySQL Crash Course. Sams.
Mcfarland, David Sawyer. 2008. JavaScript - the Missing Manual. O’Reilly.
Wordpress.org. 2015. “Codex.” http://codex.wordpress.org.
Waiting for the Sugru to dry. And then ... XBMC on our Sony TV. |
Apache running my style tile. |
One.com settings |
# sudo nano /etc/rc.local