Skip to content

Instantly share code, notes, and snippets.


Rowell Heria rowellx68

View GitHub Profile
View Index.cshtml
ViewData["Title"] = "Home Page";
<div aurelia-app="main">Loading...</div>
@section scripts {
<environment names="Development">
<script type="text/javascript" asp-src-include="~/dist/vendor.*.js" asp-append-version="true"></script>
<script type="text/javascript" src="~/dist/app.bundle.js" asp-append-version="true"></script>
View red-custom-attribute.js
import { inject, bindable } from "aurelia-framework";
export class RedCustomAttribute {
constructor(element) {
@bindable value;
rowellx68 / post_build.ps1
Created Sep 12, 2016
Post-build event for Web project so no reference to EF in the project.
View post_build.ps1
del $(SolutionDir)$(ProjectName)\bin\EntityFramework.SqlServer.dll
copy $(SolutionDir)$(SolutionName).DAL\bin\$(ConfigurationName)\EntityFramework.SqlServer.dll $(SolutionDir)$(ProjectName)\bin\EntityFramework.SqlServer.dll
View response.json
"stopName": "Meadowhall Intc",
"stopCode": 37010200,
"time": 1460758019045,
"services": [
"service": "3",
"destination": "Nether Edge",
"departure": "23:10",
"lowFloor": false
var path = require('path');
var webpack = require('webpack');
var AssetsPlugin = require('assets-webpack-plugin');
var ExtractTextPlugin = require("extract-text-webpack-plugin");
module.exports = {
devtool: 'source-map',
entry: {
main: [