Duplicator Plugin

The Duplicator gives WordPress administrators the ability to migrate, copy or clone a site from one location to another. The plugin also serves as a simple backup utility. The Duplicator supports both serialized and base64 serialized string replacement. If you need to move WordPress or backup WordPress this plugin can help simplify the process. URL: […]

Continue reading


Vagrant box for rails4 elixir and phoenix using ubuntu trusty64

Vagrant box built with virtualbox as provider and ubuntu trusty64 OS. Software Environment: 1. Rails 4.2 2. Ruby 2.2.4 3. rbenv version manager 4. Elixir 1.2.0 5. Phoenix web framework 6. postgres 9.3.10 7. Mysql 14.14 Can download from: https://atlas.hashicorp.com/pulsarcoder/boxes/trusty64-rails-laravel-phoenix Or using vagrant vagrant init pulsarcoder/trusty64-rails-phoenix; vagrant up –provider virtualbox

Continue reading


Get Slug of string using c#

public static string ToSlug(string value) { //First to lower case value = value.ToLowerInvariant(); //Remove all accents var bytes = Encoding.GetEncoding(“Cyrillic”).GetBytes(value); value = Encoding.ASCII.GetString(bytes); //Replace spaces value = Regex.Replace(value, @”\s”, “-”, RegexOptions.Compiled); //Remove invalid chars value = Regex.Replace(value, @”[^\w\s\p{Pd}]“, “”, RegexOptions.Compiled); //Trim dashes from end value = value.Trim(‘-’, ‘_’); //Replace double occurences of – or \_ […]

Continue reading