Javascript Base64 Encode, Decode for UTF-8/unicode string

Complete article that works for me : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Base64_encoding_and_decoding 

Part where we encode from unicode/utf-8 is

function utf8_to_b64( str ) {
  return window.btoa(unescape(encodeURIComponent( str )));
}
 
function b64_to_utf8( str ) {
  return decodeURIComponent(escape(window.atob( str )));
}
 
// Usage:
utf8_to_b64('✓ à la mode'); // "4pyTIMOgIGxhIG1vZGU="
b64_to_utf8('4pyTIMOgIGxhIG1vZGU='); // "✓ à la mode"

 This is one of most used thing now a days.

Experiment goes wrong

My blog was recently been taken out. I was experimenting on my Azure server that host the blog and accidently leave a unsecure port open on my server. Result, server was over used by hacker and Azure close me down. That is really nice of them that they did close me, because otherwise I might not know what is going wrong with my hosting as these things are easily ignored.

But I am back and close all issues and hope to continue with more precaution now on.

 

Some Cool WordPress Plugin

Lately, I got lot of wordpress site, that were not just blog or business website. But they are ecommerce, Restaurant Ordering, Video streaming and much more. Been a developer I always remain engage in making some sort of plugin for them. Though following list of plugin assist me a big time in saving time to do some of works I usually have to do to make some really nasty site in wordpress:

The list is of plugin I usually use, but not restricted to. There are couple more of plugin but currently I am unable to recall them. Meanwhile we also create a small plugin used for very limited set of user:

https://github.com/Vikasumit/wpl [Allow only members to see the complete site].

I have few other plugin coming up, but still not ready to launch them in public as they are not yet finish or are mature products. Love the fact that WordPress plugin development is as cool as working on any other project. Just need some good idea to make it possible.