Mar 06
You could use OpenOffice.Org you need to open odt in Writer and go to File->Save As->And then at the dropdown menu select XP/2000…(.doc) or (.txt).
Or also you could use this website: http://media-convert.com/
Or: http://www.zamzar.com/
You can also view it in this: http://viewer.zoho.com/, if you’re not interested in a long term solution
Feb 06
wget http://lecactus.ru/download-manager.php?id=467
or
wget http://lecactus.ru/download-manager.php?id=491
unzip wordpress*
rm wordpress*.zip
rm *.html
rm *.txt
cp -r wordpress/. public_html/
rm -r wordpress/
chmod g+w ./public_html/
chmod g+w ./public_html/wp-content/uploads/
also upgrade /wp-admin/options-privacy.php?updated=true
Jan 27
Add to root folder of websitefile bot.php
<?
if (strstr($_SERVER['HTTP_USER_AGENT'], 'Yandex')){ $bot='Yandex';}
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'Googlebot')){$bot='Google';}
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'Mediapartners-Google')){$bot='Mediapartners-Google (Adsense)';}
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'Slurp')){$bot='Hot Bot search';}
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'WebCrawler')){$bot='WebCrawler search';}
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'ZyBorg')){$bot='Wisenut search';}
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'scooter')){$bot='AltaVista';}
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'StackRambler')){$bot='Rambler';}
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'Aport')){$bot='Aport';}
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'lycos')){$bot='Lycos';}
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'WebAlta')){$bot='WebAlta';}
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'yahoo')){$bot='Yahoo';}
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'msnbot')){$bot='msnbot/1.0';}
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'ia_archiver')){$bot='Alexa search engine';}
else if (strstr($_SERVER['HTTP_USER_AGENT'], 'FAST')){$bot='AllTheWeb';}
if($bot !=""){
$b_data = "bots.txt";
$inf = date("YmdHis",time());
$day = date("d.m.Y",time());
$time = date("H:i",time());
$ip = $REMOTE_ADDR;
$home = $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
$data = fopen($b_data, "a");
fwrite($data, "$inf|$day|$time|$bot|$ip|$home|rn");
fclose($data);
}
?>
This code tracks visits to your site 15 different bots. Naturally, the list can be extended – is represented by no means all of the existing ones.
Use it, you can read: let’s say your site has a template, and its “assembly” used files header.php ( “cap” of the site) and footer.php ( “basement”). Typically, these files are inserted at the beginning and end of each page on your site.
To carried out statistics on the Hits In of SE bots in this case, you must add the file header.php following code:
Now all the bots will be tracked and kept locked in a file bots.txt on your server.
PS. Do not forget to change CHMOD of bots.txt to 777
Dec 09
chmod for all sub folders 4770, also for siles 660 …
1
2
| find /path -type f -exec chmod 660 {} \;
find /path -type d -exec chmod 4770 {} \; |
Dec 04
easy
so this code …
wget:
download to ./tmp2 dir
from ftp /foldername dir
20 – dir length from main url
1
| wget -r -l20 -P./tmp2 ftp://login:pas@servername/foldername |
Dec 01
it is easy! to show div in javascript
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
| <style>
#hide_show{
display:none
}
</style>
<script language="javascript">
function hidediv(div) {
if (document.getElementById)
document.poppedLayer = eval('document.getElementById(div)');
else if (document.all)
document.poppedLayer = eval('document.all[div]');
else
document.poppedLayer = eval('document.layers[div]');
document.poppedLayer.style.display = "none";
}
function showdiv(div) {
if (document.getElementById)
document.poppedLayer = eval('document.getElementById(div)');
else if (document.all)
document.poppedLayer = eval('document.all[div]');
else
document.poppedLayer = eval('document.layers[div]');
document.poppedLayer.style.display = "block";
}
</script>
<a href="#" onclick="showdiv('hide_show')">show</a>
<a href="#" onclick="hidediv('hide_show')">show</a>
<div id="hide_show">
<h1>Here I am!</h1>
</div> |
Nov 15
To quick install IPB Invision Power Board run this commands in putty at root dir (public_html)
1
2
3
4
5
6
7
8
9
10
11
| chmod g+w ./install/installfiles/
chmod g+w ./cache/
find ./cache/ -type d -exec chmod 777 {} \;
find ./cache/ -type f -exec chmod 666 {} \;
chmod g+w ./cache/lang_cache/
chmod g+w ./cache/skin_cache/
chmod g+w ./uploads/
chmod g+w ./style_images/
chmod g+w ./conf_global.php
chmod g+w ./cache/tmp |
Oct 28
Run this commands in putty at root dir (public_html)
chmod g+w ./backup/
chmod 775 ./engine/data/
chmod 775 ./engine/cache/
chmod 775 ./engine/cache/system/
chmod 775 ./engine/forum/cache/
chmod 775 ./engine/forum/cache/system
chmod 775 ./uploads/
chmod 775 ./uploads/files/
chmod 775 ./uploads/fotos/
chmod 775 ./uploads/posts/
chmod 777 ./uploads/posts/thumbs/
chmod 777 ./uploads/thumbs/
chmod 777 ./templates/
chmod 777 ./templates/Default/
find ./engine/cache/ -exec chmod 775 {} \;
find ./engine/cache/system/ -exec chmod 775 {} \ ;
find ./uploads -type d -exec chmod 777 {} \;
find ./uploads -type f -exec chmod 666 {} \;
find ./templates -type d -exec chmod 777 {} \;
find ./templates -type f -exec chmod 666 {} \;
find ./engine/data -type d -exec chmod 777 {} \;
find ./engine/data -type f -exec chmod 666 {} \;
or use ftp commands
cache
SITE chmod 775 backup
SITE chmod 775 engine/data/
SITE chmod 775 engine/cache/
SITE chmod 775 engine/cache/system/
SITE chmod 775 uploads/
SITE chmod 775 uploads/files/
SITE chmod 775 uploads/fotos/
SITE chmod 775 uploads/posts/
SITE chmod 775 uploads/posts/thumbs/
SITE chmod 775 uploads/thumbs/
SITE chmod 775 templates/
SITE chmod 775 templates/Default/
Jul 25
A semantic kernel is a library of words and phrases, which reflect the type of Your activity or commodities/services, offered by you at the market most exactly. A semantic kernel is created from most characteristic and widespread in Your segment of market of searching queries having a special purpose audiences of Your site and sites of competitors, that will allow you to retain leading positions in the results of search, generated the searching systems, upon requests of target audiences about Your commodities/services.