Category Archives: Technology

Posts related to my job or interests

Ubuntu Boot Repair

Boot-Repair is a small graphical tool to restore access to Ubuntu and other OS (Windows..). It is a free software, licensed under GNU-GPL. Boot-Repair is not officially supported by Canonical, use it at your own risks. Installing : sudo add-apt-repository ppa:yannubuntu/boot-repair sudo apt-get update && sudo apt-get install -y boot-repair && boot-repair Boot-Repair can be installed […]

Read more

How To Format A USB Flash Drive in Ubuntu (Linux)

Trying to format a USB drive in Ubuntu? So was I. The following instructions were the most helpful solution I could find.   Determine where your USB is mounted. Insert your USB Right-click the icon, properties, volume tab: take note of the mount point. It might be, for example, /media/USB Open a command prompt, type […]

Read more

UTF8 without BOM

Printing a list of files with byte order mark (BOM) character in folder : grep -rl $’\xEF\xBB\xBF’ folderName   Removing BOM from file  : tail –bytes=+4  fileName.php > fileName.php   Or just insert in your .php code next line : //Set the encoding to UTF-8, so when reading files it ignores the BOM       mb_internal_encoding(‘UTF-8’); Happy coding:)

Read more