.
├── bin
├── public
│ └── test.txt
├── packages.config
├── Startup.cs
├── Web.config
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 xhr = new XMLHttpRequest(); | |
xhr.open('GET', '/api/sum?a=1&b=2', false); | |
xhr.send(null); | |
console.log(xhr.responseText); // prints 3 |
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
// For more information on how to configure Gulp.js build system, please visit: | |
// https://github.com/gulpjs/gulp/blob/master/docs/API.md | |
'use strict'; | |
var gulp = require('gulp'); | |
var browserify = require('gulp-browserify'); | |
var changed = require('gulp-changed'); | |
var jshint = require('gulp-jshint'); | |
var less = require('gulp-less'); |
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 gulp = require('gulp'); | |
var gutil = require('gulp-util'); | |
var path = require('path'); | |
// Settings | |
var deployUrl = 'https://github.com/{name}/{name}.github.io.git'; | |
var buildPath = './build'; | |
// Build website into the `./build` folder | |
gulp.task('build', function () { |
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
public static string Fun(int num) | |
{ | |
if (num == 0) | |
{ | |
return "0"; | |
} | |
var result = new StringBuilder(); | |
var count = 0; |
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
@if $menu_location == "right" { | |
right: -$mobilemenu_width; | |
//@include box-shadow(40px, 40px, 40px, -40px, rgba(0,0,0,0.9), inset); | |
} @else { | |
left: -$mobilemenu_width; | |
//@include box-shadow(-40px, 0px, 40px, -40px, rgba(0,0,0,0.9), inset); | |
} |
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
namespace Microsoft.AspNet.Identity.EntityFramework | |
{ | |
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel.DataAnnotations.Schema; | |
using System.Data.Common; | |
using System.Data.Entity; | |
using System.Data.Entity.Infrastructure; | |
using System.Data.Entity.Infrastructure.Annotations; | |
using System.Data.Entity.ModelConfiguration; |
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
'use strict'; | |
var AppDispatcher = require('../AppDispatcher'); | |
var TodoActions = { | |
ActionTypes: { | |
TODO_CREATE: 'TODO_CREATE' | |
}, | |
create: function(text) { |
var React = require('react');
var Counter = React.createClass({
statics: {
ticks: 0
},
render() {
return <span>{Counter.ticks++}</span>;
}
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
<?xml version="1.0" encoding="utf-8"?> | |
<!-- | |
This configuration file is required if iisnode is used to run node processes behind | |
IIS or IIS Express. For more information, visit: | |
https://github.com/tjanczuk/iisnode/blob/master/src/samples/configuration/web.config | |
--> | |
<configuration> | |
<system.webServer> |
OlderNewer