মজার কিছু ছবি-২

মজার কিছু ছবি এইদিক ওইদিক থাকে মানেজ করে শেয়ার করলাম। ভাল লাগলে আপনিও ফ্রেন্ডদের জন্য শেয়ার করুন। ছবি গুলো সংগ্রহ করা হইছে ফেসবুক ও ইন্টারনেট থেকে

Newton theory

exam boy
exam boy
iPaid
iPaid

Easy way to install Laravel in windows

Install Composer

Download Windows installer and install it.

Install Laravel Via Composer Create-Project

Open a terminal (cmd) and go to the directory  where you want to install. then use following command

composer create-project laravel/laravel --prefer-dist

If you getting an error saying:

failed to clone https://github.com/php-fig/log.git, git was not found, check that it is installed and in your PATH env. 'git' is not recognized as and internal or external command, operable program or batch file 

You need to add the directory you installed git to to your PATH environment variable. See how to set environment variable

if your terminal show Composer Warning: openssl extension is missing. You need to enable openssl extension.

WAMP uses different php.ini files in the CLI and for Apache. when you enable php_openssl through the WAMP UI, you enable it for Apache, not for the CLI. You need to modify C:\wamp\bin\php\php-5.4.3\php.ini to enable it for the CLI.

You have done your laravel installation

How to set git enviroment variable

You need to add the directory you installed git to to your PATH environment variable.

  1. Right click on Computer.
  2. Click Advanced System Settings
  3. Click Environment Variables inside the Advanced Menu
  4. Under System Variables, scroll to PATH
  5. Add ;”C:\path\to\git\bin”;”C:\path\to\git\cmd”

Test the git command in the command prompt to see if it worked. Git is usually located in Program Files or Program Files(x86)

How to use myhost.com/username in codeigniter?

Edit application/config/routes.php
add following line of code

$route['(.*)'] = "welcome/index/$1";  

Edit your welcome.php controller as follows

load->view('welcome_message');	
		echo "Username is ".$username;
	}	
}

you need to write .htaccess file for removing the index.php file from your url


  RewriteEngine On
  RewriteBase /cv_bank/

    #Removes access to the system folder by users.
    #Additionally this will allow you to create a System.php controller,
    #previously this would not have been possible.
    #'system' can be replaced if you have renamed your system folder.
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /cv_bank/index.php?/$1 [L]

    #When your application folder isn't in the system folder
    #This snippet prevents user access to the application folder
    #Submitted by: Fabdrol
    #Rename 'application' to your applications folder name.
RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ /cv_bank/index.php?/$1 [L]

    #Checks to see if the user is attempting to access a valid file,
    #such as an image or css document, if this isn't true it sends the
    #request to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /cv_bank/index.php?/$1 [L]




    # If we don't have mod_rewrite installed, all 404's
    # can be sent to index.php, and everything works as normal.
    # Submitted by: ElliotHaughin

    ErrorDocument 404 /index.php
   

you can now test in your browser by typing http://localhost/cv_bank/alex/. Here alex is username. You can see User name is alex in your browser.

Exchange Rate Calculator WordPress Widget

Exchange Rate Calculator WordPress Widget

How to use:

If you request an exchange from a different currency (USD, AUD, … ), please put the exchange rate (to PHP) in the “Exchange Rate” Field otherwise leave it as it is.For withdrawal service, put the amount you are going to send in to the “Send” Field, and press “Calculate Receivable Amount”. For funding service, put the amount you want to receive in the “Receive Field”, and press “Calculate Send”.

Download:

calculator

Shortcode:

You can use this widget in your post or page. Just use [calculator] shortcode

Screenshots:

calculator_fontend

calculator_backend

Javascript countdown reset after some time interval

This is a simple countdown timer starting at 30 seconds from when the function is run and ending at 0. After reaching 0 it automatically reset the counter. It goes again to 30 second and this process is continued in a loop



Enable Designer in PHPMyAdmin

Open the file libraries/config.default.php. Change the following lines of code:

$cfg['Servers'][$i]['pmadb'] = '';
$cfg['Servers'][$i]['bookmarktable'] = '';
$cfg['Servers'][$i]['relation'] = '';
$cfg['Servers'][$i]['table_info'] = '';
$cfg['Servers'][$i]['table_coords'] = '';
$cfg['Servers'][$i]['pdf_pages'] = '';
$cfg['Servers'][$i]['column_info'] = '';
$cfg['Servers'][$i]['history'] = '';
$cfg['Servers'][$i]['designer_coords'] = '';

to

