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
g_LastCtrlKeyDownTime := 0 | |
g_AbortSendEsc := false | |
g_ControlRepeatDetected := false | |
*CapsLock:: | |
if (g_ControlRepeatDetected) | |
{ | |
return | |
} |
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
library(data.table) | |
library(ggplot2) | |
rm(list=ls()) | |
#set.seed(1) | |
# solver parameters | |
eps <- 1e-2 # need an epsilon for the root finder | |
mingap <- 0.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
rm(list=ls()) | |
set.seed(1) | |
n <- 1000 | |
b <- as.matrix(c(1,1)) | |
xb <- 1 | |
zb <- 1 |
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
{- | |
Pandoc filter that cleans up internal references to figures and tables. | |
It's an attempt to deal with: https://github.com/jgm/pandoc/issues/813 | |
Compile with: | |
ghc --make pandoc-internalref.hs | |
and use in pandoc with | |
--filter [PATH]/pandoc-internalref |