create a tar file with all your mp3 files
tar cvf mp3.tar `find / -name *.mp3`
I have just installed new phpMyAdmin (version 3.4.8). There is no password for mysql root user. But I coudnt login and got this error:
#1045 Cannot log in to the MySQL server
Reason is: Missing blowfish string and config file.
The solution:
- change config.sample.inc.php to config.inc.php
- put some text for $cfg['blowfish_secret'] on line 17.
change
$cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
to
$cfg['blowfish_secret'] = 'sdghwkglsdkhuRandomTEXToituwetu45z'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
As I want to add a forum entry I got Apache's 500 server internel error. i tried to change .htaccess, php-conf etec but no success.
Error was: [warn] [client 1.2.3.4] mod_fcgid: HTTP request length 137744 (so far) exceeds MaxRequestLen (131072), referer: http://example.com/node/add/forum/1
After a research check error-logs of virtual host I found that /etc/apache2/mods-available/fcgid.conf must be changed.
I added following directive:
MaxRequestLen 157286400
PageRank is a website analysis algorithm of Google with the purpose of "measuring" its relative importance to other websites on the web. After Google's new search alghoritm "Panda" it is getting less importance while sorting search results.
Nearly 300 domains -with PR9- listet alphabetically:
1malaysia.com.my
aacsb.edu
amazon.com
andreasviklund.com
apache.org
apple.com
arwu.org
auf.org
baic.gov.cn
baidu.cn
baidu.com
basbakanlik.gov.tr
bbc.co.uk
beniculturali.it
berkeley.edu
bigtennetwork.com
bireme.br
bl.uk
bloglines.com
bmbf.de
bne.es
bnet.co.uk
bnet.com
- Read more about 300 Websites WorldWide with Google Pagerank 9
- Log in to post comments
I had a problem with Drupal6 by sorting tags. Mysql can sort or place some non-ascii letters correctly but PHP can not.
Example: I have a list of cities and I want to sort them by first letter. I want that "Ãvori" and "îwata" beeing listet with "Ibiza" under "i". PHP places both Ãvori and îwata after Z. To prevent this I update "weight" manually with mysql and sort them by weight instead of alpha.
select @my_temp_counter:=0; update `term_data` set weight = (@my_temp_counter:=@my_temp_counter+1) order by name;
Google updated Pagerank database in august 2011. Here is a list of top 10 Domains with Google PageRank 10.
google.com
facebook.com (social media)
cnn.com (us-american news company)
addthis.com (social bookmarking script)
miibeian.gov.cn (Chinese Goverment)
gmodules.com (a service of Google)
usa.gov (US Goverment)
hhs.gov (US-Department of Health and Human services)
unesco.org
piwik.org (PHP-Mysql based real time web analytics software, open source alternative to Google Analytics)
- Read more about List of Domains with Google PageRank 10
- Log in to post comments
I have a problem with inline stylesheets. I like to use inline style sheets instead of using css code in head section of an html page or an external .css file.
Example:
But I have a problem when I want it to ffect just a part of subelement and not other paralell elements.
Example 2:
...
I want to my third-level "ul" have border but second-level not. I can do it with css code like this:
div ul { border: none; } div ul li ul { border: 1px solid red; }
- Read more about CSS hierarchy and inline style sheets
- Log in to post comments
I want to be sure than nobody changed any file in my www directory. To do this I want to create a md5 or sha1 checksum of whole folder. Is it possible and if yes how? Thanks a lot!
- Read more about MD5 / SHA1 Checksum of a Folder - Directory
- Log in to post comments
Can anyone tell me how can I remove a photo or video file from Lightbox of Istockphoto without clearing all? I can see just one option and it is : clear all!
- Read more about Remove a photo-file from Lightbox of Istockphoto
- Log in to post comments
I am using an i7 box with dual monitore: HP Compaq and Samsung. I want to get screenshot of the right monitore which is vertically placed. If I press on "print" key I get a wide screenshot of both monitors.
My first monitore is placed horizontally and has a width of: 1920x1200px
Second one: 1200x1920px
When I press on PRINT I get an image :
3120x1920px
To get active monitor: ALT + PRINT