Skip to content

Instantly share code, notes, and snippets.

View thirteenpixels's full-sized avatar

Bill Evans thirteenpixels

View GitHub Profile
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="x-apple-disable-message-reformatting">
<meta name="format-detection" content="telephone=no,address=no,email=no,date=no,url=no">
<meta name="color-scheme" content="light dark">

Keybase proof

I hereby claim:

  • I am thirteenpixels on github.
  • I am thirteenpixels (https://keybase.io/thirteenpixels) on keybase.
  • I have a public key ASCA93UoVXazJmUNJkzbWuwtNUHZilFRrUqyqehDUIZt5go

To claim this, I am signing this object:

@thirteenpixels
thirteenpixels / gist:967733
Created May 12, 2011 01:02
reset mysql root password
sudo /etc/init.d/mysql stop
sudo mysqld --skip-grant-tables &
mysql -u root mysql
UPDATE user SET Password=PASSWORD('newpassword') WHERE User='root'; FLUSH PRIVILEGES; exit;
sudo /etc/init.d/mysql start
@thirteenpixels
thirteenpixels / gist:962494
Created May 9, 2011 13:15
Howto make an htpasswd file with python
import crypt
print ("%s:%s" % ('username', crypt.crypt('password', 'salt')))