Skip to content

Instantly share code, notes, and snippets.

View stupidchief's full-sized avatar

Adrian Murphy stupidchief

View GitHub Profile
@stupidchief
stupidchief / new_u.php
Last active June 22, 2018 11:58
Create a WordPress admin user by placing this script in root folder and then visiting it in browser
<?php
// ADD NEW ADMIN USER TO WORDPRESS
// ----------------------------------
// Put this file in your Wordpress root directory and run it from your browser.
// Delete it when you're done.
require_once('wp-blog-header.php');
require_once('wp-includes/registration.php');
// CONFIG
@stupidchief
stupidchief / index.html
Created April 28, 2017 09:53
Coming Soon Page (responsive)
<!doctype html>
<title>Coming Soon</title>
<style>
body {
text-align: center;
padding: 0;
}
h1 {
font-size: 30px;