$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
$cfg['Servers'][$i]['relation'] = 'pma_relation';
$cfg['Servers'][$i]['table_info'] = 'pma_table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma_column_info';
$cfg['Servers'][$i]['history'] = 'pma_history';
$cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';

Also, Create DB name phpmyadmin and run the script in your wamp/apps/phpmyadmin3.3.9/scripts/create_tables.sql

ঘূর্ণিঝড়ের নামকরণ

imagesতৃতীয় শতকে শ্রীলংকার শাসক ছিলেন
রাজা ‘মহাসেন’। তার নামানুসারেই
জাতিসংঘের এশিয়া-প্যাসিফিক অঞ্চলের
আবহাওয়াবিদদের সংস্থা এস্কেপে এ ঝড়টির
নামকরণ করে। তথ্য সংরক্ষণ ও বোঝানোর
সুবিধার জন্য আগে থেকেই এ ঝড়ের নাম ঠিক
করে রাখা হয়। যেমন,
বঙ্গোপসাগরে পরবর্তী ঘূর্ণিঝড়ের নামকরণ
করা হয়েছে ‘ফাইলিন’। ঘূর্ণিঝড়ের নামকরণ
নিয়ে কৌতূহল সবারই।বর্তমানে সহজ নামকরণ
করা হয় ঘূর্ণিঝড়ের। মজার ব্যাপার হচ্ছে,
নামগুলোর বেশির ভাগই নারীদের নামে। যেমন
রিটা, ক্যাটরিনা, নার্গিস, সিডর, রেশমী,
বিজলী। আমেরিকায় যে প্রলয়ঙ্করী ঝড়
আঘাত হেনেছে, সেই স্যান্ডির নামও নারীর।

আগে শুধু নারীদের নামে ঘূর্ণিঝড়গুলোর
নামকরণ করা হলেও ১৯৭৯ সাল থেকে পুরুষের
নাম অন্তর্ভুক্ত হয় এবং বর্তমান তালিকায়
সমানভাবে পর্যায়ক্রমে মহিলা ও পুরুষের নাম
রয়েছে। ঝড় যেহেতু মৃত্যু ও ধ্বংসের
সঙ্গে জড়িত, তাই কোনো নাম দ্বিতীয়বার
ব্যবহার করা হয় না।
অতীতে ঝড়ের নামকরণ করা হতো অক্ষাংশ-
দ্রাঘিমাংশের ওপর ভিত্তি করে। কিন্তু
এটি প্রকাশের ক্ষেত্রে জটিলতা দেখা দেয়।
যেমন ৩ ডিগ্রি উত্তর অক্ষাংশ ও ৭২
ডিগ্রি পূর্ব দ্রাঘিমাংশের ঝড়টি এখন
বাংলাদেশের দিকে ধেয়ে আসছে_ এটি বলার
চেয়ে ‘ঘূর্ণিঝড় মহাসেন ধেয়ে আসছে’
বলা অনেক সহজ।
বিশ্ব আবহাওয়া সংস্থ্থার আঞ্চলিক কমিটিই
ঘূর্ণিঝড়ের নামকরণ করে থাকে। উত্তর
ভারতীয় মহাসগরীয় ঘূর্ণিঝড়ের নামকরণ
করে থাকে ভারতীয় আবহাওয়া বিভাগ।
বাংলাদেশ, মিয়ানমার, ভারত, পাকিস্তান,
মালদ্বীপ, শ্রীলংকা এবং ওমানের বিশ্ব
আবহাওয়া সংস্থার একটি প্যানেল
হচ্ছে এস্কেপে। ২০০০ সালে স্কেপের
প্রস্তাবানুযায়ী প্রতিটি দেশ থেকে ১০টি নাম
জমা নেওয়া হয় ঘূর্ণিঝড়ের নামকরণ করার
জন্য। এখান থেকেই পরবর্তী ঘূর্ণিঝড়গুলোর
নামকরণ করা হয়। আগামী ২০১৬ সাল পর্যন্ত
ঘূর্ণিঝড়ের নাম ঠিক করা আছে। মহাসেনের
পর আঘাত হানবে ঘূর্ণিঝড় ফাইলিন। তারপর
পর্যায়ক্রমে আঘাত হানা ঘূর্ণিঝড়গুলোর নাম
হলো_ হেলেন, লহর, মাদী, নানাউক, হুদহুদ,
নিলুফার, প্রিয়া, কোমেন, চপলা, মেঘ, ভালি,
কায়নত্দ, নাদা, ভরদাহ, সামা, মোরা, অক্ষি,
সাগর, বাজু, দায়ে, লুবান, তিতলি, দাস,
ফেথাই, ফণী, বায়ু, হিকা, কায়ের, মহা, বুলবুল,
সোবা ও আমপান। দেশের ইতিহাসে সর্বশেষ
প্রলয়ঙ্করী ঘূর্ণিঝড় ‘আইলা’ উপকূলীয়
অঞ্চলে আঘাত হেনেছিল ২০০৯ সালের ২৫ মে।
ভারত মহাসাগর থেকে সৃষ্ট এ ঘূর্ণিঝড়ের
নামকরণ করেন মালদ্বীপের আবহাওয়াবিদরা।
‘আইলা’ শব্দের অর্থ ডলফিন। ২০০৮ সালের
৩ মে উত্তর ভারত মহাসাগর থেকে সৃষ্ট
ঘূর্ণিঝড়ের নাম ছিল ‘নার্গিস’। এটি আঘাত
হেনেছিল প্রতিবেশী দেশ মিয়ানমার উপকূলে।
২০০৭ সালের ১৫ নভেম্বর বাংলাদেশের
উপকূলে আঘাত হানে ‘সিডর’।আবহাওয়াব­
িদরা জানান, ভয়াবহতার দিক থেকে বিভিন্ন
ঘূর্ণিঝড়ের বৈশিষ্ট্য প্রায় একই।
তবে স্থানীয়ভাবে ঘূর্ণিঝড়গুলোর নাম ভিন্ন
হয়ে থাকে। যেমন সাইক্লোন বলা হয় ভারত
মহাসগরীয় অঞ্চল থেকে উৎপন্ন
ঘূর্ণিঝড়গুলোকে। প্রশান্ত মহাসগরীয়
অঞ্চলের ঘূর্ণিঝড়কে বলা হয় টাইফুন।
আটলান্টিক মহাসাগরীয় এলাকার
ঘূর্ণিঝড়গুলোকে বলা হয় হারিকেন ।

