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
# install mrgsolve (or other libraries) if not installed | |
if(!require(mrgsolve)){ | |
install.packages("mrgsolve") | |
library(mrgsolve, warn.conflicts = FALSE) | |
} |
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
concurrent = 1 | |
check_interval = 0 | |
[session_server] | |
session_timeout = 1800 | |
[[runners]] | |
name = "LAPTOP1" | |
url = "https://gitlab.xxx" | |
token = "xxx" |
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
f = function(){ | |
mod %>% | |
mrgsim(delta=0.1, maxsteps=5e4, hmax=0.001, hmin=0) %>% | |
plot() | |
} | |
(f2 <- microbenchmark(f(), times = 5L)) |
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
// __PROCESS__ is object from webpack, see "webpack.config.js" | |
const parameter = __PROCESS__.parameter; | |
... |
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
### sudo a2ensite redirect.apache2.conf | |
### sudo service apache2 restart | |
### target may be http or https | |
### Permanent redirect user browser to http://target.example.com | |
<VirtualHost *:80> | |
ServerAdmin webmaster@localhost | |
ServerName source.example.com | |
ServerAlias source2.example.com |
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
... | |
; using windows tools to compare files | |
[diff] | |
tool=windiff | |
; set location of windiff.bat | |
[difftool "windiff"] | |
cmd = \"C:/windiff/windiff.bat\" \"$LOCAL\" \"$REMOTE\" | |
... |
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
; using windows tools to compare files | |
[diff] | |
tool=windiff | |
; set location of windiff.bat | |
[difftool "windiff"] | |
cmd = \"Y:/testExel/windiff.bat\" \"$LOCAL\" \"$REMOTE\" | |
; Requires installation of node-textconv, see https://github.com/pismute/node-textconv | |
; The option is equivalent to: git config diff.xlsx.textconv "textconv --xlsx" | |
[diff "xlsx"] | |
textconv = textconv --xlsx |
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
* text=auto | |
*.xls* diff=xlsx | |
*.doc* diff=word | |
*.xml diff=xml | |
*.slv diff=slv |