Make sure to set maz-http-header-size like below since the AD token size is large
set NODE_OPTIONS=--max-http-header-size=120000&& npx cypress open
References:
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
license: mit |
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
/* Inject this to bitbucket.org with your favourite browser extension, for example Stylish. */ | |
.omnibar-result-context, .omnibar-result-label { | |
max-width: 1170px; | |
} | |
.omnibar { | |
margin-left: -600px; | |
width: 1200px; | |
} |
React + D3 exploration with the force layout:
- React for structure
- D3 for data calculation
- React for rendering
Pro:
- Clean, easy to reason about
Con:
- Goes through lifecycle for every tick -> will not scale
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "ubuntu/trusty64" |
Basic unit type:
λ> replTy "()"
() :: ()
Basic functions:
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
{-# LANGUAGE NoImplicitPrelude #-} | |
module Console where | |
import Language.Fay.FFI | |
import Language.Fay.Prelude | |
data MyData = MyData { xVar :: Int, yVar :: Int } | |
myData :: MyData |
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
libraryDependencies ++= Seq( | |
"net.databinder" %% "unfiltered-jetty" % "0.4.1", | |
"net.databinder" %% "unfiltered-filter" % "0.4.1", | |
"net.databinder" %% "unfiltered-json" % "0.4.1" | |
) |