Skip to content

Instantly share code, notes, and snippets.

View scottnunemacher's full-sized avatar
😁
Doing the things

Scott Nunemacher scottnunemacher

😁
Doing the things
View GitHub Profile
@mrazzari
mrazzari / readme.md
Last active October 29, 2022 00:06
WP-Migrate: standalone WP database dump into a new DB.

WP-MIGRATE

Migrates a standalone WP database dump into a new DB.

This script will take a mysqldump sql file, and:

  1. Replace the old blog's URL with the new one
  2. Replace an old WP table_prefix with a new one
  3. Take care of string lengths within serialized data

It will finally import the MySQL dump into the new DB, using wp-config's settings.

@pksunkara
pksunkara / config
Last active May 4, 2025 20:05
Sample of git config file (Example .gitconfig) (Place them in $XDG_CONFIG_HOME/git)
[user]
name = Pavan Kumar Sunkara
email = [email protected]
username = pksunkara
[init]
defaultBranch = master
[core]
editor = nvim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager = delta