$ createlang plperlu some-database
You can simply execute:
# ln -s /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so /usr/lib/libperl.so
$ createlang plperlu some-database
# ln -s /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so /usr/lib/libperl.so
The problem is that I can't listen to any online music through any web
browser with my Bluetooth headset.
Luckily, I found this article:
http://macosx.com/forums/hardware-peripherals/296416-problems-using-bluetooth-headset-mac-audio.html
Here is the essential part of the article:
--------------------------------------------------------------------
First, 2 files needed,
a. a2dpcastAudioDevice.tgz:
http://www.coolatoola.com/a2dpcastAudioDevice.tgz
b. the updated a2dpcast: http://www.coolatoola.com/a2dpcast-0.3.zip
Then run terminal from Application/Utilities/terminal and install the
kernel extension for the audio device (replace DOWNLOAD_DIR with the path
to where your browser downloads stuff to) - you need your admin password
to do sudo:
1. cd /
2. sudo tar xfzp DOWNLOAD_DIR/a2dpcastAudioDevice.tgz --same-owner
3. sudo kextload /System/Library/Extensions/AudioReflectorDriver.kext
Copy a2dpcast to /usr/local/bin (replace A2DPEXTRACTDIR with the path to
where your extracted the downloaded a2dpcast-0.3.zip) - you need your
admin password to do sudo:
1. sudo cp A2DPEXTRACTDIR/a2dpcast-0.3/a2dpcast /usr/local/bin
Run a2dpcast with your Bluetooth address
1. /usr/local/bin/a2dpcast aa-bb-cc-dd-ee-ff 27
Keep a2dpcast running, leave the terminal open, then run whatever program
that you want, the sound will be streamed automatically to your headset.
Again, do not close the terminal until you have enough enjoying your
bluetooth headset
--------------------------------------------------------------------
To get your mac address of your Bluetooth Headset, you can go to:
Finder > Applications > Utilities > System Profiler > Bluetooth
There you find your headset model and the mac address of your headset is
there.
Hope that help!
http://weblogs.asp.net/cazzu/archive/2003/10/10/31476.aspx
c:\inetpub\AdminScripts\adsutil set w3svc/MaxConnections 40
$ find . -name *.cgi -exec chmod g+x '{}' \;
function get_pagination($offset, $limit, $number_of_all_items, $page_string, $url) {
$pagination = '';
$number_of_pages = ceil($number_of_all_items / $limit);
$offset++;
$current_page = round($offset / $limit);
if ($offset % $limit != 0) {
$current_page++;
}
$window = 10; # Number of visible pagers per page.
$left_link_count;
if (($current_page - 1) > round($window / 2)) {
$left_link_count = round($window / 2) - 1;
}
else {
$left_link_count = $current_page - 1;
}
$page_no = $current_page - $left_link_count;
if ($page_no > 1) {
$pagination .= "<<";
}
$counter = 0;
$break = false;
if ($number_of_all_items != 0) {
while (!$break && ($counter < ($window - 1))) {
if ($page_no <= $number_of_pages) {
if ($page_no == $current_page) {
$pagination .= " " . $page_no . " ";
}
else {
$pagination .= " <a class=\"button_link\" href=\"" . $url . "&" . $page_string . "=" . $page_no . "\">" . $page_no . "</a> ";
}
$page_no++;
$counter++;
}
else {
$break = true;
}
}
}
if ($page_no < $number_of_pages) {
$pagination .= ">>";
}
return $pagination;
}
#
# Print "previous page"/"next page" link for pagination.
#
function print_previous_page_next_page_for_pagination($current_page, $limit, $number_of_all_items, $page_string, $url) {
$number_of_pages = $number_of_all_items / $limit;
if ($number_of_all_items % $limit != 0) {
$number_of_pages++;
}
if ($current_page == 1) {
echo "<span class=\"previous_page_next_page_arrow_off\"><<</span>";
}
else {
echo "<span class=\"previous_page_next_page_arrow_on\" title=\"" . htmlspecialchars($TEXTS['PAGINATION_PREVIOUS'], ENT_QUOTES) . "\"><a href=\"" . htmlspecialchars($url, ENT_QUOTES) . "&page=" . ($current_page - 1) . "\"><<</a></span>";
}
echo " ";
if ($current_page == $number_of_pages) {
echo "<span class=\"previous_page_next_page_arrow_off\">>></span>";
}
else {
echo "<span class=\"previous_page_next_page_arrow_on\" title=\"" . htmlspecialchars($TEXTS['PAGINATION_NEXT'], ENT_QUOTES) . "\"><a href=\"" . htmlspecialchars($url, ENT_QUOTES) . "&page=" . ($current_page + 1) . "\">>></a></span>";
}
}
$pagination = get_pagination($offset, G_NUMBER_OF_SEARCH_RESULTS_PER_PAGE, $number_of_all_results, 'page', 'article_search.php?action_type=search&article_name=' . urlencode($article_name));
$offset is the offset in your sql select query.
svn propedit svn:ignore ./some_path