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
| set guifont=Fira\ Code:h9 | |
| call plug#begin('~/.vim/plugged') | |
| Plug 'kristijanhusak/vim-hybrid-material' | |
| call plug#end() | |
| set background=dark | |
| colorscheme hybrid_material | |
| :set lines=50 columns=125 |
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
| ffmpeg -i "fileprefix.mkv" -c:v libx265 "fileprefix.mp4" |
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
| winget install notepads | |
| winget install notepad++ | |
| winget install jabref | |
| winget install quicklook | |
| winget install chrome | |
| winget install sumatrapdf | |
| winget install vcxsrv | |
| winget install visual studio code | |
| winget install visual studio community | |
| winget install windows terminal |
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
| # GITHUB_PAT=# use gitcreds instead | |
| # delete .tar.gz after checking package | |
| R_KEEP_PKG_SOURCE=no | |
| # first download JAVA JDK | |
| JAVA_HOME="C:/Program Files/Java/jdk-16.0.1" | |
| # first download and install JAGS | |
| JAGS_HOME="C:/Program Files/JAGS/JAGS-4.3.0" |
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
| chkdsk /r /f |
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
| # rstan::rstan_options(auto_write = TRUE) | |
| if (Sys.info()["sysname"] == "Windows"){ | |
| # For improved execution time, we recommend calling | |
| Sys.setenv(LOCAL_CPPFLAGS = '-march=corei7 -mtune=corei7') | |
| } | |
| # don't ask to save workspace on quit; `q()` | |
| # utils::assignInNamespace( | |
| # "q", | |
| # function(save = "no", status = 0, runLast = 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
| <?xml version="1.0"?> | |
| <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
| <fontconfig> | |
| <dir>/mnt/c/Windows/Fonts</dir> | |
| </fontconfig> |
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
| REM Launch an X11 window | |
| start /B ubuntu-nodec.xlaunch | |
| REM Start pulseaudio | |
| start "" /B "C:\bin\pulseaudio-1.1\bin\pulseaudio.exe" | |
| REM For WSL 1 | |
| REM ubuntu1804.exe run "if [ -z \"$(pidof mate-session)\" ]; then export DISPLAY=127.0.0.1:0.0; export PULSE_SERVER=tcp:127.0.0.1; mate-session; pkill '(gpg|ssh)-agent'; taskkill.exe /IM pulseaudio.exe /F; taskkill.exe /IM vcxsrv.exe; fi;" | |
| REM For WSL 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
| sudo apt update && sudo apt upgrade -y | |
| sudo apt install ubuntu-mate-desktop --no-install-recommends -y | |
| sudo apt-get install mate-desktop-environment-extras | |
| sudo dpkg-reconfigure dbus && sudo service dbus restart | |
| # install missing icons | |
| sudo apt install ubuntu-mate-icon-themes | |
| # install fira code font | |
| sudo apt install fonts-firacode |