Blogs

Adminimal CSS fixes

After a recent update to the Adminimal Drupal theme (Adminimal 7.x-1.25), some CSS issues arose. Put these CSS fixes in a CSS injector entry only for the Adminimal theme.

Issues

On some admin screens, the save buttons are too short. Box sizing is the culprint. Was content-box. Now is border-box. The latter is probably correct. But it breaks the layout.

Fixing a phone that had become unregistered

I accidentally plugged a powered headphone cable into my Moto e4+. I don't know how much power was on the cable but it was enough to cause my phone to lock up and then reboot.

Afterwards, it would not connect to the cell phone network. Text messages could be received but no calls in or out. The cell phone status indicator would cycle between connected and not connected. When "connected" calls would not go out.

Wifi was working fine.

When I checked with my cell phone service provider I saw my phone was included in the active and in the inactive lists. 

Upgrade PHP on Ubuntu 14

Starting with PHP 5.5.9 on Ubuntu 14. Upgrade PHP to 7.2

sudo add-apt-repository ppa:ondrej/php -y
sudo apt-get update -y
sudo apt-get install php7.2 php-pear php7.2-curl php7.2-dev php7.2-gd php7.2-mbstring php7.2-zip php7.2-mysql php7.2-xml
sudo apt-get install libapache2-mod-php7.2 -y

sudo a2dismod php5
sudo a2enmod php7.2
sudo service apache2 restart

Got recommendation to add apache2 repo as well. Complied.

Initial tests showing everything working as before. 

Website performance seems faster.

Specify fonts for BIRT PDF report

Assume you have used the Calibri font at design-time.

Extract the fontsConfig file. The actual version number of the birt runtime will be different for you installation.

cd /var/lib/tomcat7/webapps/birt/WEB-INF/lib
jar xf org.eclipse.birt.runtime_3.7.2.v20120214-1408.jar fontsConfig.xml

Assume under Ubuntu linux you have added the Calibri fonts to the folder /usr/share/fonts/truetype/calibri. The permissions of this folder should look like

Pages

Subscribe to Blogs