Skip to content

Instantly share code, notes, and snippets.

🎯
Focus on Machine Learning and AI

Manish shrivastava manish-shrivastava

🎯
Focus on Machine Learning and AI
Block or report user

Report or block manish-shrivastava

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
@manish-shrivastava
manish-shrivastava / mysql-backup-zip-and-remove-old-bkp
Created Oct 31, 2014
Mysql backup script take backup into compressed format and delete old backups
View mysql-backup-zip-and-remove-old-bkp
#This script is to take mysql backup script, take backup into compressed format and delete old backups
# Author: Manish Shrivastava
#!/bin/bash
# BEGIN CONFIGURATION ==========================================================
BACKUP_DIR="/home/whatever" # The directory in which you want backups placed
KEEP_MYSQL="14" # How many days worth of mysql dumps to keep
KEEP_SITES="2" # How many days worth of site tarballs to keep
View automongobackup.rb
# This script is to take daily backup of mongodb
#**** Created by Manish Shrivastava ****
#=================================================
# Instead of backing up on set days this will check the time differences
# between the last backup and the time the script running.
# Useful if you're backing up irregularly on a laptop
#!/usr/local/ruby/bin/ruby -w
View json_questions
[{
"Question": {
"QID": 1,
"Type": "multiple",
"ContentType": "multiple",
"Text": "What is best programming language?",
"OptionList": [{
"Opt": {
"Value": 1,
"OTexts": "Ruby",
View emberjs-very-important-doc.md

Core concepts

Model

  • An object that stores data (data persistance layer abstraction).
  • Templates transforms models into HTML.
  • Same thing as Rails model.

Template

@manish-shrivastava
manish-shrivastava / frontendDevlopmentBookmarks.md
Created Nov 5, 2016 — forked from dypsilon/frontendDevlopmentBookmarks.md
A badass list of frontend development resources I collected over time.
View frontendDevlopmentBookmarks.md
You can’t perform that action at this time.