Skip to content

Instantly share code, notes, and snippets.

#include <cmath>
#include <iostream>
#include <string>
using namespace std;
string calc(string msg){
int len,row,col,allot,margin;
string str="";
len=msg.length();
@djadmin
djadmin / git-status-watch.sh
Created November 23, 2015 08:57
Watch Git Status
#Tired to doing git status? Watch git changes using the below script
#install watch using homebrew
$ brew install watch
#watch git status
$ watch --color git status
@djadmin
djadmin / divshot.sh
Last active October 5, 2015 15:22
Download your Divshot project
# Please follow these steps if you need to download your divshot project.
# Let's say you need to download 'my-project' from production and you have Divshot CLI installed.
divshot login
mkdir my-project
divshot init
divshot download production
# Done