Mi-am tot batut capul cum sa fac backup automat la baza de date intr-un interval stabilit de timp. Pana acum am folosit plugin-uri in Joomla care faceau acest lucru dar am avut ceva probleme si am cautat in continuare alta solutie. Asa am ajuns sa folosesc functia "cron jobs" din interfata CPanel.
Pentru backup-ul unei baze de date am folosit linia de comanda de mai jos:
Do you seem that some image is not exactly centered as you wish? Should be 5 pixels left or about 7 pixels upper? This short step-by-step procedure shows you how to center one layer in another by using Photoshop.
Before we start, I would like to focus your attention on the right upper History panel to follow all actions done by every single step. Also, don’t miss follow the Layers tab in the right lower corner to have an info which one is actually selected. Keep an eye on these two items all the time! They could significantly help you to clarify some doubts.
Well, let’s have a situation: very friendly and cute looking smiley should be exactly centered in the 500×500 pixels blank image. So, first open the smiley.png image and create new one, blank image by File > New selection of the top main menu. After this step #0, your workplace should look like the below one.
Now, make layer from Background of the newly created blank image by double click on it, in the right lower Layers tab. Check, that the name of this layer has changed from Background to Layer 0. Also, notice the History pane at right upper corner to check the change. This first step should be recorded there.
vignette, or soft fade, is a popular photo effect where the photo gradually fades into the background, usually in an oval shape. By using Photoshop's layer masks you can create this effect flexibly and non-destructively.
Open a photo.
Convert the background to a layer by double clicking on it. (Give it a name if you wish.)
Select the Elliptical Marquee tool.
Drag a marquee selection around the area of the photo you want to keep.
Click the "Add layer mask" button at the bottom of the layers palette.
Click on the layer mask thumbnail in the layers palette.
Go to Filter > Blur > Gaussian Blur and make sure the Preview option is checked.
Adjust the radius until you are happy with the amount of fade and click OK.
Add a layer under the photo and fill it with the desired background.