Programming
-
jQuery UI Tooltip, keep visible
Hello friends,today I’ve found myself in the need of having the jQuery UI Tooltip always visible once the mouse is…
Ler Mais » -
How to copy EXIF information from one file to another using PEL?
Hey there, this is as small update to my other script that adds a watermark to your images, adding a…
Ler Mais » -
PHP: How to convert an array into an object using stdClass()
To convert array to object use: To convert object to array
Ler Mais » -
PHP ftp_connect fails! returns bool (false)
The stage!Implementation of a new server into a client, Linux based, fresh install, Centos 7, MariaDB and PHP 5.4.x.This client…
Ler Mais » -
MySQL: How to INSERT a random value
Problem: I have a large table with hundreds of test records, and would like to insert into a determined column a…
Ler Mais » -
How to run a batch file minimized?
I have a script to run my VPS extra backups into my PC. There aren’t enough backups to save us…
Ler Mais » -
PHP: How to read a text file line by line
Had to read a file line by line in php, without completely loading it in memory.The file is way too…
Ler Mais » -
PLESK: Can’t access folder plesk-stat/webstat after switching server
Changing a server is never a totally peaceful task, especially when the causes involve data corruption. At this time, it…
Ler Mais » -
MySQL: How to order VARCHAR as INT
Sometimes it is needed to order type fields VARCHAR as INT. If you order a VARCHAR type field, the result…
Ler Mais » -
How to check if query returned any records using first with Laravel Eloquent ORM
Although this may be easy to some, for beginners it can be like hell looking for the right answer. Heck,…
Ler Mais » -
Invoking a jQuery function after .each() has completed
I was having a big problem using .load() within .each() loop. The problem was that I wanted the each .load()…
Ler Mais » -
Como criar a sua Marca de Água, automaticamente
Ultimamente, andei à procura de algum plugin para Wordpress que de alguma forma conseguisse fazer marcas de água para as…
Ler Mais »