Skip to content

Instantly share code, notes, and snippets.

View VishwasShashidhar's full-sized avatar

Vishwas Shashidhar VishwasShashidhar

  • Bangalore, India
  • 00:19 (UTC +05:30)
View GitHub Profile
@VishwasShashidhar
VishwasShashidhar / es678.js
Last active October 4, 2018 13:35
ES6, ES7, ES8 Features
// This is sourced from the video -> https://www.youtube.com/watch?v=nZ1DMMsyVyI&t=2s
// Template Literals
const firstName = 'John';
const lastName = 'Doe';
console.log(`Hello: ${firstName} ${lastName}`); // Hello: John Doe
// Object Destructuring
const person = {
@VishwasShashidhar
VishwasShashidhar / cassandra-backup.sh
Created January 6, 2020 09:11
Cassandra Daily Backup
#!/bin/bash
#
# Author: Sharad Kumar Chhetri
# Date : 27-April-2015
# Description : The backup script will complete the backup in 2 phases -
# 1. First Phase: Taking backup of Keyspace SCHEMA
# 2. Second Phase: Taking snapshot of keyspaces
#
## In below given variables - require information to be feed by system admin##