Listen LIVE Bangle Radio Stations with your VLC Player

So you want to listen your favourite Bangle Radio Stations like Radio Foorti or Radio Amar LIVE.

It doesn’t matter whether you are on Windows or Mac or Linux, use VLC Player

radio foorti

Step 1: Open VLC Player

Step 2: Click Media -> Open Network Stream (or Ctrl+N)

Step 3: Insert the Protocol as HTTP and Address as the ones listed here

Radio Foorti Dhaka, 88.0 FM: http://115.127.14.180:8000/
Radio Lemon24: http://115.127.14.58:8000/
Bangladesh Betar: http://123.49.36.26:1200
Radio Artonad: http://67.212.189.122:8070
Radio Goongoon: http://69.39.233.135:8032
Radio Apon: http://99.198.118.250:8150
Radio Aamar: http://203.202.253.56:8000

Step 4: Click Play and wait 5~6 seconds to buffer your desired Radio Station

ENJOY!!! ;)

[ubuntu] GrameenPhone’s Internet with Mobidata EDGE modem in ubuntu

Lot’s of UBUNTU users in Bangladesh are searching to configure Mobidata EDGE modem. Well, the most effective way to connect internet is wvdial. If it’s your lucky day then the following steps will work fine.

Step 1: First things first, make sure you are enable your repository from your software source.

Step 2: Now, in the terminal type

$ sudo wvdial

, If you are getting command not found that means you don’t have wvdialconf

For Ubuntu 9.10 (karmic koala) 4 files needed:

1. http://packages.ubuntu.com/karmic/i386/libwvstreams4.6-base/download
2. http://packages.ubuntu.com/karmic/i386/libwvstreams4.6-extras/download
3. http://packages.ubuntu.com/karmic/i386/libuniconf4.6/download
4. http://packages.ubuntu.com/karmic/i386/wvdial/download

All 4 files in .zip can be found (i386) into here

Update for Ubuntu 10.04
Although wvdial and dependencies are included into CD of 10.04 are NOT installed by default! Bug#400573
You do not need to download them, just use the .iso or LiveCD or LiveUSB following the procedure below:

1. right click ubuntu-10.04-desktop-i386.iso and ‘open with archive mounter’
(or mount LiveCD/LiveUSB)
2. right click on icon created (from 1) to ‘browse folder’
3. create a folder on Desktop (ex. named ‘wvdial’)
4. copy into that folder all 4 .deb files that exist into .iso/LiveCD/LiveUSB
… /pool/main/w/wvdial
and /pool/main/w/wvstreams
5. use System > Administration > Synaptic Package Manager
and then from menu File > Add downloaded packages > double click Desktop and then the folder you created at point #3, click open, follow instructions to
install

OR, you can got to step 5.

Step 3:If you can manage internet connection some how then go to terminal type

$ sudo apt-get install wvdialconf

Without installing PLEASE DON’T PROCEED.

Step 4: After installing wvdialconf you have a file name wvdial.conf in

/etc/wvdial.conf. Go to terminal type

$ sudo gedit /etc/wvdial.conf

. This will open the file with gEdit.

Step 5: Now copy and paste from below in /etc/wvdial.conf you are all most done!

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,”IP”,”gpinternet”
Modem Type = Analog Modem
ISDN = 0
Phone = *99***1#
Modem = /dev/ttyUSB0
Username = xyz
Password = xyz
Baud = 460800
New PPPD = yes

Step 5: You are done! Go to terminal and try again

$ sudo wvdial

. Hope you can find [connect] word!!

[NOTE:] make sure that your Mobidata EDGE modem found in /dev folder like /dev/ttyUSB0 or whatever! just put the name correctly in the modem section.

Now you can enjoy your GrameenPhone’s Internet with Mobidata EDGE modem in ubuntu all the time.

Enjoy ;)

[php] use echo with parameters

Have you ever seen that echo can be used with parameters????
Oya!! This can be happen like:

<?php
$a = "Tanveer";
$b = "good at nothing";
echo "Hi my name is ",$a,". I am ",$b;
?>

Isn’t it so Funny!!!

[PHP] Dynamic function calling

People says PHP is flexible, Yes, really it is! Suppose you need to call function dynamical order. Here it is how?
The magic PHP function called call_user_func()

<?php
error_reporting(E_ALL);
function increment(&$var)
{
    $var++;
}

$a = 0;
call_user_func('increment', $a);
echo $a."\n";

call_user_func_array('increment', array(&$a)); // You can use this instead before PHP 5.3
echo $a."\n";
?>

Output will be :
0 1

Follow

Get every new post delivered to your Inbox.

Join 286 other followers