Skip to content

Instantly share code, notes, and snippets.

Manish manishtpatel

Block or report user

Report or block manishtpatel

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@manishtpatel
manishtpatel / main.go
Last active Oct 3, 2019
GoLang Encrypt string to base64 and vice versa using AES encryption.
View main.go
package main
import (
"crypto/aes"
"crypto/cipher"
"crypto/rand"
"encoding/base64"
"fmt"
"io"
)
View findandmodify_issue.js
var mongodb = require('mongodb'),
request = true;
var db = new mongodb.Db('test_db', new mongodb.Server("127.0.0.1", 27017, {
auto_reconnect: true
}), {});
// listen on error
db.on("error", function(err) {
console.log('open request ', request);
You can’t perform that action at this time.