Saturday, August 29, 2009

how to create your own linux distro?

how i wish to have my own distro, but it will take so much time and study to make one, so i might just give up on that idea. but i found a website that can help build my own linux a linux distro.

its susestudio.com

its a web application which creates and configures your own linux distribution in what you need it and why you need it, its like configuring and creating your own operating system in your own preference and needs.

its like creating a ubuntu, but its not ubuntu its (insert your preferred Operating System Name here).

creating a linux distribution is hard and time consuming and it requires a lot of budget, but in susestudio.com ! its fast and configurable.

Monday, August 24, 2009

Virtual Box: how to increase screen resolution of ubuntu




here is a simple step on adjusting screen resolution on ubuntu on virtual box,

1st: Start Ubuntu on Virtual Box(you should have done this already).

2nd:press the right control to get out of the ubuntu,

3rd: click on the DEVICES in the top of the window(menubar of the ubuntu window).

4th: click INSTALL GUEST ADDITION or if you are inside the ubuntu(your mouse is on the ubuntu hold right-CTRL + D)
after doing this you will notice that you just mounted a CD.

5th: OPEN TERMINAL go to APPLICATION->ACCESORIES->TERMINAL

6th: go to the CDROM by typing on the terminal.
cd /media/cdrom0
then hit ENTER!

7th: check the files in the directory. by typing
ls
you will see the mounted cd's directory

8th: look for the file VBoxLinuxAdditions,
as you notice this you notice other VBoxAdditions, because you can use VBOXADDITIONS on ther operating system e.g windows.

9th: now run the VBOXLINUXADDITION. type
sudo sh ./VBoxLinuxAdditions.run
on linux you can run VBoxLinuxAddition-amd64.run (or other because its you own pc setup) it will run a script. then wait until its finished

10th: now RESTART! or use a shortcut. CTRL+ALT+BACKSPACE!

final step: log on to ubuntu then go to SYSTEM->PREFERENCE->SCREEN RESOLUTION
there you can see additional resolution options, be free to use you imagination on which resolution you heart wants. :) happy learning.

Sunday, August 23, 2009

Install LAMP on Ubuntu

first time on linux? and choosing ubuntu is the best conversion machine from windows because of it's near XP appearance, but we will be dealing with the unix environment so expect it to be hard!.

ok lets start installing LAMP.

1.) open the terminal, at APPLICATIONS>ACCESORIES>TERMINAL

2.) type this line to gain the root access level,

sudo su
it will make you the root.

3.)lets install APACHE2,

on the console type:
sudo apt-get install apache2
then it will install, if asked (Y,N)? Y then enter

4.)after installing, try to start and stop apache by typing
start:
/etc/init.d/apache start
stop:
/etc/init.d/apache stop
check the status
/etc/init.d/apache status

you will be making most of you php application in the /var/www/ directory


5.)lets install PHP
type:
sudo apt-get install php5 libapache2-mod-php5
go to /var/www/

type






cd /var/www/ going to www folder
mv index.html index.phprenaming index.html to index.php
vim index.phpedit the index.php using vim,

put this to index.php to try if php is running. because it will show the necessary settings in php


6.)install mysql

sudo apt-get install mysql-server

then if there is an error on php and mysql, if you cant query on php to mysql, try this install,

sudo apt-get install php5-mysql mysql-client

then edit php.ini on /etc/php5/apache2/

enable ;extension=mysql.so

by removing the ";"

7.) the last step is install the phpmyadmin'
type this
sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin


then restart apache2,
check this on your browser:
http://localhost/phpmyadmin
but if phpmyadmin has an error or wont work

sudo apt-get install phpmyadmin
then edit the apache2.conf at /etc/apache2/
by typing this in the last line inside the apache2.conf

Include /etc/phpmyadmin/apache.conf

Friday, August 21, 2009

Slim PlayStation 3

New Logo of PlayStation 3


the slim version of playstation 3 will be release this september! very nice and sexy design. its a much better console than the conventional PS3, which is very large than the incoming PlayStation 3.

Playstation 3 has a better graphic accelerator than its competitors but in the sense of budget or money constraints, i prefer the latter.

Slim Playstation 3 has a $299 price, very cheap and lighter than its predescesor, which is the released playstation 3(not slim).

but asuming it will be released with a $299 price, but other countries must assume or expect that it will cost twice its released price because of the tax the producers will give the government of other countries.

the best example of the twice price gadget incident, is the IPHONE! which has a very very big difference than the US released IPHONE, because of its price. Specially if your a 3rd world country.

