Skip to content

Instantly share code, notes, and snippets.


Nathaniel nathanielks

View GitHub Profile
nathanielks /
Created Oct 15, 2021 — forked from webframp/
Signing git commits on github using gpg key

Probably one of the easiest things you'll ever do with gpg

Install Keybase: and Ensure the keybase cli is in your PATH

First get the public key

keybase pgp export | gpg --import

Next get the private key

nathanielks /
Last active Jan 17, 2017 — forked from indolering/
Shell script to generate TLS certificates for local development (.test, .example, etc)
View wpmandrill-ms.php
* Plugin Name: wpMandrill MS
* Plugin URI:
* Description: Network-wide settings for wpMandrill.
* Version: 2013.04.01
* Author: Kailey Lampert
* Author URI:
* License: GPLv2 or later
* TextDomain: wpmandrill-ms
nathanielks / functions.php
Created Mar 14, 2012 — forked from johnmegahan/functions.php
Extended Walker class for use with the Twitter Bootstrap toolkit Dropdown menus in Wordpress.
View functions.php
add_action( 'after_setup_theme', 'bootstrap_setup' );
if ( ! function_exists( 'bootstrap_setup' ) ):
function bootstrap_setup(){
add_action( 'init', 'register_menu' );
nathanielks / wordpress.php
Created Feb 1, 2012 — forked from cogentParadigm/wordpress.php
Automated Wordpress Installer
View wordpress.php
$usage = "Automated Wordpress installer\nby Ali Gangji\nUsage: wordpress install_dir -u dbuser -p dbpass -d dbname\nOptions:\n";
$usage .= " -u dbuser Database username\n";
$usage .= " -p dbpass Database password\n";
$usage .= " -d dbname Database name\n";
$usage .= " -h dbhost Database host\n";
$usage .= " --private Hide blog from search engines\n";
$usage .= " --prefix prefix Database prefix\n";
if ($argc < 2) {