This file contains hidden or 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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Web; | |
| namespace Sample | |
| { | |
| public class CrossOriginRequestInfo | |
| { | |
| public string Origin { get; set; } |
This file contains hidden or 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 stringify = function(obj, prop) { | |
| var placeholder = '____PLACEHOLDER____'; | |
| var fns = []; | |
| var json = JSON.stringify(obj, function(key, value) { | |
| if (typeof value === 'function') { | |
| fns.push(value); | |
| return placeholder; | |
| } | |
| return value; | |
| }, 2); |
This file contains hidden or 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
| { | |
| "name": "my_vendor_name/my_package", | |
| "description": "My Package Description", | |
| "license": "GPL-3.0", | |
| "autoload": { | |
| "classmap": [ // search these directories for classes | |
| "lib/" | |
| ] | |
| }, | |
| "repositories": { |
This file contains hidden or 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
| <template> | |
| <multiselect | |
| :id="selectOptions.id" | |
| :options="options" | |
| :value="value" | |
| :multiple="selectOptions.multiple" | |
| :track-by="selectOptions.trackBy || null" | |
| :label="selectOptions.label || null" | |
| :searchable="selectOptions.searchable" | |
| :clear-on-select="selectOptions.clearOnSelect" |
This file contains hidden or 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
| ; Add this at the end of your php.ini to activate XDebug. | |
| ; Be sure to put in the correct directories and php_xdebug | |
| ; version! | |
| zend_extension = "C:\XAMPP\php\ext\php_xdebug-2.5.5-7.1-vc14.dll" | |
| [XDebug] | |
| ; xdebug.auto_trace |
This file contains hidden or 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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Threading.Tasks; | |
| using Microsoft.AspNetCore.Builder; | |
| using Microsoft.AspNetCore.Hosting; | |
| using Microsoft.AspNetCore.Http; | |
| using Microsoft.Extensions.DependencyInjection; | |
| using Nancy.Owin; | |
| using Microsoft.Extensions.Configuration; |
This file contains hidden or 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
| using Microsoft.AspNetCore.Mvc; | |
| using Nancy; | |
| using Nancy.Security; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Threading.Tasks; | |
| namespace Anyways.Nancy.API | |
| { |
This file contains hidden or 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
| 1) Install ESLint for VS Code (https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) | |
| 2) Add the following settings to VS Code settings: | |
| "[javascript]": { | |
| "editor.tabSize": 4, | |
| "editor.insertSpaces": true | |
| }, | |
| "[vue]": { | |
| "editor.tabSize": 4, | |
| "editor.insertSpaces": true |
This file contains hidden or 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
| <template> | |
| <div> | |
| <!-- template here ... --> | |
| </div> | |
| </template> | |
| <script> | |
| import VueFormGenerator from "vue-form-generator"; | |
| import setValidatorsMessages from "./vfg-german.js"; | |
| import "vue-form-generator/dist/vfg.css"; |
This file contains hidden or 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
| using System.Collections.Generic; | |
| namespace MyNancyfx.Extensions | |
| { | |
| public static class NancyFxExtensions | |
| { | |
| public static IDictionary<string, object> GetOwinEnvironment(this Nancy.NancyContext context) | |
| { |