Skip to content

Instantly share code, notes, and snippets.

@hnrchrdl
hnrchrdl / create-react-app-flow-jest-vscode.md
Last active December 21, 2019 06:52
Create new Project with Create-React-App with Flow and VSCode support

1. Create new app

npx create-react-app myapp

2. Edit workspace settings in vscode for flow typechecking

{
  "flow.useNPMPackagedFlow": true,
 "javascript.validate.enable": false
@hnrchrdl
hnrchrdl / web.config
Last active April 5, 2018 08:10 — forked from KristofferBerge/web.config
Configuration file for Azure web app to support angular2 applications with routing and long urls for auth tokens and woff/woff2 files.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<httpRuntime maxQueryStringLength="32768" maxUrlLength="65536"/>
</system.web>
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxQueryString="32768"/>
</requestFiltering>
<FeatureTypeStyle>
<Rule>
<PointSymbolizer>
<Graphic>
<Mark>
<WellKnownName>circle</WellKnownName>
<Fill>
<CssParameter name="fill">#FF0000</CssParameter>
</Fill>
</Mark>