Thursday, December 29, 2016

Escape Sequences in Strings

Escape Sequences in Strings


Quotes are not the only characters that can be escaped inside a string. Here is a table of common escape sequences:
CodeOutput
\'single quote
\"double quote
\\backslash
\nnewline
\rcarriage return
\ttab
\bbackspace
\fform feed

Friday, September 2, 2016

CSS is awesome

But as far as you are in the project it starting to be like this 

http://imgur.com/gallery/Q3cUg29

Wednesday, May 11, 2016

How to get informations about your hardware on computer

I have very good experience with this little free sofisticated program Free PC audit, which you can download here.

http://www.misutilities.com/free-pc-audit/index.html

Wednesday, February 24, 2016

How to reset password for Drupal 7 in the MySQL database

First you have to log in to your database, then open the table "users" and find the user you want to amend(ususally the ID = 1 )

then put new sql query

UPDATE users SET name='admin', pass='$S$Drl0vgZ9yuU9uc4JyaTMHxMPriC7q/PsOUOx52fCrVQSTpI/Tu4x' WHERE uid = 1;

This hash  $S$Drl0vgZ9yuU9uc4JyaTMHxMPriC7q/PsOUOx52fCrVQSTpI/Tu4x means password drupal  so than you can easily login with this password and login (usually admin) into the drupal.