Skip to content

Instantly share code, notes, and snippets.

View ivlists's full-sized avatar

Vaibhav ivlists

  • Microsoft corporation
  • Bangalore
View GitHub Profile
Param
(
[Parameter(Mandatory=$true)]
[String]
$DownloadLocation
)
cls
# The script has been tested on Powershell 3.0
@ivlists
ivlists / Google Docs encryption
Last active July 17, 2017 21:00 — forked from vicmortelmans/gist:1391229
Blowfish encryption library implementation for Google app scripts (Precisely - Docs).
function escape(t)
{
var r='';
for(var i=0;i<t.length;i++){
var c=t.charCodeAt(i);
var t1=Math.floor(c/16);
var t2=c%16;
if (t1<10) t1+=48;
else t1+=55;
if (t2<10) t2+=48;