Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Prashant Solanki prashantsolanki3

🎯
Focusing
Block or report user

Report or block prashantsolanki3

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
@prashantsolanki3
prashantsolanki3 / CouchDB_Python.md
Created Apr 22, 2018 — forked from marians/CouchDB_Python.md
The missing Python couchdb tutorial
View CouchDB_Python.md

This is an unofficial manual for the couchdb Python module I wish I had had.

Installation

pip install couchdb

Importing the module

@prashantsolanki3
prashantsolanki3 / create_user.sh
Created Jul 16, 2016
Script to create a user if it does not already exist in Linux
View create_user.sh
USER_NAME="testing"
SUCCESS=0
PASSWORD="password"
SUDO=''
if [ "$EUID" -ne 0 ]; then
echo "The script needs root privileges"
SUDO='sudo'
fi
@prashantsolanki3
prashantsolanki3 / common.css
Created Feb 10, 2016
Common style for Web Engg lab
View common.css
body{
text-align: center;
}
table{
border-collapse: collapse;
border : 2px solid black;
width: 50%;
margin: 0 auto;
}
@prashantsolanki3
prashantsolanki3 / FCFS.cpp
Created Jan 23, 2016
OS First Come First Serve Exp-1
View FCFS.cpp
#include<iostream.h>
#include<conio.h>
int main() {
int n,burst[20],wait[20],tat[20],avgwt=0,avgtat=0,i,j;
clrscr();
cout<<"Enter total number of processes(maximum 20):";
You can’t perform that action at this time.