Author Archives: Aleksandras

Death Stranding fix for DirectX 12 Feature Level 12_0 not supported on GeForce GTX 960M

You will need d3d12ProxyEdrDx11_0 project which uses proxy functions and dll redirecting to try run Elden Ring on DirectX 12 hardware with feature level 11_0. This project is also suitable for the game Death Stranding. … Continue reading

Installing PHPUnit with Composer on Windows

(3)

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". … Continue reading

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 … Continue reading

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 … Continue reading

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 … Continue reading

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 … Continue reading

Resize and crop image from center with PHP

(30)

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 … Continue reading

Attracted to harmonization

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

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 … Continue reading

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, … Continue reading

Chotto

Often in japanese language say chotto (ちょっと), translation is: easily; one minute; rather; some; just a little bit; through a short time; hey!

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 … Continue reading

Trishna

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.

jQuery Jeditable and Chosen hybrid

Jeditable – edit in place plugin for jQuery. Chosen - jQuery plugin that makes select boxes user-friendly. So why not combine them together. This javascript code will let you select in place with Chosen select … Continue reading

Color spaghetti

Sort by specific order in MySQL query

If you want to sort the list by a certain order, such as a list of numbers from the beginning of 4,5,1, and then in ascending order, you can create a sort order by IF … Continue reading

Local date format in PHP or MySQL

If locale is installed on the server then with PHP: For MySQL local date:

Display data from long running PHP script with jQuery

When a PHP script is executed for a long time and it is not clear what it is happening, such as a long loop, a prolonged processing, rainy weather, or other magical things. That is, … Continue reading

Text wrap for imagettftext

(6)

One line text does not always fit into a given width of the picture, then you need to word wrap the text to a new line, depending on the width. If only the width is … Continue reading

Calculate days between dates

Using php strtotime function difference between dates: Another way to set date with mktime function: Before PHP 5.1.0 negative timestamps were not supported. Under any known version of Windows date could be from 1970 to … Continue reading