Skip to content

Instantly share code, notes, and snippets.

View riteshsangwan's full-sized avatar

Ritesh Sangwan riteshsangwan

View GitHub Profile
This file has been truncated, but you can view the full file.
(function(global) {
import ReactDOM from 'react-dom';
import Menus from './Menus';
ReactDOM.render(
Menus,
document.getElementById('root');
);
var express = require('express');
var app = express();
var http = require('http');
var cache = {};
var server;
var id = 'asdasddadasdasq44';
app.use("/",express.static("public"));
@riteshsangwan
riteshsangwan / export-sample.xml
Created September 3, 2015 20:18
Magnolia website workspace xml export sample
<sv:node sv:name="main">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>mgnl:area</sv:value>
</sv:property>
<sv:property sv:name="jcr:mixinTypes" sv:type="Name" sv:multiple="true">
<sv:value>mix:lockable</sv:value>
</sv:property>
<sv:property sv:name="jcr:uuid" sv:type="String">
<sv:value>95530abb-b223-4774-8523-ab61cb9805c7</sv:value>
</sv:property>
@riteshsangwan
riteshsangwan / dinnacoDriven.xml
Created September 3, 2015 13:52
dinnacoDriven workspace dump
<?xml version="1.0" encoding="UTF-8"?>
<sv:node sv:name="jcr:root" xmlns:sv="http://www.jcp.org/jcr/sv/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>rep:root</sv:value>
</sv:property>
<sv:node sv:name="contentIndex">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>nt:unstructured</sv:value>
</sv:property>
<sv:node sv:name="1f8af166-258f-4351-a543-3d0fc8bb00c0">
/* JavaScript content from worklight/cordova_plugins.js in JS Resources */
/*
* Licensed Materials - Property of IBM
* 5725-I43 (C) Copyright IBM Corp. 2006, 2013. All Rights Reserved.
* US Government Users Restricted Rights - Use, duplication or
* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
*/
cordova.define('cordova/plugin_list', function(require, exports, module) {
module.exports = [