Tagging new versions of WordPress plugins directory February 24, 2010
Posted by artiko in: Web , 1 comment so farIf you have already created our WordPress plugin and added it to the official catalog, as described some time ago , Peter, can we come across the idea of his improved. Here comes the question: how to add a new amendment, the next version? Description of Best Practices in this connection can be found in official aid wordpress.org .
First some information. WordPress recommends storing subsequent versions of plug-in tags, tags directories in a folder in our repository. Their name should be, as is the usual with software, digital and always sequential, eg 1.0, 2.1, 3.5.7. The trunk folder is best to keep the current development version.
To give the plugins directory to know which version is our current stable, select it in the Stable tag in the file readme.txt in the folder trunk. WordPress will provide users with the same version of the plugin.
Problems with WP Super Cache and Global Translator February 10, 2010
Posted by artiko in: Web , add a commentOver the last weekend on my hosting has been raised from 1.3 Apache version to 2.2.14. On this occasion I had a strange anomaly in the operation of plugins WP Super Cache and Global Translator. Namely, their cache directories-u began to be writable in any way I could not change their attributes. I could not even delete them ... as well as their content. The strangest thing is that it started to behave just the two folders (cache and gt-cache) in wp-content folder. All other plugins to work properly, they could freely edit folders.
The only thing I could do with them, to change their names. It has helped me save operation of the service during peak hours. After changing the name of these two plugs unplugged and turned on again. This allows the folders have been re-created by WordPress, a plugin started to function properly.
The move to self WordPress.com blog hosting February 9, 2010
Posted by artiko in: Web , add a commentAs some of you probably already know I moved recently to my blog from WordPress.com to self-hosting. It was dictated by the desire to adapt your blog to my requirements and customizing the look of full, and I did not want to pay for it on WordPress.com.
I thought it would be a difficult undertaking ... but nothing more wrong! The whole procedure is very quick and easy, as I will describe.
We begin buy (finding free) hosting. We need support for PHP and MySQL database is available in virtually all of the tenders. Uploaded to the server in the place where to be on our blog files downloaded from pl.wordpress.org . Normally used for this FTP client. Then install WordPress in your browser by entering the address of our new blog and follow the instructions. At this point, remember that we know leads to our database address, username and password.
Execution time of code in C # February 6, 2010
Posted by artiko in: C # , Programming , add a commentOften, for diagnostic purposes - we want to benchmark to measure code execution time of a program / algorithm. A simple method is:
Now ; DateTime start = DateTime. Now; / / Our code Now ; Stop = DateTime DateTime. Now; start ; TimeSpan ElapsedTime = stop - start; ( "Czas wykonania: " + elapsedTime ) ; MessageBox. Show ("Execution time:" + ElapsedTime);
You can do it even nicer by using the System.Diagnostics class:
Stopwatch stopwatch = new Stopwatch (); ( ) ; stopwatch. Start (); / / Our code ( ) ; stopwatch. Stop (); ( "Czas wykonania: " + stopwatch . ElapsedMilliseconds ) ; MessageBox. Show ("Execution time:" + stopwatch. ElapsedMilliseconds);



