Skip to content

Instantly share code, notes, and snippets.

View RobertRobern's full-sized avatar

Robert Robern RobertRobern

View GitHub Profile
@RobertRobern
RobertRobern / hosts
Created June 29, 2022 06:01 — forked from consti/hosts
/etc/hosts to block shock sites etc.
# This hosts file is brought to you by Dan Pollock and can be found at
# http://someonewhocares.org/hosts/
# You are free to copy and distribute this file for non-commercial uses,
# as long the original URL and attribution is included.
#<localhost>
127.0.0.1 localhost
127.0.0.1 localhost.localdomain
255.255.255.255 broadcasthost
::1 localhost
@RobertRobern
RobertRobern / instructions.md
Created July 28, 2020 12:59 — forked from susanBuck/instructions.md
How to reset `root` password in XAMPP MySQL

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"