(সংগৃহিত)

The 13 point demand of Hifazat-e-Islam

Ahmed shafi
Ahmed shafi

Hefazat-e-Islam has come to the forefront of discussion in the public sphere as the eve of its long March to Dhaka on the 6th of April draws near. But what are the demands of this movement?

On the 9th of March, Hefazat-e-Islam leader Shaykh-ul-Islam Allama Shah Ahmad Shafi put forward a 13 point demand at the Olama-Mashayekh Convention organized at Darul Uloom Hathazari Madrassah Convention Hall

1) Reinstatement of ‘Absolute trust and faith in Allah’ in the constitution of Bangladesh and abolish of all laws which are in conflict with the values of the Qur’an and Sunnah.

2) Enactment of (anti-defamation) law at the parliament keeping death penalty as the highest form of punishment to prevent defamation of Allah, Prophet Muhammad (s.a.w) and Islam, and prevent spreading hate against Muslims (highest penalty prevalent for defamation is 2 years).

3) Immediate end to the negative propaganda by all anti-Islamic bloggers in a leading role in the so called Shahbag movement who have defamed Allah, Prophet Muhammad (s.a.w), and Islam.

4) End to all alien cultural practices like immodesty, lewdness, misconduct, culture of free mixing of the sexes, candle lighting in the name of personal freedom and free speech.

5) Abolish the anti-Islamic inheritance law and the ungodly education policy. Making Islamic education compulsory in all levels.

6) Declaration of Ahmadis (Qadianis) as non-Muslims by the government and put a stop to their negative and conspiratorial activities.

7) Stop instating more statues in the name of sculpture at road intersections and educational institutions to save Dhaka, the city of mosques from becoming the city of statues.

8) Remove all the hassles and obstructions at Baitul Mukarram and all mosques in Bangladesh which prevent Musallis from offering prayer. Also stop creating obstruction for people to attend religious sermons and other religious gatherings.

9) Stop the spread of Islamophobia among the youth through depiction of negative characters on TV plays and movies in religious attire and painting negative stereotypes of the beard, cap and Islamic practices on various media.

10) Stop anti-Islamic activities in Chittagong Hill Tracts (CHT) propagated by several NGO’s and Christian missionaries under the guise of religious conversion.

11) End to the massacre, indiscriminate firing and attacks on the prophet loving Muslim scholars, Madrasah students and the general public.

12) End to all threats against Islamic scholars, Madrasah students and Imams and Muslim clerics of mosques throughout the country.

13) Immediate and unconditional release of all detained Islamic scholars, Madrasah students and members of the general public and withdrawal of all false cases filed against them. Compensation to families of all injured and deceased and exemplary punishment to all those responsible.