[pdf issuu_pdf_id=”140327143047-86dbdac2750a4fa883b13e0df8cb290b” layout=”1″ bgcolor=”FFFFFF” allow_full_screen_=”1″ flip_timelaps=”6000″ ] The plugin is installed from: http://wordpress.org/plugins/issuu-pdf-sync/ but not in Ipad. I guess it is flash based, so we hope for future release that will support Ipad, Iphone and other mobile units…

I tried to upgrade Moodle 2.2.1 to 2.6.2+ and got this error message: Default exception handler: DDL sql execution error Debug: Data truncated for column ‘institution’ at row 999 ALTER TABLE mdl_user MODIFY COLUMN institution VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT ” after phone2 Error code: ddlexecuteerror The solution was to run

Date and time is useful. You might want your script to check if it is Monday today, or if the script ran 2 days ago. Maybe you need to save a file with the current date and time. Here are some variables that I use to put in my bash scripts: [bash] TODAY=$(date|awk ‘{ print

If you just need a quick way to get some data from a mysql database in your shell (bash), you could do something like this in one line: mysql -h your.server.edu -u db_username -p`cat /path/to/your/homedir/secretpasswordfile` -e “;use databasename; SELECT tablename.columnname FROM tablename where id like ‘421111’ and something like ‘1’ and option like ’23’;”; >

If you have a remote git repo, and you want to delete a branch there, you can do: [bash] # if you want to delete the branch locally first, do: git branch -D branchname #  then also remotely git push origin –delete branchname [/bash]