...
 
Commits (3)
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH
# Git prompt
if [ -f ~/.git-prompt.sh ]; then
source ~/.git-prompt.sh
export PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\W\[\033[00m\]$(__git_ps1 " (%s)")\$ '
fi
[style]
based_on_style = google
spaces_before_comment = 4
split_before_logical_operator = true
This diff is collapsed.
[alias]
co = checkout
com = commit -v
ci = commit -v
br = branch
st = status
[core]
editor = kwrite
excludefile = ~/.gitignore
[help]
autocorrect = 1
[pull]
rebase = true
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.lo
*.slo
*.o
*.so
*.dylib
*.lai
*.la
*.a
# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
# Logs and databases #
######################
*.log
*.sql
*.sqlite
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
Icon?
ehthumbs.db
Thumbs.db
# LaTeX #
#########
*.tex.latexmain
*.acn
*.acr
*.alg
*.aux
*.bbl
*.blg
*.dvi
*-eps-converted-to.pdf
*.fdb_latexmk
*.glg
*.glo
*.gls
*.idx
*.ilg
*.ind
*.ist
*.lof
*.log
*.lot
*.maf
*.mtc
*.mtc0
*.nav
*.nlo
*.out
*.pdfsync
*.ps
*.snm
*.synctex.gz
*.toc
*.vrb
*.xdy
*.tdo
# Node.js #
###########
lib-cov
*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz
pids
logs
results
npm-debug.log
node_modules
# Python #
##########
*.py[cod]
.ropeproject
.ipynb_checkpoints
*.nbconvert.ipynb
.mypy_cache
.venv/pip-selfcheck.json
.venv
.idea
# C extensions
*.so
# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg
lib
lib64
__pycache__
# Installer logs
pip-log.txt
# Unit test / coverage reports
.coverage
.tox
nosetests.xml
# Translations
*.mo
# Mr Developer
.mr.developer.cfg
.project
.pydevproject
# Vim #
#######
*.swp
*.swa
*.swb
*.swc
*.swd
*.swe
*.swf
*.swg
*.swh
*.swi
*.swj
*.swk
*.swl
*.swm
*.swn
*.swo
*.bak
*~
# KDE #
#######
.directory
# Elegant #
###########
*.abnd
*.ana
*.aper
*.aper1
*.bun
*.cen
*.clo
*.cor
*.delta
*.emit
*.erl
*.fin
*.finc
*.flr
*.log
*.mag
*.mat
*.mmap
*.mom
*.mpr
*.new
*.opt
*.orb
*.sig
*.stat
*.twi
*.traj
*.w?
log
# SVN/CVS #
###########
.svn
CVS
trunk
# GIT #
#######
*gitHeadInfo.gin
# Graphics #
############
*.eps
*.jpeg
*.jpg
*.pdf
*.png
*.ps
# Other #
#########
*.ods#
.~*.odt#
...@@ -4,3 +4,4 @@ ...@@ -4,3 +4,4 @@
- import_tasks: basic_software.yml - import_tasks: basic_software.yml
- import_tasks: kill_x.yml - import_tasks: kill_x.yml
- import_tasks: ms_fonts.yml - import_tasks: ms_fonts.yml
- import_tasks: skel.yml
---
- name: Add configs to skel
become: yes
copy:
src: "{{ item }}"
dest: "/etc/skel/.{{ item }}"
backup: no
with_items:
- gitconfig
- config
- "git-prompt.sh"
- "bash_profile"
- name: Create directory structure
become: yes
file:
state: directory
path: "/etc/skel/{{ item }}"
with_items:
- 03-PerformingStrategicProjects
- 12-PerformingResearch/12-1-PerformingStudiesExperiments
- 13-Developing/13-1-Developing
- 14-Publishing/14-1-Publishing
- 14-Publishing/14-2-Talks
- 14-Publishing/14-3-PublicRelations
- 15-DevelopingMaintainingSoftware
- 16-PerformingComplexProjects
- 17-RunningInstallations
- 21-LiteratureResearch
- 22-DevelopingGraphics/22-1-Didactics-Schematics
- 22-DevelopingGraphics/22-2-RandDplots
- 32-OrganizingIT
- 61-ProcuringItems/61-1-BuyItems
- 91-LAS-NSQ-Publications/91-1-Articles
- 91-LAS-NSQ-Publications/91-3-Theses
- 91-LAS-NSQ-Publications/91-4-Talks
- 91-LAS-NSQ-Publications/91-5-Poster
- 92-LAS-NSQ-Photos
- 93-External-Publications/93-1-Articles
- 93-External-Publications/93-2-Books
- 93-External-Publications/93-3-Theses
- 93-External-Publications/93-4-Talks
- 93-External-Publications/93-5-EngineerStandards
- 94-External-Graphics
- 95-External-SoftwareResources
- 99-Data
--- ---
- name: Software for dependency installation - name: Software for dependency installation
become: yes
dnf: dnf:
name: ["gcc", "gcc-c++", "glibc-devel.x86_64", "openssl-devel", "python-devel", "lapack-devel", "numpy-f2py", "redhat-rpm-config"] name: ["gcc", "gcc-c++", "glibc-devel.x86_64", "openssl-devel", "python-devel", "lapack-devel", "numpy-f2py", "redhat-rpm-config"]
state: present state: present
become: yes
when: ansible_distribution == 'Fedora' when: ansible_distribution == 'Fedora'
- name: "Install Python stack for scientific purposes (Distribution)" - name: "Install Python stack for scientific purposes (Distribution)"
become: yes
package: package:
name: "{{ item }}" name: "{{ item }}"
state: present state: present
become: yes
with_items: with_items:
- "{{ python2pkg }}" - "{{ python2pkg }}"
- "{{ python3pkg }}" - "{{ python3pkg }}"
- name: install handy aliases
become: yes
copy:
dest: /etc/profile.d/python_aliases.sh
content: |-
alias activate='source .venv/bin/activate'
alias venv='python3 -m venv .venv && source .venv/bin/activate && which python'
backup_file: yes