Skip to content

Instantly share code, notes, and snippets.

@Mantish
Mantish / AuthController.js
Last active Dec 21, 2015 — forked from theangryangel/AuthController.js
Sails.js (v0.9.3) authentication using Passportmiddleware
View AuthController.js
// api/controllers/AuthController.js
var passport = require('passport');
var AuthController = {
login: function (req,res)
{
res.view();
},
@Mantish
Mantish / responsive-images.php
Created Oct 4, 2011 — forked from mattwiebe/responsive-images.php
Mobile First Responsive Images for WordPress
View responsive-images.php
<?php
/*
Plugin Name: Mobile First Responsive Images
Description: Serve up smaller images to smaller screens.
Version: 0.1.1
Author: Matt Wiebe
Author URI: http://somadesign.ca/
*/
/**