A Pen by Harshit Pandey on CodePen.
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
var application_root = __dirname, | |
express = require("express"), | |
path = require("path"), | |
mongoose = require('mongoose'); | |
var app = express.createServer(); | |
// database | |
mongoose.connect('mongodb://localhost/ecomm_database'); |
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
<apex:page standardStylesheets="false" showHeader="false" applyHtmlTag="false" docType="html-5.0"> | |
<html xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Hello React</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.3/react.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.3/JSXTransformer.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> | |
<apex:includeScript value="//cdn.rawgit.com/mattwelch/makeDeferredProvider/master/makeDeferredProvider.min.js"/> | |
<apex:stylesheet value="//cdn.rawgit.com/mailtoharshit/LightingDesignSystem/master/salesforce-lightning-design-system-v0.8.0/assets/styles/salesforce-lightning-design-system-vf.min.css" /> |
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
<apex:page showheader="false" sidebar="false" standardStylesheets="false"> | |
<head> | |
<!-- Import CSS from Rawgit` --> | |
<link rel="stylesheet" href="//cdn.rawgit.com/mailtoharshit/Couch/master/gitCDN/angular-material.css" /> | |
</head> | |
<body> | |
<!-- Import Javascript from RawGit --> | |
<script src="//cdn.rawgit.com/mailtoharshit/Couch/master/gitCDN/angular.js"></script> | |
<script src="https://cdn.rawgit.com/mailtoharshit/Couch/master/gitCDN/angular-animate.js"></script> | |
<script src="//cdn.rawgit.com/mailtoharshit/Couch/master/gitCDN/angular-aria.js"></script> |
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
# GitIgnore for Salesforce Projects | |
# Project Settings and MetaData | |
.project | |
.settings/ | |
.metadata | |
build.properties | |
config | |
# Apex Log as optional | |
apex-scripts/log |
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
/** | |
* Module dependencies. | |
*/ | |
var express = require('express'); | |
var routes = require('./routes'); | |
var user = require('./routes/user'); | |
var http = require('http'); | |
var path = require('path'); | |
var passport = require('passport'); |
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
<html> | |
<head> | |
<meta charset="utf-8"> | |
<!-- Scripts--> | |
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script> | |
<!-- Compiled and minified CSS --> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.7/css/materialize.min.css"> | |
<!-- Compiled and minified JavaScript --> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.7/js/materialize.min.js"></script> |
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
[{ | |
"name": "Afghanistan", | |
"code": "AF" | |
}, { | |
"name": "Ã…land Islands", | |
"code": "AX" | |
}, { | |
"name": "Albania", | |
"code": "AL" | |
}, { |
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
var data = $.ajax({ | |
url: "https://api.myjson.com/bins/1009i", | |
success: function(result) { | |
console.log(result); | |
} | |
}); | |
var options = { | |
keys: ['name'], | |
id: 'name' |
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
<!-- | |
*************************************************************************** | |
Name : Material Design on Visualforce Pages | |
Created By : Harshit Pandey (hpandey@salesforce.com) | |
For more : http://www.oyecode.com | |
Created Date : December 22, 2014 | |
*************************************************************************** --> | |
<apex:page standardStylesheets="false" showHeader="false"> | |
<!-- Import Paper Design Elements --> | |
<link rel="import" href="//www.polymer-project.org/components/core-icons/core-icons.html"/> |
NewerOlder