Skip to main content

Posts

Showing posts from 2012

work life

hi all...this is my working life. trying to understand existing cga rulesssss lol... picture below is about me trying to learn basic things on city planning....

Python + PyOpenGl

Hi all .. today i want to talk a bit about python. i was given task by my boss to explore how to integrate python + city engine (city modelling software) hmm..basically city engine allow python scripting. but there something that i want to do which add some new package the python in CE(city engine).. until now i havent found any solution on that. what i try to do the other way round which using python out from the CE and control python inside the CE. then i came across PyOpenGL which allow python to load 3D model and so forth. I find that some user having problem install this, thus ... i managed to find a forum that solved the pyopengl installation problem heres the link http://www.python-forum.org/pythonforum/viewtopic.php?f=4&t=25474 what actually you must do is try to google this PyOpenGL-3.0.1.win32.exe its here http://pypi.python.org/pypi/PyOpenGL/3.0.1 just run the exe.. then u got the opengl!

my new laptop ASUS A45VD - ivy bridge

hi all. today i went to The Mines and purchased one laptop there. the model is ASUSA45VD, --pictures taken using my phone. not really high quality. but good enuf i guess :P CPU : intel i5-32150m 2.3ghz (ivy bridge 3rd generation) LCD : 14.0' wxga HD led RAM : 2gb(orginal then got free upgrade) HDD : 500gb sata 5400rpm OPTICAL : 8x dvd/rw drive GRAPHICS : 2gb nvidia GEFORCE GT610 warranty : 2 years PRICE : RM 2199.  i got free gift(backpack,wireless mouse,4 gb ram upgrade), and extend my warranty using third-party (1care-plus another rm150). for time being i m gonna give some review on it. LOVE - touchpad . @it has multi-touch functions make me feel a bit like using MAC book. hahaha @it can use up to 3 finger inputs. @functions like open window,close window, see all running applications, rotate picture, zoom in and  zoom out, in/decrease volume level,  three-finger switch gesture manipulation and so on (ive not explored all yet) Cons : sometimes too

install os in virtual box from ISO

-- i copy paste from https://forums.virtualbox.org/viewtopic.php?f=7&t=24426-- Just worked through this (ver 4.0.0) as a tool for testing VistaPE boot disks. I found it was pretty simple once you find the Menus you need. What worked for me was: Use Settings -> Storage -> IDE Controller to setup the Virtual DVD (i.e. ISO DVD Image) Then use the green + sign to add a new device. When prompted to, during the add, browse to the bootable ISO file that is to be used as the Virtual DVD (DVD image) to install. Then make sure the ISO is assigned as the Primary Master for the Virtual DVD. The Storage Form, right panel has the drop-down box to configure devices. You can setup several ISO files and the Host CD drive as primary and secondary virtual devices. By configuring the Primary and Secondary Drive assignments, you can boot from any image or from a physical Host drive. Hope this saves someone some time and results in less wasted DVD blanks.
 hi there. easy auto logout PHP page. 1) insert the following code in the scripts that you want. $inactive = 5; // Set timeout period in seconds if (isset($_SESSION['timeout'])) { $session_life = time() - $_SESSION['timeout']; if ($session_life > $inactive) { session_destroy(); LATER please add the following javascript....using echo "" i cant write it out.else it will effect my blog T_T also please put header refresh function to refresh your page alert('YOUhavebeenloggedout') window.location = "" } } $_SESSION['timeout'] = time();

Finally an android.

hi youlssssssssss.. haha..ive been dreaming to develop android applications.. but i dont have one!! finally.. with the Rezk from God Almighty.. i get myself an android... Last time i used samsung star wifi.. its a good one.. but not android.. in order to develop android apps..i ve to .. ve to understand how android works...all this while i only learn its theory.... but not anymoreeee.. here come my new phone with android osssss                                                samsung galaxy y PRO gt-b5510                                                             some of it's specifications.                                               full spec you can view it here :  click heerre..                                                screen resolution : not very high...but thats more than enuff for me.. im not                                              a gamer :P ive used it for one week...its a good phone..high performance..nice...battery does not last long. i

unity screenshot

it doesnot work very well until i changed to 2D version

Install php, apache, mysql on ubuntu

Salam. Hi there. today i installed php,apache,mysql on my ubuntu pc. I ve started my practical training last week. They asked me to do php on their current web application/system project. They do not allow me to use xamp. thus i ve to install one by one php,apache, and mysql.. on their windows. hurmp. the computer over there is really sick. lot of problems it took me two days to install and reinstall P.A.M (php,apache, and mysql-including gui) got conflict with previous installation and windows server call IIS(i really hate windows)...the actual duration for installing P.A.M are about 10-15 minute... huhuh ..longer.. compared to ubuntu.. it took only 5 minutes to install P.A.M .. only certain command . then yes! i can use those  P.A.M.. here i will share a bit .. what did i do to install P.A.M  1. Install apache. a. run terminal b. insert the following cmmd sudo apt-get install apache2   to check wether you have install correctly or the server (Apache) is working .. open

Email inbox clean and clear :p

I REALLy like when my inbox is clean :P

Free Download Manager. -Download You Tube Videos.

Salam all. i discovered that i do not know how to use FDM(Free Download Manager) to download youtube videos. Searched tru net, and found one good tutorial. basically those who using FDM version 3.0 they couldnt directly download youtube video. What you have to do first is download the latest version of your FDM. Before executing the exe file... close your FDM first. Then right click the icon at the bottom right to exit. ok now start to execute the new version FDM exe. after installed .. click on the flash tab.. start to download the flash videos in youtube by adding the video url. Like this :)