changeset 0:bb5f1ea6cc5e

getting started
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Mon, 18 Jul 2022 18:50:26 +0100
parents
children d5b6748f29a9
files .Xdefaults .bash_profile .bashrc .hgignore .lesshst
diffstat 5 files changed, 210 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.Xdefaults	Mon Jul 18 18:50:26 2022 +0100
@@ -0,0 +1,24 @@
+emacs.font: DejaVu Sans Mono-12
+XEmacs*title:				emacs
+XEmacs*iconName:			emacs
+XEmacs*screen.geometry:			81x48
+XEmacs*BitmapIcon:			false
+XEmacs*background:			white
+! XEmacs
+XEmacs.screen.icon.name:			epoch
+XEmacs.minibuf.icon.name:		minibuff
+XEmacs*title:				epoch
+!XEmacs*screen.geometry:			81x25
+XEmacs*minibuf.geometry:			81x1
+XEmacs*BitmapIcon:			false
+!XEmacs*font:				-adobe-courier-medium-r-normal-*-14-140-*-*-*-*-*-*
+XEmacs*fcFontName:			DejaVu Sans Mono:antialias=true
+XEmacs.modeline.attributeFont:		DejaVu Sans:antialias=true
+XEmacs.default.attributeFont: DejaVu Sans Mono:antialias=true
+XEmacs.bold-italic.attributeFont:	DejaVu Sans Mono:style=Bold Oblique:antialias=true
+XEmacs.info-node.attributeFont:	DejaVu Sans Mono:style=Bold Oblique:antialias=true
+XEmacs*background:			white
+XEmacs*background:			white
+XEmacs*background:			white
+XEmacs.Gwm.Menu:	FALSE
+Emacs.Gwm.Menu:	FALSE
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.bash_profile	Mon Jul 18 18:50:26 2022 +0100
@@ -0,0 +1,9 @@
+# .bash_profile
+
+# Get the aliases and functions
+if [ -f ~/.bashrc ]; then
+	. ~/.bashrc
+fi
+
+# User specific environment and startup programs
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.bashrc	Mon Jul 18 18:50:26 2022 +0100
@@ -0,0 +1,52 @@
+# .bashrc
+
+# Uncomment the following line if you don't like systemctl's auto-paging feature:
+# export SYSTEMD_PAGER=
+
+# Login for singularity
+# Source global definitions
+
+if [ -f /etc/bashrc ]; then
+  # This is protected against running twice...
+  . /etc/bashrc
+fi
+
+
+savehist () 
+{ 
+    hc=$(history 1 | tr -d '\n' | cut -d ' ' -f 2);
+    if [ $((hc % ${HIST_FREQ-10})) = 0 ]; then
+        history -a;
+    fi
+}
+
+prompt ()
+{
+    savehist
+    echo -ne '\033]0;'${HOSTNAME/-login/} ${PWD/$HOME/w\~}'\007'
+}
+
+if [ "$PS1" ]; then
+  echo "Singularity bash" 1>&2
+  # don't put duplicate lines or lines starting with space in the history.
+  # See bash(1) for more options
+  export HISTCONTROL=ignoreboth
+
+  # append to the history file, don't overwrite it
+  shopt -s histappend
+
+  # for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
+  export HISTSIZE=3000
+  export HISTFILESIZE=6000
+  export HISTIGNORE='[ ]*:&:[fb]g:exit'
+fi
+
+#export PYTHONPATH=$HOME/lib/python3.6/site-packages
+
+EDITOR=emacs
+
+PATH=$PATH:$HOME/.local/bin:$HOME/bin
+
+HHOME=/home/dc007/dc007/$(whoami)
+
+export PATH EDITOR HHOME
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.hgignore	Mon Jul 18 18:50:26 2022 +0100
@@ -0,0 +1,81 @@
+\.cpan
+~$
+\.cache
+\.bash_history
+\.local/bin/pip
+\.local/lib/python
+\.mozilla
+\.ssh
+\.parallel
+\.python_history
+\.dbus
+\.gnupg/pubring.gpg .gnupg/secring.gpg .gnupg/trustdb.gpg
+lib/perl5
+src/usr/lib/python3.6
+src/apache.*
+cld2
+home
+usr
+stat
+crawler-commons
+KEYS
+language-detection-cld2
+OpenJDK.*
+\.mg
+\.m2
+bin/abut
+bin/anova
+bin/colex
+bin/contab
+bin/desc
+bin/dprime
+bin/dsort
+bin/features
+bin/fpack
+bin/linex
+bin/maketrix
+bin/oneway
+bin/pair
+bin/probdist
+bin/rankind
+bin/rankrel
+bin/ranksort
+bin/regress
+bin/repeat
+bin/reverse
+bin/series
+good
+bin/transpose
+bin/ts
+bin/validata
+viminfo
+foo
+openjdk-8u252-b09
+nutch-cc
+src/hadoop
+\.Xauthority
+gentoo
+\.Xresources
+\.conda
+\.duc
+\.history
+.ivy2
+cdx-00...
+emerge.*
+emm.*
+et_files\.txt
+extract.*\.txt
+ezip
+slurm.*.out
+nohup.out
+p3working.tar.gz
+.Xauthority
+data
+.ant
+.local
+.spack
+atest
+bin/__pycache__
+.pytest_cache
+.sqlite_history
+.singularity .saves-*
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.lesshst	Mon Jul 18 18:50:26 2022 +0100
@@ -0,0 +1,44 @@
+.less-history-file:
+.search
+"sing
+"PS1
+"Thompson
+"[A-Z]=
+"cache
+"Henry
+"\?
+"^uk,ac,
+"uk,ac,ed
+",inf\)
+"robots
+"diagnostics
+"\)[^/]
+"^[a-z.]*\)[^/]
+"^uk,ac,ed,inf\)
+"/warc/
+"\)/[^p]
+"\)/[^r]
+"	1	
+" 
+"	
+"global
+"environ
+"mime
+"parallel
+"	
+"^cn,
+" 
+"	
+">
+"<
+">
+"	
+" 
+">
+"cld
+"LanguageDetector
+"class
+"Cld2
+.search
+""fra"
+""fra"\}$