anebg 2 geek life, brainstorm, computing!

26Jan/120

A quote

"When you nourish your true character, your reputation will take care of itself."

Filed under: Uncategorized No Comments
7Sep/112

TCPDF returns an empty page with just the headers when writing HTML

First, make sure your HTML is valid.
Second, make sure your encoding is true to what your TCPDF construction, for example :

$pdf = new TCPDF('L', PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);

Is creating a UTF8 pdf document. So, before you pass in your $html variable, utf8 encode it.

$pdf->writeHTML(utf8_encode($html), true, 0, true, 0);

I use it in a site where lots of users input pasted text from MS Word, and it seems that it comes with a bunch of weird characters that break TCPDF, utf8 encoding fixed a bunch of seemingly 'random' blank generated PDFs.

1Dec/103

doubleTwist Download Failed. Please verify that you are connected to the internet. Reason: resolving hostname

This is either because of a  proxy or doubleTwist's failing servers.

You can get the full installer from here:

http://download.doubletwist.com/doubleTwistSetupFull.exe

Good luck and try out AirSync!

26Sep/108

How to remove preinstalled apps on Xperia X10 Mini Pro

With this tutorial you will be able to remove stock apps that come when you buy your phone(goldrush, wisepilot, creatouch, roadsync) for this you need to root your phone (If you haven’t –follow this simple guide).

Then…

Open the shell by running “adb shell” on your command prompt.

adb shell

Change directory to /system/app

cd /system/app

List the currently installed apps

ls

And to remove an app,  run the command

rm –r [appname].apk

The apps I uninstalled were:

rm -r rollercoaster.apk
rm -r peggle.apk
rm -r california-gold-rush.apk
rm -r roadsync.apk
rm -r creatouch-2.apk

And that is it… (Simple, right?)

Make sure to not uninstall system-wide apps such as Timescape or Homescreen, as this may break your android and you might have to reinstall stock firmware and start all over again…)

22Sep/100

.htaccess allow/deny rules for subnet

AuthName "CIRC Under Maintenance"
AuthType Basic
<Limit GET POST>
order deny,allow
deny from all
allow from 216.249.119.
allow from 216.249.123.120
</Limit>

 

Allow 216.249.119.  Works for all the addresses which begin in 216.249.119.

Allow from 216.249.119.120 Adds a different IP from a different subnet.

Filed under: Uncategorized No Comments
23Oct/080

Protected: Cumpleaños de Naoki….

This post is password protected. To view it please enter your password below:


Filed under: Uncategorized No Comments
8Aug/080

Obscura Digital’s VisionAire Technology

A few days ago I was browsing through the internet, when I stumbled upon this new technology called "VisionAire". Well, the people at Obscura Digital call it that way. Read the whole thing here:

Obscura Digital's "out of the lab" blog.

Or watch the sampler; I'm telling you, it will blow your mind, maybe: