$this->Post->title('stormy saturday');
Signal #2 dito sa Cavite at sobrang lamig! heheheh.
OO nga pala may update ako sa simple weather forecast plugin for WP pwede na siyang gamitin sa WP 2.5.1 ![]()

Download Link
Extrat nyo pala muna bago upload nyo lang sa plugins kalimitan sa “/wp-content/plugins/” at activate sa plugins page from admin panel.
Non-Widgets Enabled Themes ( meron pa ba nito? ) :
<?php if (function_exists('weatherforecast')) { weatherforecast(); } ?>
Widgets Enabled Themes :
Design > Widgets > Add Weather Forecast
Tags: weatherforecast wp
$this->Post->title('bug and me….');
(02:11:00) kewlburn: ano piangkaiba ng beetle sa bug?
(02:11:03) kewlburn: Buzz
(02:11:15) vladimyr: itsura
(02:11:21) kewlbur: ano yan?
(02:11:27) kewlburn: beetle?
(02:11:29) kewlburn: o bug?
(02:11:42) vladimyr: salagubang
(02:12:43) kewlburn: amp
(02:12:46) kewlburn: bug nga?
(02:12:52) vladimyr: beetle
(02:13:06) kewlburn: pero pede kong tawagin bug?
(02:13:09) kewlburn: diba diba diba?
(02:13:16) kewlburn: kase ang butterfly pedeng tawagin bug eh
(02:13:16) vladimyr: bug is i think
(02:13:23) vladimyr: is general name for insect
(02:13:24) vladimyr:
(02:13:27) kewlburn: ah ok
(02:13:33) kewlburn: so insect family naman to eh
(02:13:36) kewlburn: kaya bugsiya
(02:13:37) kewlburn: lolz
(02:13:40) vladimyr: oo bug yan
(02:13:46) vladimyr: jinumbug mo ba
(02:13:48) vladimyr: :))
(02:14:10) kewlburn08: hanef to sa joke amp
(02:14:42) vladimyr: natawa ka?
(02:14:58) kewlburn: actually natawa ako sa kakornihan mo
(02:15:07) kewlburn: epekto ng sobrang kape yan pare
(02:15:13) kewlburn: water therapy lang yan
(02:15:24) vladimyr: :))
yan si vlad kahit 2am nakukuha pang mag joke, nocturnal family ka nga…. at take note nang hihingi pa ng privacy policy yan kase nipost ko daw ang convo namin!
Tags: bug
$this->Post->title('uncaught exception: Permission denied to call method XMLHttpRequest.open');
Error I always encounter this when trying to fetch some data or info into another website using ajax. In IE its working but in FF its not.
It is not possible to fetch data from another domain. It is a security issue of Mozilla/Firefox. Latest browser will not allow to do this job. If it is a cross domain issue then the solution are to change the current configurations of your Mozilla/Firefox or avoid the approach you are going on and change it as the way as the request and response occurs in the same domain.
$this->Post->title('my custom php.ini');
Someone asked me what are the things to be consider when creating your own php.ini. I said of course disable global variables, upload / resources limits and session timeout. If you use php language then the odds are you may need to consider using a custom php.ini at some point. Here is my PHP configuration that I encourage you to have on your web server that I checked after .
Turn off Register Globals
register_globals = off
If you code with register_globals OFF, you only need to make sure you don’t leave any uninitialised variables that can be abused by attackers. But whether it’s on or off you will still need to validate any user input, so I prefer register_globals OFF, as it saves having to prefix all my variables with $_POST etc.
Avoid Opening Remote Files
allow_url_fopen = off
One of the useful abilities of PHP is the ability to open files remotely without any complex processing.
Many simple scripts use this ability, for example a comic viewer might open up images from a remote server just using the fopen function - which is ordinarily used to open files.
It is an ability has often been abused in insecure scripts though.
If you have a script which tries to open a file and the filename is controllable by a remote user two things can happen:
- Any file on the local system which the webserver can read can be viewed by the remote attacker.
- Arbitary commands can be executed upon your server if the user can cause a remote PHP file to be opened.
Disable session use_trans_sid
session.use_trans_sid = 0
PHP will add a unique PHPSESSID query pair to URIs within your site if cookies are not available and session.use_trans_sid is set. While this helps people who do not accept cookies, search engines will rank your site low.
With the release of PHP version 4.2.0 you don’t need to configure PHP with –enable-trans-sid to have transparent session support, this means that a lot more hosts will have it.
Without this feature you can usually choose between sending cookies to the visitor and modifying the URLs, with cookies being the default setting. Cookies do no harm (most of the time) but appending a query string to all URLs is quite different.
Turn on log_error and display_errors off
log_errors on
display_errors off
Disable Dangerous PHP Functions
disable_functions = proc_open , popen, disk_free_space, diskfreespace, set_time_limit, leak, tmpfile, exec, system, shell_exec, passthru
Turn on safe_mode
I highly recommend you enable safe_mode on production servers, especially in shared environments. This will stop exec functions and others that can easily prevent a security breach.
$this->Post->title('Invites + Joost + Wine = Hangover');
First of all, I want to thank Poell for inviting me to Joost.
First Try ( XP ) :
Nadownload ko na yung Joost under XP and hindi siya gumana, hindi ko din alam kung bakit. And wala akong balak alamin kung bakit. hehehe
siguro dahil sa XP ko siya ginamit.
Second Try ( Kubuntu ) :
I try to install it in Wine and the installation didn’t seem to work properly, as not all files extracted. What I am going to try and do is extract it on a Windows XP machine, and then copy the files in my Kubuntu. And then I tried to run Joost under wine, but no luck. This is what my terminal looks like:
Modules:
Module Address Debug info Name (16 modules)
PE 600000-850000 Export tvprunner
ELF 7b800000-7b926000 Export kernel32<elf>
\-PE 7b820000-7b926000 \ kernel32
ELF 7bc00000-7bc94000 Deferred ntdll<elf>
\-PE 7bc10000-7bc94000 \ ntdll
ELF 7bf00000-7bf03000 Deferred <wine-loader>
ELF 7ef9d000-7efa8000 Deferred libnss_files.so.2
ELF 7efa8000-7efb2000 Deferred libnss_nis.so.2
ELF 7efb2000-7efc8000 Deferred libnsl.so.1
ELF 7efc8000-7efee000 Deferred libm.so.6
ELF 7eff7000-7f000000 Deferred libnss_compat.so.2
ELF b7c79000-b7c7d000 Deferred libdl.so.2
ELF b7c7d000-b7db1000 Deferred libc.so.6
ELF b7db2000-b7dc5000 Deferred libpthread.so.0
ELF b7dd7000-b7ee8000 Export libwine.so.1
ELF b7eea000-b7f05000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008 (D) C:\Program Files\Joost\xulrunner\tvprunner.exe
00000009 0 <==
Dahil sa kagustuhan kong mapagana ang Joost at dahil may kaultukan pa din ako sa utak. Humanap at gumawa ako ng paraan. Ayun naisip kong tumingin mismo sa wine kung meron ba silang patch para dito. At meron nga at ito ang nakita ko.
Download you wine source here. Extract it and you need to apply the following patches:
- ntdll: use NtQueryAttributesFile in RtlDoesFileExists_U
- ntdll: NtAreMappedFilesTheSame semi stub
- ntdll: call NtAreMappedFilesTheSame to guard against duplicated loading of the same dll
- [PATCH] WineD3D: Select an onscreen context based on the thread by Stefan Dösinger
- [PATCH] WineD3D: Create multithreading contexts for swapchains by Stefan Dösinger
- [PATCH] WineD3D: When multithreading, call glFinish after drawing by Stefan Dösinger
- [PATCH] WineD3D: Select offscreen contexts for new threads by Stefan Dösinger
- dsound: zero out parameters even in case of a error
And compile
cd tools
./wineinstall
In your wine configuration Tick virtual desktop with the size of 800×600, else the picture is shifted to the bottom.
Cd into the Joost directory then run wine xulrunner/tvprunner.exe application.ini
Then after that kuha ka ng boy bawang /or wonderboy (recommended) habang nanonood.
Dell + Ubuntu Updates :
According to Eweek’s Interview with Mark Shuttleworth “Dell will not include open-source software such as Wine, which lets users run Windows programs on Linux, with the PCs it plans to bundle with Ubuntu Linux“.
As for wine user, it is very easy to install in [*]Ubuntu, so that will not be a problem for any users of these Dell laptops to get it installed.
Source : Wine AppDB
Screenshots : Flickr


$this->Post->title('Beryl 0.2.0 rc3 White Screen / Cube of Death');
Yesterday I update my beryl and after the updates, I turned it off and sleep. And first thing in the morning my wife open my pc for me. And she wakes me up wondering what happen to my desktop and tedent! A fully white display in my screen. Actually my pc continously working but there are thing that I can’t see except the white window(s), white desktop and white shadows.And here are the options on how to get your beryl worked.
- Downgrading your copy of beryl to rc1 ( I still want my new version of beryl rc3 :p kase puro na lang dowgrade, downgrade na nga wp ko pati ba naman beryl downgrade din )
- Change your rendering path from Automatic to Copy / or simply type this command into your terminal ( i tried but was slow thus it hungs my system
) :beryl-xgl --use-copy && emerald - By changing startxgl.sh from ( I recommend this one
):
#!/bin/sh/usr/bin/Xgl :1 -fullscreen -ac -br -accel xv:fbo -accel glx:pbuffer &sleep 4
export DISPLAY=:1
cookie=”$(xauth -i nextract - :0 | cut -d ‘ ‘ -f 9)”
xauth -i add :1 . “$cookie”
exec startkde
to :
#!/bin/sh/usr/bin/Xgl :0 -fullscreen -ac -br -accel xv:fbo -accel glx:pbuffer &sleep 4
export DISPLAY=:0
cookie=”$(xauth -i nextract - :0 | cut -d ‘ ‘ -f 9)”
xauth -i add :1 . “$cookie”
exec startkde
note : this is based from the error i encountered but it seems that things work properly im not saying that this is the solution if you will still encounter some error feel free to post a comment. thanks to pinsan kinz.
technorati tags:beryl, kubuntu, xgl, beryl0.2.0rc3, white+screen+of+death, white+cube+of+death
Blogged with Flock
$this->Post->title('Explore, Search and Discover using Google Earth Linux');
weeeeeh! do you want to tour Paris with your sweetheart this valentine? try Google Earth the fastest and the easiest ( and cheapiest ) way maybe. ehehehe. poell try this one eh :p. ok here’s the step on how to install it in linux.
to install
chmod +x GoogleEarthLinux.bin
./GoogleEarthLinux
to uninstall
# depends where you install your binary files but by default cd /home/<username>/google-earth
sh uninstall
technorati tags:google+earth, kubuntu, edgy
Blogged with Flock
$this->Post->title('Flock Patch 0.7.10.1 Released');
Added new features that I’m sure a lot of people are going to enjoy using it.
for those ubuntunista out there, here is the simple step installation.
sudo tar -C /opt -xzvf flock-0.7.10.1.en-US.linux-i686.tar.gz
sudo ln -s /opt/flock/flock /usr/bin/flock
create menu item sudo nano /usr/share/applications/flock.desktop
[Desktop Entry]
Encoding=UTF-8
Name=Flock
Comment=Flock Web Browser
Exec=flock
Icon=/opt/flock/icons/mozicon128.png
StartupNotify=true
Terminal=false
Type=Application
Categories=Applications;Network
Source : Flock on Ubuntu
technorati tags:flock, 0.7.10.1, kubuntu
Blogged with Flock
$this->Post->title('Installing Looking Glass 3D');
first read this for your videocard requirements. then add the following line which is suitable for you into your /etc/apt/sources.list.
for stable
deb http://javadesktop.org/lg3d/debian stable contrib
for testing
deb http://javadesktop.org/lg3d/debian testing contrib
for unstable
deb http://javadesktop.org/lg3d/debian unstable contrib
i suggest use the stable one. then update using the following command
sudo apt-get update
and install looking glass using this one
sudo apt-get install lg3d-core
you will need to accept the licenses for lg4d, jdk and java to complete the installation. and after that you need to end your session/log out and choose from gdm/kdm the looking glass session and now login. tedentttt!
Source : lg3d
Screenshot : yet another jixy’s desktop screenshot
technorati tags:lg3d, kubuntu, edgy, looking+glass+3d
Blogged with Flock
$this->Post->title('ImportError: No module named berylsettings ( Beryl Latest SVN Package )');
Traceback (most recent call last):
File "/usr/bin/beryl-settings", line 2, in ?
import berylsettings
ImportError: No module named berylsettings
i encountered that error recently…
and here is my solutions : edit /usr/bin/beryl-settings with root permission on line says
#!/usr/bin/env python
change it to
#!/usr/bin/env python2.5
enable your Treviño’s repository and type this to your console
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install beryl-settings-bindings
and if you get this ( on the above operation this will automatically install python-all but still I get this error )
Traceback (most recent call last):
File "/usr/bin/beryl-settings", line 3, in ?
import gtk
ImportError: No module named gtk
install this
sudo apt-get install python-gtk2 python-glade2
and if you get this error
Traceback (most recent call last): File "/usr/bin/beryl-settings", line 1421, in makeCategoryArea(Category) File "/usr/bin/beryl-settings", line 1268, in makeCategoryArea CatBasePixbuf = gdk.pixbuf_new_from_file_at_size("%s/%s"%
(BaseDir,CatImages[Category.Name]),IconSize,IconSize)
gobject.GError: Unrecognized image file format
something like that, install this one
sudo apt-get install librsvg2-common
note : this is based from the error i encountered but it seems that things work properly im not saying that this is the solution if you will still encounter some error feel free to post a comment
thanks to Treviño for keeping his repository/package updated. and keep up the good work!
screenshot :
technorati tags:ubuntu, linux, beryl+svn, gtk
Blogged with Flock
$this->Post->title('Alien! Raise the roof!');
Alien is a program that converts between the rpm, dpkg, stampede slp, and slackware tgz file formats. If you want to use a package from anotherdistribution than the one you have installed on your system, you can usealien to convert it to your preferred package format and install it.
Last month I have a problem on how to handle RPM files in Kubuntu. since os ko ay Kubuntu and doesn’t support rpm files so akala ko wala na akong pagasa. And hindi ko naman naisip na meron palang Alien. And now ko lang ulit naalala kung meron bang parang crossover or something like Wine na you can execute Windows Executables in Linux Platforms. Kaya nag surf ako and i got Alien.
Make sure na naka enable ang universe repository.
sudo apt-get install alien
and para naman sa crossover move ng alien
alien -k filename.rpm
$this->Post->title('Removing Shift+Backspace');
Isa sa mga pinaka makulit na shortcut! I always lost my code once i hit stubborn shift+backspace accidentally. Here’s the code to disable it :
xmodmap -e 'keycode 22 = BackSpace BackSpace Terminate_Server'
Source Link : Ubuntu. Customising Life
technorati tags:ubuntu, kubuntu, edgy, xgl
Blogged with Flock
$this->Post->title('my first wordpress plugin Simple Weather Plugin');
ito ang una kong plugin na nagawa ko. copy nyo lang sa plugin directory then activate nyo sa wordpress admin panel then lagay nyo lang itong code na ito.
<?php weatherforecast(); ?>
pero ilagay nyo ito para mas safe or walang error kapag na deactivate nyo na ang plugin.
<?php if (function_exists('weatherforecast')) { weatherforecast(); } ?>
parameters ng plugin e.g. weatherforecast(“RPXX0006“, “c”);
- localcode ( string ) : localcode or US zipcode ( default : “RPXX0006” )
- unit ( string ) : unit ng weather depende sa inyo C or F ( default : “c” )
- title
Note For Widgets Template : Activate nyo sa plugins nyo then go to Presentation then Widgets then ayun na dun nyo siya maseset title, localcode, unit.
Salamat nga pala kay jason vega para sa ideas nya about Widgets.
Blogged with Flock









