i had a very large global ignore list (tex/vim/linux/python specific stuff) and in this one repo git didnt add one specific folder. as it turned out the global ignore list blocked it.
to figure out which files are ignored:
$ cd <git-folder>
$ git ls-files --others -i --exclude-standard
and to figure out why one specific folder/file is ignored issue:
$ git check-ignore <path>
a centralized backup server can easily be set up with
rsnapshot. This program can pull specified remote folders with rsync.
- edit the config file
/etc/rsnapshot.conf . The default config is well documented and one has only to modify the given lines. The man page is also of great help (link). I found the following to fit my needs (the path need should be adjusted to each one’s needs)
retain hourly 4
retain daily 7
retain weekly 4
backup DarkTower:/home/paul/ paulTower/
backup DarkTower:/data/paul/ paulTower/
- the in-/exclude files are the usual one from
rsync , e.g. something like this:
one needs to note here, that the order of include/exclude files is important! the first pattern which matches a file takes effect.
- the user (here bkuper) needs to be able to sign into the client machine such that it can pull the backup. (
- the interval which were defined above (
retain hourly 4 retain daily 7 retain weekly 4) will be applied with a cronjob:
$ crontab -l
# do hourly backups at 9,13,19,23h
0 9,13,19,23 * * * /usr/local/bin/rsnapshot hourly
# do daily backups at 22:50
50 22 * * * /usr/local/bin/rsnapshot daily
# do weekly backups at mondays 22:40
40 22 * * 1 /usr/local/bin/rsnapshot weekly
for mounting external usb drives one can use fstab. each column has its specific meaning (see here for definitions).
for external usb drives it is important to set some specific options:
- auto: do automatic mounting
- users: users can mount themselfs
- nofail: dont expect that drive is attached at boot up
- x-systemd.device-timeout=1: dont wait no longer than 1s for drive at boot up
full line looks like the following
$ cat /etc/fstab
UUID=ffd9b0a1-931f-4795-85ba-28c58719a938 /mnt/USBBkupDisk ext4 auto,rw,users,nofail,x-systemd.device-timeout=1 0 2
one can include the ppa from opensuse for the most current texstudio version:
- add the ppa’s key to your keychain:
$ wget -nv http://download.opensuse.org/repositories/home:/jsundermeyer/xUbuntu_16.04/Release.key -O Release.key
$ sudo apt-key add - < Release.key
- add the ppa to your sources list folder:
$ sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/jsundermeyer/xUbuntu_16.04/ /' > /etc/apt/sources.list.d/opensuse-texstudio.list"
$ sudo apt-get update
$ sudo apt-get install texstudio
for the nightly builds of firefox do the following:
- just include the following ppa:
$ sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa
- update and install the package, called firefox-trunk
for the firefox-next install see: https://itgrenade.wordpress.com/2016/07/11/install-firefox-beta-on-mint-ubuntu-debian-etc/
the version in mint’s repos is out-dated and to install the new one, just add opensuse’s repo for owncloud.
check out this entry for ubuntu 16.04: https://software.opensuse.org
installation process as in this link. just change one step: download the newest owncloud client from their website.
to reset the admin password:
sudo -u www-data php /var/www/owncloud/occ user:resetpassword admin
background knowledge: nginx is the webserver which forwards incoming traffic to the php backend by fastcgi (php5-fpm) .