danielhpavey.uk

A sorta, kinda, web development and design blog...

Posts tagged #web dev:

Create Wordpress User in phpMyadmin SQL

Thursday 16 February 2017

Create Wordpress User in phpMyadmin SQL This simple sql script will create a Wordpress user. You'll need access to the database via phpMyadmin or another means.. INSERT INTO wp_users (user_login, user_pass, user_nicename, user_email, user_status) VALUES ('username', MD5('password'), 'Firstname Lastname', 'email address', '0'); INSERT INTO wp_usermeta (umeta_id, user_id, meta_key, meta_value) VALUES (NULL, (Select max(id) FROM wp_users), 'wp_capabilities',

Tags: #wordpress #php #web dev

Open All Files Staged in Git in Vim

Thursday 9 February 2017

Open All Files Staged in Git in Vim vim git status --porcelain | sed -E -e 's/^M|^A//g' This is working for me in iTerm on my Mac...

Tags: #vim #web dev #git

Open URL in Vim in Default Browser

Wednesday 25 January 2017

Open URL in Vim in Default Browser gx If your running Vim 7.4 or over it's as simple as that...

Tags: #vim #web dev

Infinite Vim Monkey Theorem

Sunday 28 February 2016

Infinite Vim Monkey Theorem Infinite Vim Monkey Theorem. #vimhttps://t.co/0HvURMTh1N pic.twitter.com/MPNEvZYhbc— Mastering Vim (@MasteringVim) February 26, 2017

Tags: #vim #web dev

How do you reload your .vimrc file without restarting vim?

Friday 4 December 2015

How do you reload your .vimrc file without restarting vim? :so $MYVIMRC How do you reload your .vimrc file without restarting vim? - Super User

Tags: #vim #web dev