What the Kill Command Does
Kill is a command that terminates unwanted processes in your system. The syntax for the kill command is very simple: you just type “kill” followed by the ID of the process you wish to terminate. But this, of course, leads us to the problem that we need to know the process ID first. To find out what it is, you will first have to use the ps command. “ps” is a command that gives you a snapshot of the processes in your system. And you can customize its output to Continuarea
When developing sites
This lets google crawl the page, lets me access without a password, and lets my client access the page WITH a password. It also allows for XHTML and CSS validation! (w3.org)
AuthName “Under Development”
Deny from all
Allow from 126.96.36.199 w3.org htmlhelp.com googlebot.com
Redirect Everyone Except IP address to alternate page
ErrorDocument 403 http://www.yahoo.com/
Order deny,allow Continuarea
I have spent some time today facing
Switched from Windows XP to Windows 7 a while ago , however never needed this since now . I wanted to add a program to startup (usually a remove programs from there ) and the easiest was to do it is by placing a shortcut into startup folder ( the other one i know is to add a registry entry ).
Well , i knew where that folder was on Windows XP but on Windows 7 is no longer there . I have found it that in Windows 7 the location of your personal startup folder is:
For all users, you will find the startup folder in:
A client of mine needed to convert a wordpress network from using subdomains to subfolders ( instead of *.site.com he wanted to have site.com/* , meaning that instead of site1.site.com he wanted site.com/site1 ). Task seems really easy in the beginning (when you install network wordpress interface asks you how you want the network to work – subdomain or subfolders – and that`s it ).
But if you want to change that it`s not that simple since wordpress interface has no such option and you need to do it manually ).
Anyway , after some missed settings i have succeed converting it .
These is what you need to do in order to convert the wordpress network (multisite) from using subdomains to sub subfolders :
- BACKUP EVERYTHING
Change wordpress configuration file
- ftp login to server and edit wp-config.php . Change
define(‘SUBDOMAIN_INSTALL’, true); to define(‘SUBDOMAIN_INSTALL’, false);
Change wordpress database
- login to phpmyadmin (if you are using cpanel there is a link to it under DATABASES group), select wordpress network databaseand perform the following:
- select table blogs ( actually it is named wp_blogs if you didn`t change default Continuarea
In cele mai frecvente cazuri folosesc mysqldump pentru a obtine un backup al bazei de date pe care apoi il utilizez pentru a crea baze de date.
Desi este destul de buna ca solutie , in cazul in care pur si simplu dorim sa “clonam” o baza de date pe alt server evine putin incomod .
Solutia gasita este sa setez serverul MySQL pe care doresc sa pun baza de date sa accepte conexiuni de la sererul pe care se afla deja baza de date ( restrictii pe host/ip ) , si apoi sa execut urmatoarea comanda pe serverul pe care se afla deja baza de date: Continuarea
Rezolvare rapida a problemei conversiei tuturor tabelelor la InnoDB . Pentru cazul in care sunt suficient de putine se poate rezolva usor din phpMyAdmin insa in cazul in care discutam de mai multe … jumatate de zi de click-uri in phpMyAdmin s-ar putea sa nu fie chiar asa atragator.
In consola tastatzi urmatorul rand (evident dupa ce anterior ati inlocuit <USER> , <PAROLA> SI <DATABASE>cu ceea ce aveti nevoie.
for t in `echo “show tables” | mysql -u<USER> -p<PAROLA> –batch –skip-column-names <DATABASE>`;
do mysql -u<USER> -p<PAROLA> <DATABASE> -e “ALTER TABLE \`$t\` ENGINE = InnoDB;”;