Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
P
plan-b
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Environmental Cheminformatics
plan-b
Commits
b11d9e3a
Verified
Commit
b11d9e3a
authored
Mar 05, 2021
by
Todor Kondic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
...
parent
c00f539f
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
55 additions
and
6 deletions
+55
-6
files/etc/default/keyboard
files/etc/default/keyboard
+5
-0
files/home/user/.Rprofile
files/home/user/.Rprofile
+15
-0
files/home/user/.local/bin/ss2mf
files/home/user/.local/bin/ss2mf
+17
-0
files/home/user/Desktop/emacs.desktop
files/home/user/Desktop/emacs.desktop
+1
-1
hosts.txt
hosts.txt
+2
-2
main.yml
main.yml
+3
-2
tasks/keyboard.yml
tasks/keyboard.yml
+5
-0
tasks/r-setup.yml
tasks/r-setup.yml
+7
-1
No files found.
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 @@
...
@@ -2,6 +2,6 @@
Name=Emacs
Name=Emacs
Comment=Editor
Comment=Editor
Icon=emacs
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
Type=Application
Terminal=false
Terminal=false
hosts.txt
View file @
b11d9e3a
[planb]
[planb]
#
alien-one ansible_host=188.166.115.156
alien-one ansible_host=188.166.115.156
alien-two ansible_host=188.166.48.209
#
alien-two ansible_host=188.166.48.209
[planb:vars]
[planb:vars]
ansible_python_interpreter=/usr/bin/python3
ansible_python_interpreter=/usr/bin/python3
...
...
main.yml
View file @
b11d9e3a
-
hosts
:
planb
-
hosts
:
planb
become
:
True
become
:
True
vars_files
:
vars_files
:
-
vars/
new
users.yml
-
vars/users.yml
-
vars/passwords.yml
-
vars/passwords.yml
pre_tasks
:
pre_tasks
:
-
name
:
Update repositories
-
name
:
Update repositories
...
@@ -36,7 +36,8 @@
...
@@ -36,7 +36,8 @@
tags
:
visual
tags
:
visual
-
include
:
tasks/guix.yml
-
include
:
tasks/guix.yml
tags
:
guix
tags
:
guix
-
include
:
tasks/keyboard.yml
tags
:
keyboard
-
include
:
tasks/emacs.yml
-
include
:
tasks/emacs.yml
tags
:
emacs
tags
:
emacs
-
include
:
tasks/r-setup.yml
-
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 @@
...
@@ -47,7 +47,13 @@
mode
:
0744
mode
:
0744
loop
:
"
{{
users
}}"
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
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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