Skip to content

Instantly share code, notes, and snippets.

View shivasurya's full-sized avatar

Shivasurya shivasurya

View GitHub Profile
var express = require('express')
, http = require('http')
, path = require('path');
var app = express();
app.configure(function(){
app.set('port', process.env.PORT || 3000);
app.set('views', __dirname + '/views');
app.set('view engine', 'jade');
<!DOCTYPE html>
<html>
<head>
<!-- Latest compiled and minified CSS -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
</head>
<body>
{
"name":"hello",
"main":"www/index.html",
"description": "demo app of node-webkit",
"version": "0.1.0",
"window": {
"title": "Hello World",
"icon": "link.png",
"toolbar": false,
"width": 800,
<?php
header('Content-Type: application/json');
if($_POST)
{
if($_POST['email'])
{
$incominglist = $_POST['email'];
$full=array();
$con=mysqli_connect("localhost","root","shiva1995","invite");
// Check connection
@shivasurya
shivasurya / index.php
Created May 11, 2014 02:04
i-visionblog.com loginv1.0 index.php file
<head>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="css/validator/css/bootstrapValidator.min.css"/>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="css/validator/js/bootstrapValidator.min.js"></script>
<script>
$(document).ready(function() {
$('#attributeForm').bootstrapValidator();