This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create table student( | |
rollno number(5), | |
nam varchar(50)); | |
create table audittrail( | |
rollldata number(5), | |
namedata varchar(50), | |
operationname varchar(60), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def home(request): | |
from django.template import Context | |
from django.template import Template | |
from django.template.loader import render_to_string | |
x = '{% load custom_tags %} {% user_count %}' | |
prepare = {'tags':x} | |
x = render_to_string('home.html',context=prepare,request=request) | |
template = Template(x) | |
context = Context({}) | |
y = template.render(context) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service mongod start | |
service mongod stop | |
service mongod restart | |
show dbs --->will show all database | |
use [database name]---->will use the db | |
db.dropDatabase() ---> will drop database of selected database or else test db is deleted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row" style="background-color:#006699;"><br> | |
<div class="col-sm-6"></div> | |
<div class="col-sm-3"> | |
<div class="widget"> | |
<form class="form-search"> | |
<input class="form-control" type="text" placeholder="Search.."> | |
</form> | |
</div> | |
</div> | |
<div class="col-sm-1" ><ul class="social-network"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<iostream> | |
#include<conio.h> | |
using namespace std; | |
void tower(int, char[], char[], char[]); | |
void main() | |
{ | |
int N; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
NewerOlder