Installing PHPUnit with Composer on Windows

On Windows to install PHPUnit, need Composer, which you can download from https://getcomposer.org/Composer-Setup.exe. Also need Git, which can be downloaded from http://git-scm.com/download/win. I installed Git with the option "Use Git from the Windows Command Promt". After you install Git and … Continue reading

Posted in Programming | Tagged , , , , | Leave a comment

Disable phpMyAdmin ajax notifications

Installed a new version of phpMyAdmin 4.2.7 and noticed that with ajax version appeared a notification about every action in the middle of the screen. It is often notifies not mandatory actions, such as loading the page and it can … Continue reading

Posted in Programming | Tagged , | Leave a comment

Firefox dialog delay

Firefox has one second delay in dialog boxes for security. This delay can be disabled in settings. Enter address about:config in navigation toolbar, then opens setting page. Search for dialog_enable_delay and will appears preference name security.dialog_enable_delay. Now double click on … Continue reading

Posted in Interesting | Tagged , | Leave a comment

Find out smtp maximum email size limit

To find out smtp maximum email size limit, connect to smtp server with telnet: telnet mail.example.com 587 or with openssl when need SSL support: openssl s_client -crlf -connect smtp.gmail.com:465 Next send SMTP command: EHLO smtp.example.com In example with google smtp … Continue reading

Posted in Interesting | Tagged , , | Leave a comment

Android virtual device screen bit depth

Using drawable with a gradient there is visible defects on Android virtual device (emulator) because screen bit depth is 16 bpp by default. AVD bit depth can be increased in settings. Create AVD with checked box Use Host GPU, open … Continue reading

Posted in Programming | Tagged , , | 1 Comment

Resize and crop image from center with PHP

Sometimes I need to not only resize the image, but also to change its size by removing unnecessary edges for new size. This function changes image size and if the height or width is too large after resizing then the … Continue reading

Posted in Programming | Tagged , , , | 6 Comments

Attracted to harmonization

This gallery contains 3 photos.

Found a site weavesilk.com where anyone can draw a silk pictures, process captivate.

More Galleries | Leave a comment

Skyworth T065 not signing into Google

Tested tablet Skyworth T065, but there was authorize problem with Google account, and therefore does not synchronize email, will not connect to Google. I looked into the tablet files, and there is a file /etc/hosts which had redirection: A android.clients.google.com … Continue reading

Posted in Interesting | Tagged , | Leave a comment

Outbound links click tracking with Google Analytics

Google Analytics allows you to create events and track them. It can be used to track clicks on links to external sites. For example, we need to track only the outbound links and email clicks, then with jQuery filter links … Continue reading

Posted in Programming | Tagged , , , | Leave a comment

Chotto

Often in japanese language say chotto (ちょっと), translation is hey.

Posted in Interesting | Tagged | Leave a comment

Show only sticky posts on home page in WordPress

To create a list of posts by WordPress query it is possible to filter it by adding a custom filter to the condition. For example, if you need to show only sticky posts, you have to take a list of … Continue reading

Posted in Programming, WordPress | Tagged , , , , | Leave a comment

Trishna

This gallery contains 7 photos.

Jay seduces Trishna. Their love is turning into a hopeless hatred and aggression. I warn you it is a thriller and a bit of psychological nuance.

More Galleries | Leave a comment