drupalworld.blogspot.com
Drupal World: Finding fragmented MySQL tables and optimising them - bash script
http://drupalworld.blogspot.com/2011/01/finding-fragmented-mysql-tables-and.html
Thursday, 13 January 2011. Finding fragmented MySQL tables and optimising them - bash script. Note: if you just want to find fragmented tables and don't want to optimise, just comment out the "OPTIMIZE TABLE" line in the script below. Echo -n "MySQL username: " ; read username. Echo -n "MySQL password: " ; stty -echo ; read password ; stty echo ; echo. Mysql -u $username -p"$password" -NBe "SHOW DATABASES;" grep -v 'lost found' while read database ; do. If [ "$datafree" -gt 0 ] ; then. Drush makefile - i...
drupalworld.blogspot.com
Drupal World: April 2012
http://drupalworld.blogspot.com/2012_04_01_archive.html
Wednesday, 25 April 2012. OpenAid is a turnkey website platform designed and built by international public health and knowledge management experts to help small NGOs and international development projects create cost-effective program-focused websites quickly.". Links to this post. Google Drive SDK - PHP example. Https:/ developers.google.com/drive/examples/php. And extensions such as. Hmm i think I've got a Drupal module idea. Links to this post. Managing Javascript in Drupal 7. Links to this post.
drupalworld.blogspot.com
Drupal World: Find fragmented tables in MySQL
http://drupalworld.blogspot.com/2011/01/find-fragmented-tables-in-mysql.html
Wednesday, 12 January 2011. Find fragmented tables in MySQL. Over time some of your MySQL tables may end up fragmented. If you run any type of diagnostic script like mysqltuner, it will even tell you how many of your tables are fragmented. You can easily fix this by optimizing the fragmented tables. The problem is, you might not know which tables are fragmented. Here’s a quick little query you can run that will give you the tables that are fragmented and how badly fragmented they are:.
drupalworld.blogspot.com
Drupal World: Changing page.tpl based on node type
http://drupalworld.blogspot.com/2010/12/changing-pagetpl-based-on-node-type.html
Thursday, 9 December 2010. Changing page.tpl based on node type. If you use Drupal you may encounter the difficulty in setting up individual page.tpl.php for different node types. The is a simple solution to this problem but requires a few lines of code in your template.php file, found in your theme directory (/sites/all/themes/. Locate your template.php file in your theme directory. At the bottom of your template.php file enter the following code:. Function phptemplate preprocess(&$vars, $hook) {. Chang...
drupalworld.blogspot.com
Drupal World: Drush - installing jQuery UI
http://drupalworld.blogspot.com/2010/11/drush-installing-jquery-ui.html
Thursday, 25 November 2010. Drush - installing jQuery UI. From your drupal root:. Wget http:/ jquery-ui.googlecode.com/files/jquery.ui-1.6.zip. Unzip jquery.ui-1.6.zip. Cd / /./. Drush en jquery ui. Labels: drupal 6.x. Subscribe to: Post Comments (Atom). Building a blog feature with spaces, views and con. Drush makefile - installing dev versions of module. Drush - installing jQuery UI. Drush - find module names quickly. Drush - enabling modules with a space in their na. Drush - installing CCK.
drupalworld.blogspot.com
Drupal World: Drush - find module names quickly
http://drupalworld.blogspot.com/2010/11/drush-find-module-names-quickly.html
Thursday, 25 November 2010. Drush - find module names quickly. If I have a lot of modules , scrolling through the output of drush sm. If you are looking for say the "Node Reference" module you can quickly find it's drush sm. Drush sm grep "Node Reference". CCK Node Reference (nodereference) Module Not installed 6.x-2.x-dev. It's name is "nodereference" , so to enable it just do. 27 March 2013 at 03:14. Sm is now a deprecated alias. drush pm-list grep foo will do the trick. Drush - installing jQuery UI.
drupalworld.blogspot.com
Drupal World: Convert m4a to mp3
http://drupalworld.blogspot.com/2010/12/convert-m4a-to-mp3.html
Friday, 17 December 2010. Convert m4a to mp3. Via the Debian Linux Desktop survival guide. Using faad, convert the m4a to wav:. Faad -o abc.wav abc.m4a. Yes you read that right - faad has output as the first option, and input as the second option. Then using lame convert wav to mp3. Bitrate is specified with the "-b" option. Lame -h -b 192 abc.wav abc.mp3. You can combine this into a script that will convert all m4a's in a directory into mp3s. For i in *.m4a. Faad -o - "$i" lame -h -b 192 - "${i%m4a}mp3".
drupalworld.blogspot.com
Drupal World: Webform module out of memory
http://drupalworld.blogspot.com/2011/01/webform-module-out-of-memory.html
Tuesday, 25 January 2011. Webform module out of memory. The webform module will give a PHP fatal out of memory error when downloading and if your result set is rather large ( tens of thousands of records). Issue is discussed here, along with patches. Subscribe to: Post Comments (Atom). Webform module out of memory. Finding fragmented MySQL tables and optimising the. Find fragmented tables in MySQL. Find fragmented tables in MySQL. Drush - find module names quickly. Google Drive SDK - PHP example.
drupalworld.blogspot.com
Drupal World: JMeter and MySQL
http://drupalworld.blogspot.com/2011/01/jmeter-and-mysql.html
Wednesday, 12 January 2011. A How To on installation and configuration. Subscribe to: Post Comments (Atom). Webform module out of memory. Finding fragmented MySQL tables and optimising the. Find fragmented tables in MySQL. Find fragmented tables in MySQL. Drush - find module names quickly. Finding fragmented MySQL tables and optimising them - bash script. Google Drive SDK - PHP example. Changing page.tpl based on node type. Building a blog feature with spaces, views and context.
drupalworld.blogspot.com
Drupal World: mysql dumping via an ssh tunnel
http://drupalworld.blogspot.com/2010/12/mysql-dumping-via-ssh-tunnel.html
Tuesday, 21 December 2010. Mysql dumping via an ssh tunnel. First , connect to the remote mysql instance via an ssh tunnel on port 10000. Ssh -f -N -L 10000:localhost:3306 remoteuser@remoteserver. Try out the connection via the mysql client. Mysql -u remote sql user - password=remote sql pass -h 127.0.0.1 -P 10000 remote db name. Type "show databases" , and you should see a list of databases available on the remote sql instance. To dump out a database locally, quit the mysql client, and type :.
SOCIAL ENGAGEMENT