(starting to hate your government? LOL), i believe in the Philippines it will be a 100% to 150% increase because of the tax,

Lighter and Slimmer PlayStation 3 rocks! here are the specs:

Product Name PlayStation®3
Product Code CECH-2000A (Charcoal Black)
CPU Cell Broadband Engine™
GPU RSX®
Audio Output LPCM 7.1ch, Dolby Digital, Dolby Digital Plus, Dolby TrueHD, DTS, DTS-HD, AAC.
Memory 256MB XDR Main RAM, 256MB GDDR3 VRAM
Hard Disk 2.5" Serial ATA 120 GB*1
Inputs/Outputs *2 Hi-Speed USB (USB 2.0) 2
Networking Ethernet (10BASE-T, 100BASE-TX, 1000BASE-T) × 1
IEEE 802.11 b/g
Bluetooth® 2.0 (EDR)
Controller Wireless Controller?Bluetooth®?
AV output Resolution 1080p, 1080i, 720p, 480p, 480i?(for PAL 576p, 576i)
HDMI OUT connector*3 1
AV MULTI OUT connector 1
Digital out (optical) connector 1
BD?DVD?CD
drive (read only)
Maximum read rate BD × 2 (BD-ROM)
DVD × 8 (DVD-ROM)
CD × 24 (CD-ROM)
Power AC 220 – 240, 50/60Hz*4
Power Consumption Approx. 250W

External dimensions

(excluding maximum projecting part )
Approx. 290 × 65 × 290 mm (width × height × length)
Mass Approx. 3.2kg
Included *5 PlayStation®3 system × 1
Wireless Controller (DUALSHOCK®3) × 1
AC power cord × 1
AV cable × 1
USB cable × 1
*1 Hard disk capacity calculated using base 10 mathematics (1 GB = 1,000,000,000 bytes). System software versions 1.10 and later calculate capacity using binary mathematics (1 GB = 1,073,741,824 bytes), which will display lower capacity and free space. A portion of hard disk capacity is reserved for system administration, which varies depending upon system software version, and is not available for use.
*2 Usability of all connected devices is not guaranteed.
*3 "Deep Colour" and "x.v.Colour (xvYCC)" defined by HDMI ver.1.3a are supported.
*4 Power changes depending on countries or regions.
*5 For certain regions, Euro-AV cable will be included.
Note: This product is not compatible with PlayStation®2 games.

Twitter Vs. Plurk?

which is better twitter or Plurk?

there are some points to consider if something is to be judged if better than the other.

i will be starting off with twitter and then compare plurk
lets start

functionality
twitter is more on content based, rather than plurk that is a time based, meaning it has more priority on the timeline.

the usability
twitter is a no brainer, its very easy and user friendly its a simple post and done. than plurk because plurk is very eye candy, so its more on the appearance than the functionality.(its an excuse, i know)

portability
twitter can be imported on sites, for example your post on the twitter can be seen on your facebook.

appearance
which is better looking twitter or plurk? if you like designs of not parallel text, you would like plurk and if you like fast! and up to date, i suggest twitter.



it doesnt matter what you use. just have fun, write what you want to write,. post what you feel to post. this is freedom. free to tell the world anything.

Thursday, August 20, 2009

how to update multiple columns in SQL?

i had a hard time on figuring this out at first with only looking for this in google or sql sites, so i would like to share what i learned on updating sql multiple columns.

here is how,

so the syntax of updating multiple columns:

