- Add the
ExceptionUtility.cs
andErrorHandlerAttribute.cs
- Add the
ErrorHandlerAttribute
to your base controller to start logging errors. Like:
[ErrorHandler]
public class BaseController : Controller
{
// ...
/** | |
* Modify the parts you need to get it working. | |
*/ | |
var should = require('should'); | |
var request = require('../node_modules/request'); | |
var io = require('socket.io-client'); | |
var serverUrl = 'http://localhost'; |
# Set the base image to stable version of node | |
FROM node:0.12.2 | |
# Install nodemon | |
RUN npm install -g nodemon | |
# Provides cached layer for node_modules | |
COPY package.json /tmp/package.json | |
RUN cd /tmp && npm install --production | |
RUN mkdir -p /app && cp -a /tmp/node_modules /app/ |
Add AdaptiveImageHandler.cs
to your project.
In the EPiServerFramework.config
find the virtualPathProvider
called Global Files
and set useRouting="false"
, like so:
<add showInFileManager="true" virtualName="Global Files" virtualPath="~/Global/"
bypassAccessCheck="false" indexingServiceCatalog="Web" useRouting="false"
customFileSummary="~/FileSummary.config" name="SiteGlobalFiles"
type="EPiServer.Web.Hosting.VirtualPathVersioningProvider, EPiServer" />
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web.UI.WebControls; | |
using System.Web.UI.WebControls.WebParts; | |
using Microsoft.SharePoint; | |
using Microsoft.SharePoint.WebControls; | |
using Microsoft.SharePoint.WebPartPages; | |
namespace Example |
data:text/html, <style type="text/css">.e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div class="e" id="editor"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("editor");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</script> | |
<!-- | |
For other language: Instead of `ace/mode/ruby`, Use | |
Markdown -> `ace/mode/markdown` | |
Python -> `ace/mode/python` | |
C/C++ -> `ace/mode/c_cpp` | |
Javscript -> `ace/mode/javascript` | |
Java -> `ace/mode/java` | |
Scala- -> `ace/mode/scala` |
/** | |
* Related to http://stackoverflow.com/questions/16528539/mongoose-query-for-an-array-of-dictionaries | |
*/ | |
var mongoose = require('mongoose'), | |
db = mongoose.connect('mongodb://localhost/test'); | |
var blogSchema = new mongoose.Schema({ | |
group: String, | |
writing: [{ |
Provides functionality for:
Set the stores you want to list in the stores
, for example:
protected static List<object> stores = new List<object>()
{
This software uses VimeoDotNet to connect to Vimeo API. To support this project visit http://support.saeedoo.com. | |
ExecuteGetCommand: GET: http://vimeo.com/oauth/request_token?oauth_callback=oob&oauth_consumer_key=6a0863a7e1a977e0a11b7b1d44e4fd4fe2b099ee&oauth_nonce=12538763498766544664049620&oauth_signature=m97UWvPR%2fkHifaKh%2bLcUv1mio%2bM%3d&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1363166144&oauth_version=1.0& | |
ExecuteGetCommand: OK: http://vimeo.com/oauth/request_token?oauth_callback=oob&oauth_consumer_key=6a0863a7e1a977e0a11b7b1d44e4fd4fe2b099ee&oauth_nonce=12538763498766544664049620&oauth_signature=m97UWvPR%2fkHifaKh%2bLcUv1mio%2bM%3d&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1363166144&oauth_version=1.0& | |
[134B]: oauth_token=f5e46105426e91e42f3fb094e6301451&oauth_token_secret=594c8309381581eda2a1da71aa1cead935d1eaaf&oauth_callback_confirmed=true | |
The thread '<No Name>' (0x1b44) has exited with code 0 (0x0). | |
The thread '<No Name>' (0x14cc) has exited with code 0 (0x0). | |
ExecuteGetCommand: GET |