Skip to content

Instantly share code, notes, and snippets.

@samsamet
samsamet / dabblet.css
Created February 7, 2014 20:03
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
@samsamet
samsamet / dabblet.css
Created February 6, 2014 05:56
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
@samsamet
samsamet / dabblet.css
Created January 3, 2014 01:10
Untitled
.divTable
{ display: table;
width:100%; }
.divRow
{
display:table-row;
width:100%;
}
@samsamet
samsamet / dabblet.css
Created January 2, 2014 21:48
Untitled
.divTable
{
display: table;
width:100%;
}
.divRow
{
display:table-row;
width:100%;
@samsamet
samsamet / app.js
Created October 23, 2013 20:36
NodeJS
/**
* Module dependencies.
*/
var express = require('express');
var routes = require('./routes');
var user = require('./routes/user');
var http = require('http');
var path = require('path');
nodJS
/**
* Module dependencies.
*/
var express = require('express');
var routes = require('./routes');
var user = require('./routes/user');
var http = require('http');
var path = require('path');
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
</body>
</html>
/**
* Created by Samet Caglar on 10/17/13.
*/
var methodRole= require('../Role/methodRole');
var methodModel= methodRole.methodRole;
exports.IsUserAuthorized = function (actionName,self,userData,showPage){