UPDATE [table name] SET [Field Name] = [new Value], [another Field Name] = [new Value], [another Field Name] = [new Value] WHERE [constraint's column] = ["Value"] ;

on your console or on your php query,

UPDATE student_table set name = "honeytechie", site="http://honeytechie.blogspot.com" where student_id = 123;

Saturday, August 15, 2009

are you satisfied with sun,smart or globe broadband dongle?

ive been using these sun broadband for almost a month, this has been very useful for me for only sometime,

i subscribed on their sun broadband the 899 plan, without holding period, because im very cautious on subscribing on their plans. because it is SUN, SUN is SUN. (other way of calling people asshole is describing them with there name, like : tell me about benny, umm benny is benny, )

when i subscribe to sun's they told me that the higher(living in a highr-rise condominium) the better the signal. thats a big BULLCRAP!!! because when im down on the ground surfing the net at the nearby McDonald's ive been able to surf the net better than surfing above the houses.

coincidence? thats crap.!!!

even with smart's broadband, the wireless usb 3g sucks as well.

anyway or any how you have internet connection for browsing which matter's most right?

my cause of this phenomena you say?

the mis-configured network in the philippines.!

dont try trusting what the 2 major(smart,globe) and 1 minor(sun) telcos trying to tell you bout the fast internet because it is a major error on the system.,

they are using a wlan configured network. which happened on the dongles.

the dongles connects to a certain network nearby then connects to the internet.(FAILED!)

meaning the dongles in a certain place shares one I.P address, and one bandwidth.,!

so if you are living in a condominium or any highrise building, all the users with the same telco(sun,smart or globe) in that building shares ONE IP and Internet Bandwidth. BULL CRAP that 3mbps shit!, because in a building you will be sharing also one location..

still gonna subscribe or buy a dongle? i would suggest, dont. lets just wait for a better service because it is a complete waste of money,...

What is Better than Pen Tablet?

when i was on my previous job. they let me use a pen tablet, which is pretty awesome back then, but to see this?

imagine a software and a hardware bundle for your art needs.

it is called ArtRage2.5 deluxe it includes a mouse or a pen,

you can edit or create you digital art on different kind of approach.

what i love about this application, is the pressure based, if you put more pressure on the pen, it will be more heavier/bolder. but if you lessen the pressure it will be lighter. :) it is so cool. its like a pentel pen in your computer.

nice isnt it?

try this more high tech art tool than your conventional pen tablet.

may i add, this is cross platform compatible, so try this. and see for yourself.

how to send an email on PHP?

when you are creating a website with a user needed to register what do you use to validate users if they are really say they are? yes? any answer? yes. EMAIL.

Email is very essential in validating users.

but how do you send it? you can use PHP Mailer, because it is very useful, you just needed to download an application that sends mail PHP mailer from their website, you just need to copy the folder from a zip file which you needed to download i think it is sized a 2mb size.

include or require the php file. like this:

require '/phpmailer/class.phpmailer.php';
is suggest you use require because it will pop an error if it is not properly included. than include because include bypasses the error if it cant find the file it will still return without an error, but you file will still not be included.

you just needed to declare a php mailer, like this:

$mail = new PHPMailer;

then pass the functions.

like this

$mail->fromName = "sender";
$mail->addAddress= "receiver@domain.com";
$mail->subject= 'this is the subject';
$mail->body='this is the body';

then after y0u pass the parameters, you can send it by:

$mail->send();

put an if to see if it is really sent like

if(!$mail->send()){
echo "failed";
}else{
echo "message successfully sent";
}

or you could use the try clause,

try{
$mail->send();

}catch(exception $e){
echo $e;
}


happy emailing. :)

p.s dont spam please.

Thursday, August 6, 2009

Cheapest Sony VIAO


it is a 15" laptop and it is nice looking, it is sometimes making people mistaken this laptop for an Apple MacBook, but it is nice and i think it is the cheapest in the line of Sony VIAO, imagine having a cheap laptop with a touch of Apple MacBook, its very very nice.

but how about the specs you say?
here is the specs:

  • Intel Core Duo T2250 Dual Core Mobile Processor
  • 1GB PC2-4200 DDR2 Memory
  • 100GB 5400rpm SATA Hard Drive
  • 8x DVD+/-RW Dual Layer Burner
  • 15.4" WXGA (1280x800) LCD and Intel GMA 950 Integrated Graphics
  • v.92 56Kbps Modem, 10/100 Ethernet and 802.11a/b/g Wireless
  • Two USB 2.0, One FireWire (iLink), ExpressCard/34 and 3-in-1 Card Reader
  • 14.4" x 10.5" x 1.6" @ 6.5 lbs.
  • Vista Business, MS Works 8.5, Click to DVD, VAIO Suite, Norton Internet Security
need say more?

how bout the cons?
because of its color, ofcourse it is distinctly be hard to clean because it is white. :)

i found this at AyosDito.ph, it is where i look when i want to look for cheap for sale laptops.

Monday, August 3, 2009

Mp3 with FM Radio


Tired of Ipod's Feature? you should try something Ipod doesn't cover, which is FM Radio.

FM radio is kinda old school, for me it is the best form of communication because it is the fastest way of transmitting of information than any Television or Internet, because Radio can be broadcast anywhere and its coverage is beyond comprehension of any frequency of television,

so you wanna try the radio?

i found a very nice radio, video and mp3 player in one, its Philip's Go Gear.

what i love about this gadget is i could record an music from FM radio. all the talkshows, music from the radio can be recorded here,.

where to buy?

i found this for sale gadgets in AyosDito.ph, you can browse or look for many other gadgets there.