Tuesday, April 30, 2013

Tables in Moodle appear without border lines.

Tables in Moodle 2 will tend to have this issue where users just can't get the grid lines to appear. Another description for this, is the border lines appear during editing, but is not displayed when it is saved and viewed as a normal content page.

The misleading choice was to right click and edit using "Table properties". Did not work in what ever combination that was made.

Following are steps that can be taken when creating a standard table from scratch in Moodle.

Step 1: Right click on the existing table. Choose Cell ->Table cell properties.
It does look like we are changing one cell, but bear with me to get this applied to the whole table.


Step 2: Choose the Advanced tab. Click on the Border color's colour selection box.


Step 3: Choose a colour. Better still click on Palette or Named tabs to choose a standard colour. Click Apply. In this example, Black or #000000 is choosen as the border line colour.

Step 4: At the dropdown box choose "Update all cells in table", click "Update".

Step 5: Save changes to the page where the table is added and view the table with the border lines.

Monday, April 22, 2013

Samsung S3's Android update March 2013

Just did an OTA update from Jan 2013 to Mar 2013.

Among changes known at this moment;

Lock screen security patch. Previously there is a 5 step hack to by pass the login for the lock screen.

Camera. The menu at sides now have transparent borders. Now missing 3 scene modes, which include the fireworks, backlit.

Friday, April 19, 2013

Faces of Clouds

Cloud is a big thing these last few months. Just to clear some terms that is of interest and where even so called IT experts are not able to agree on. This means, that its my personal view based on resources published by industry experts.

3 items are of interest. The first, is naming of a cloud based on its deployment. Second, clouds can further be classified based on services it provide to users. And lastly, a case study. Think of your plan to build a cloud and how it would be shaped.

A) A cloud is named based on its location or deployment.

  1. Public - Applications, storage and services made available to the general public for free or for a fee.
  2. Private - For a single organisation and decisions made centrally on resources.
  3. Community - Shared infrastructure having several organisation with specific interest that is managed internally or by a 3rd party.
  4. Hybrid - Combination of either Public, Private or Community, or all three.

B) A cloud can then be named based on its services.

  1. IaaS (Infrastructure-as-a-Service)
    1. Users install own operating system and maintain its own patches, IP addresses. - Rackspace, Amazon EC2.
    2. Users can leverage resources to sell as a service provider to their clients.
  2. PaaS (Platform-as-a-Service)
    1. Run your own application on a provider's platform
    2. Develop on a provider's platform - Google AppEngine, Oracle Cloud Platform, OpenShift.
  3. SaaS (Software-as-a-Service)
    1. Full web application - E.g. Googledocs, SalesForce, Gmail
    2. Web services (consumed by other web application) - GoogleMaps API, PayPal

C) A case study

How would you shape a cloud based on above (A) and (B) for following situation?
Lets say a government wants to setup a TeleHealth cloud. It allows any application for hospitals, clinics and government. Some of these applications are built and some bought. Geographically users are very dispersed throughout the country. 

A) Community
Why? Organisations apart from the Ministry of Health, clinics and hospitals would also include 3rd party resources for pharmaceutical, research, assets, payments.

B) PaaS

  1. By providing one or two standard platforms, all development can be better managed. Deployed applications can be made to meet security and other standards set.
  2. Many new applications/web services can be introduced by users. 


Yahoo on scheduled maintenance

Did you get any notification for this scheduled maintenance?


Tuesday, April 9, 2013

Dangers in copy and paste to CLI

A reminder for those who are trying to be smart and copy commands found on the internet or via unknown emails, the PASTE may contain dangerous commands.

See http://thejh.net/misc/website-terminal-copy-paste

WARNING, do not try the following if you do not understand dangers of hidden codes. Here below is an attempt to simulate that line to be copied.

Just copy the 1 line below and paste to the CLI, watch what happens.
/dev/null; clear; echo -n "Hello ";whoami|tr -d '\n';echo -e '!\nThat was a bad idea. Don'"'"'t copy code from websites you don'"'"'t trust!
Here'"'"'s the first line of your /etc/passwd: ';head -n1 /etc/passwd
git clone
git://git.kernel.org/pub/scm/utils/kup/kup.git

Monday, April 8, 2013

Howto troubleshoot Virtualisation with RHEVM

In the event to do troubleshooting, some of these were carried out for a recent RHEVM;

  1. In the RHEVM Administration Portal, check out the events.
  2. The command rhevm-log-collector collect download logs including from hypervisors to the /tmp folder. 
  3. Collect only RHEVM logs rhevm-log-collector collect --no-hypervisors
  4. Look at logs in /var/log/rhevm 
  5. Need to check the RHEVM database? Try  pg_dump engine -U postgres -W -f /tmp/cu_rhevm.dump -F t
  6. Check the multipath
  7. Check configuration with rhevm-config --list


 Only item I do not see is the %TEMP%/manager_hostname/log as mentioned from the RHEV website.

Additional references: http://www.howtoforge.com/virtualization-with-kvm-on-a-centos-6.2-server

Blog Archive