Skip to content

Instantly share code, notes, and snippets.

View protherj's full-sized avatar

Jason Prothero protherj

View GitHub Profile
using System.Collections.Generic;
using System.Text;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Html;
using Umbraco.Core.Logging;
using Umbraco.Core.Models;
namespace Foo
{
@alindgren
alindgren / Readme.md
Created January 17, 2017 15:28
Powershell script for grabbing Umbraco Cloud database locally

Notes

Umbraco Cloud uses SQL Azure in the cloud, but for local environments it normally pulls the data down to a local SQL CE database using 'dark magic.' You can, however, pull down the Dev database and restore it to a local SQL Server install. For this, use database.ps1 PowerShell script. You may need to Set-ExecutionPolicy RemoteSigned to run the script. If you are using Windows 7, you may need to configure powershell to use .NET 4 (see http://tfl09.blogspot.com/2010/08/using-newer-versions-of-net-with.html).

In the script, set the location of the folder where you want the DB bacpac file to get saved. Once the file is saved, in SQL Server Management Studio 2014 in the Object Explorer, right click

@addyosmani
addyosmani / package.json
Last active May 29, 2024 15:54
npm run-scripts boilerplate
{
"name": "my-app",
"version": "1.0.0",
"description": "My test app",
"main": "src/js/index.js",
"scripts": {
"jshint:dist": "jshint src/js/*.js",
"jshint": "npm run jshint:dist",
"jscs": "jscs src/*.js",
"browserify": "browserify -s Validating -o ./dist/js/build.js ./lib/index.js",
@warrenbuckley
warrenbuckley / package-manifest.json
Last active November 8, 2016 19:46
JSON Schema for Umbraco Property Editor Package Manifest
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "propertyEditors",
"description": "An array of Umbraco Property Editors",
"type": "object",
"properties": {
"name": {
"description": "The friendly name of the property editor, shown in the Umbraco backoffice",
"type": "string"
},
@leekelleher
leekelleher / umbraco-package-ideas.md
Last active June 9, 2020 09:36
Umbraco Package Ideas