[How-to-Fix] Bold / Italic not showing in Epubs

Making Epubs is a pain in the ass. You can't just convert a PDF into an Epub that can be used effectively for e-readers as it requires style formatting and further editing. One thing that was super annoying was that Bold & Italic text wasn't showing properly. The Epub worked fine in Adobe Digital Editions, but the font style didn't show up correctly in Calibre.

One way to fix this is to manually dig into the Epub and change the CSS (rename the file's extension from .epub to .zip or .rar -> open it -> find "template.css" -> edit the CSS in an editor such as Dreamweaver -> save -> rename file extention back to .epub). This option is very tedious and sensitive to errors, but it does the job.

Later I found out it could have been fixed way easier... Upon exporting your Epub in InDesign, go to the Contents tab and Uncheck "Include Embeddable Fonts". This is very counter intuitive as you might think you would want to embed any fonts for it to be able to display your fonts properly.


Anyway, easy fix... took me hours to figure out... hopefully I can save someone some headaches :)


[How] Premiere: Avi File; No Video, Only Audio

Herpderp! I had some trouble importing AVI files to Adobe Premiere. It would only import the audio file and not the video. Same thing in Windows Media Player; no video, only audio, but it worked fine when I opened the file in VLC. Frustrated, tried to convert it to other formats, changing file extensions, installed additional codecs... nothing worked!! After 30 minutes of screwing around I figured it out.

The video was recorded using Fraps at my school, but I was editing the video at home and I didn't have Fraps installed. Apparently, videos recorded by Fraps sometimes require the FPS1 codec from Fraps. So Installing Fraps would also install the FPS1 codec. After that the video worked in Windows Media Player and worked in Premiere!! Yaaaaay!!


[How-to-Fix] Working with InDesign to export ePub


I started working on an eBook with InDesign a few weeks back. InDesign has an option to export your document to an ePub file which can be used for eBook readers. If you don't have a reader to test it on, you can download the Adobe Digital Editions on your computer for free! Or even better... Use Calibre to manage your ebooks or test your epubs on virtual devices!

Anyway, exporting to ePub is quite easy, but you need to pay attention to how you format your documents. For example, page layouts are different, page breaks and returns aren't included, fonts paragraph/character styles, etc. I found a very nice guide from CreativePro, which explains these problems and gives you solutions on how to fix it :D
Indesign ePub Guide Part 1 | Part 2

The most annoying thing however, is that InDesign (CS5.5) doesn't export your table styles. The guide suggests manually editing the CSS file after exporting, which is a pain in the ass. To do this, export your document to ePub. Rename your file from .epub to .zip. Open the file and locate the CSS file.
It's a drag... but it's the only solution that I could find on the web until Adobe fixes this in the new CS version.


[How-to-Fix] Processing & JMyron = BSOD


Back during my graduation project at the TU/e, I worked on building a system to create smoother robot motion through an operator-based interface using computer vision and Processing. The setup was to track the robot from above with a camera and have the motion controlled by having the operator selecting various points on the computer to create a motion path.

To realize this, I used Processing and the JMyron Library to track the robot with color recognition. BUT, there was a huge problem when I tried to get JMyron to work... Every time when I tried to run the code, my computer would get a blue screen and crash. I tried switching webcams, but still not luck. Google didn't help either, as I wasn't able to find a reason/solution for the blue screen to appear.

There was a forum a post pointing out that Logitech webcams might be the cause for the problem. Guess which brand of webcams I had...? So, I went to the store got a Microsoft Lifecam Cinema (720p) and everything worked perfectly! No more blue screen!! Also the camera is pretty awesome as well!

tl;dr, don't use Logitech cams if you're planning to use Processing and JMyron :)


Gplus.to

[How-to-Fix] Shorten Google+ URL

Google+ doesn't have the option (yet), like Facebook, to shorten and customize the URL of your profile.
A way to create one is through a third party site Gplus.to. Simply add your desired name and your Google+ ID and voila! Don't forget to add me http://gplus.to/ElwinLee :D
Gplus.to

Source: http://itpromate.com/2011/07/how-to-shorten-your-google-profile-url/


[How-to-Fix] WampServer Unable to Put Online

WampServer is a Windows web development environment. It allows you to create web applications with Apache, PHP and the MySQL database. It also comes with PHPMyAdmin to easily manage your databases. I was trying to install it and run the server, but for some reason it wouldn't go online. The problem was that WampServer and Skype were trying to access the same port (80).

To fix this, go to Skype > Tools > Options > Advanced > Connection and uncheck "Use port 80 and 443 as alternatives for incoming connections". You'll be able to launch the server now :)


[How-to-Fix] Catalyst Control Center & Native Resolution

My 23" Dell SP2309W has a native resolution of 2048x1152 and worked fine until yesterday when I tried to update the driver of my ATI Radeon HD 5700 graphic card. After updating, the highest resolution I could select was 1920x1080 and I was unable to set the resolution back to the native 2048x1152 resolution. This was driving me crazy, because everything was all blurry in 1920x1080 :(

The problem seems to occur when you have multiple screens connected to your PC; in my case I have my Dell monitor and my Samsung TV connected to my desktop. Before, my Dell was my primary and my Samsung was my secondary screen, but after the update my Samsung became the primary and my Dell the secondary. Apparently, after updating the drivers, ATI's Catalyst Control Center sometimes selects a different screen as your primary which results that my PC wasn't showing up the native resolution of my 23" monitor. To make it worse, your screen is duplicated across both screens, so it's not apparent that the index of your screens are changed or what so ever.

Anyway, to fix this, just disable your 2nd screen or make your monitor; with the higher native resolution, your primary! Easy as that, but it's not very obvious :)


[How-to-Fix] Chrome Adblock & Youtube Auto HD

Great extensions if you're using Google Chrome! :)

AdBlock

null

AdBlock for Chrome! Block all advertisements on all web pages, even Facebook and Youtube. Your browser is automatically updated with additions to the filter: just click Install, then visit your favorite website and see the ads disappear!

Auto HD for YouTube

null

Auto HD! With this extension all youtube video start playing in HD. In addition you can specify if you want the player widened.


[How-to-Fix] Joomla!: Enabling Object, Embed & Iframe

Joomla blacklists <object>, <embed> & <iframe> by default for security reasons and filters out and removes these tags from your articles if you try to add them in your content. The iframe and embed options are useful to integrate e.g. Google Maps and Youtube. There's a solution to disable the filtering by de-selecting certain user groups in joomla as blacklisted for filtering. This didn't work for me though.

Instead, here's a method to get it to work by diving into the PHP file itself. To disable the filtering, edit the filter PHP file and remove the tags from the blacklist.

Path: libraries\joomla\filter\filterinput.php

$tagBlacklist = array ('applet', 'body', 'bgsound', 'base', 'basefont', 'embed', 'frame', 'frameset', 'head', 'html', 'id', 'iframe', 'ilayer', 'layer', 'link', 'meta', 'name', 'object', 'script', 'style', 'title', 'xml');