Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Environmental Cheminformatics
plan-b
Commits
b11d9e3a
Unverified
Commit
b11d9e3a
authored
Mar 05, 2021
by
Todor Kondic
Browse files
...
parent
c00f539f
Changes
8
Hide whitespace changes
Inline
Side-by-side
files/etc/default/keyboard
0 → 100644
View file @
b11d9e3a
XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT=""
XKBOPTIONS="ctrl:nocaps"
BACKSPACE="guess"
\ No newline at end of file
files/home/user/.Rprofile
0 → 100644
View file @
b11d9e3a
library
(
shinyscreen
)
options
(
browser
=
"chromium"
)
run_in_dir
<-
function
(
user
,
proj
)
{
projdir
<-
file.path
(
"/mnt/scratch"
,
user
,
proj
)
dir.create
(
projdir
,
recursive
=
T
)
setwd
(
projdir
)
shinyscreen
::
launch
()
}
shinyscreen_project
<-
function
(
proj
)
{
user
<-
Sys.getenv
(
"USER"
)
run_in_dir
(
user
=
user
,
proj
=
proj
)
}
files/home/user/.local/bin/ss2mf
0 → 100755
View file @
b11d9e3a
#!/bin/bash
INDIR
=
MS2
OUTDIR
=
MS2_forMF
[
!
-d
"
$INDIR
"
]
&&
echo
"Error, MS2 not found."
&&
exit
1
mkdir
"
$OUTDIR
"
cd
"
$INDIR
"
for
fn
in
*
.csv
;
do
sed
's/,/ /'
"
$fn
"
|awk
'NR>1 {print $0}'
>
../
"
$OUTDIR
"
/
$fn
echo
"Converted
$fn
to ../
$OUTDIR
/
$fn
."
done
cd
..
echo
"All good! Bye."
>
2
exit
0
files/home/user/Desktop/emacs.desktop
View file @
b11d9e3a
...
...
@@ -2,6 +2,6 @@
Name=Emacs
Comment=Editor
Icon=emacs
Exec=emacs
%F
Exec=emacs
--eval '(setq inhibit-startup-buffer t)' --eval '(setq initial-buffer-choice nil)' --eval '(R)' --eval '(kill-buffer "*scratch*")' scratch.R
Type=Application
Terminal=false
hosts.txt
View file @
b11d9e3a
[planb]
#
alien-one ansible_host=188.166.115.156
alien-two ansible_host=188.166.48.209
alien-one ansible_host=188.166.115.156
#
alien-two ansible_host=188.166.48.209
[planb:vars]
ansible_python_interpreter=/usr/bin/python3
...
...
main.yml
View file @
b11d9e3a
-
hosts
:
planb
become
:
True
vars_files
:
-
vars/
new
users.yml
-
vars/users.yml
-
vars/passwords.yml
pre_tasks
:
-
name
:
Update repositories
...
...
@@ -36,7 +36,8 @@
tags
:
visual
-
include
:
tasks/guix.yml
tags
:
guix
-
include
:
tasks/keyboard.yml
tags
:
keyboard
-
include
:
tasks/emacs.yml
tags
:
emacs
-
include
:
tasks/r-setup.yml
...
...
tasks/keyboard.yml
0 → 100644
View file @
b11d9e3a
-
name
:
Modify /etc/default/keyboard.
copy
:
src
:
files/etc/default/keyboard
dest
:
/etc/default/keyboard
mode
:
0644
tasks/r-setup.yml
View file @
b11d9e3a
...
...
@@ -47,7 +47,13 @@
mode
:
0744
loop
:
"
{{
users
}}"
-
name
:
Copy .Rprofile
copy
:
src
:
files/home/user/.Rprofile
dest
:
/home/{{ item.login }}/.Rprofile
owner
:
"
{{
item.login
}}"
mode
:
0640
loop
:
"
{{
users
}}"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment