Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Deprecating Legacy

Tomas Votruba TomasVotruba

🎯
Deprecating Legacy
View GitHub Profile
@susanBuck
susanBuck / instructions.md
Last active Oct 29, 2020
How to reset `root` password in XAMPP MySQL
View instructions.md

Open C:\xampp\mysql\bin\my.ini (MySQL config file)

Find the line [mysqld] and right below it add skip-grant-tables. Example:

# The MySQL server
[mysqld]
skip-grant-tables
port= 3306
socket = "C:/xampp/mysql/mysql.sock"
@JanMikes
JanMikes / DB.txt
Last active Sep 22, 2017
Example of simple and stupid value object
View DB.txt
Vygenerovat migrations, ktera smaze z commentu typu `(DC2Type:identity_uid)`
View php-regex-cheat-sheet.md

[abc] A single character: a, b or c
[^abc] Any single character but a, b, or c
[a-z] Any single character in the range a-z
[a-zA-Z] Any single character in the range a-z or A-Z
^ Start of line
$ End of line
\A Start of string
\z End of string
. Any single character
\s Any whitespace character

You can’t perform that action at this time.