Skip to content

Instantly share code, notes, and snippets.

View samshanmukh's full-sized avatar
🏠
Reasearch on something new..

shanmukh samshanmukh

🏠
Reasearch on something new..
View GitHub Profile

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

""" Code to convert text into speech and play the sound using gtts and vlc libraries."""
# Library to convert from text to speech
from gtts import gTTS
#blabla = ("Spoking text using text to speech converter")
blabla = input('eneter your text: ')
tts = gTTS(text=blabla, lang='en')
@samshanmukh
samshanmukh / Help.md
Last active September 13, 2018 05:38
Help.md
@samshanmukh
samshanmukh / sample.md
Created March 24, 2018 05:45 — forked from bradtraversy/sample.md
Markdown Cheat Sheet

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

This text is italic

@samshanmukh
samshanmukh / encrypt_openssl.md
Created March 11, 2018 16:21 — forked from dreikanter/encrypt_openssl.md
File encryption using OpenSSL

Symmetic encryption

For symmetic encryption, you can use the following:

To encrypt:

openssl aes-256-cbc -salt -a -e -in plaintext.txt -out encrypted.txt

To decrypt:

@samshanmukh
samshanmukh / JavaScript reference.md
Created March 4, 2018 08:24 — forked from yig/JavaScript reference.md
An overview of JavaScript best practices. Geared towards someone with a C/C++/Java/Python background.

JavaScript reference for non-JavaScript programmers

Author: Yotam Gingold
License: Public Domain (CC0)

This document is intended as a reference or introduction to JavaScript for someone familiar with a language like C/C++/Java or Python. It follows best practices and gathers the scattered wisdom from matny stackoverflow questions and in-depth JavaScript essays. It relies on no external libraries.