This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
SRC="/Users/Isa/FH/Bachelor/" #dont forget trailing slash! | |
SNAP="/Volumes/DieBox/Bachelor" | |
OPTS="-rltgoi --delay-updates --delete --chmod=a-w" | |
# sync | |
rsync $OPTS --exclude '.git' --exclude 'snapshot.sh' $SRC $SNAP/latest >> $SNAP/rsync.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
patchver=3 | |
pkgname=libnotify-patched | |
pkgver=0.7.5 | |
pkgrel=1 | |
pkgdesc="Desktop notification library patched so that notify-send can replace notifications" | |
arch=('i686' 'x86_64') | |
url="http://library.gnome.org/devel/notification-spec/" | |
license=('LGPL') | |
depends=('gdk-pixbuf2') | |
provides=('libnotify=$pkgver') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pppd options in effect: | |
debug # (from command line) | |
nodetach # (from command line) | |
logfd 2 # (from command line) | |
dump # (from command line) | |
noauth # (from /etc/ppp/peers/hsrm) | |
refuse-eap # (from /etc/ppp/peers/hsrm) | |
name joreiner # (from /etc/ppp/peers/hsrm) | |
remotename hsrm # (from /etc/ppp/peers/hsrm) | |
# (from /etc/ppp/options) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
emacs -Q -L . -L /usr/share/emacs/site-lisp/ -batch -f batch-byte-compile | |
auto-complete.el auto-complete-config.el | |
Wrote | |
/tmp/yaourt-tmp-jokke/aur-emacs-auto-complete-git/src/auto-complete/auto-complete.elc | |
Wrote | |
/tmp/yaourt-tmp-jokke/aur-emacs-auto-complete-git/src/auto-complete/auto-complete-config.elc | |
emacs -Q -L . -batch -l etc/install | |
/tmp/yaourt-tmp-jokke/aur-emacs-auto-complete-git/pkg/usr/share/emacs/site-lisp//auto-complete | |
Installing to | |
/tmp/yaourt-tmp-jokke/aur-emacs-auto-complete-git/pkg/usr/share/emacs/site-lisp//auto-complete |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(server-start) | |
;; Auctex | |
(add-hook 'text-mode-hook 'turn-on-visual-line-mode) | |
(add-to-list 'load-path "~/.emacs.d/plugins/yasnippet") | |
(require 'yasnippet) | |
(yas/global-mode 1) | |
(load "auctex.el" nil t t) | |
(setq TeX-auto-save t) | |
(setq TeX-parse-self t) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#%PAM-1.0 | |
auth required pam_env.so | |
auth [success=ok new_authtok_reqd=ok ignore=ignore default=1] pam_usb.so | |
auth [success=done new_authtok_reqd=ok ignore=ignore default=ok] pam_fprintd.so | |
auth [success=done new_authtok_reqd=ok ignore=ignore default=ignore] pam_unix.so try_first_pass likeauth | |
auth required pam_deny.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ------------------------------------------------------------------------------ | |
# tlp - Parameters for power save | |
# Hint: some features are disabled by default, remove the leading # to enable them | |
# Set to 0 to disable/1 to enable TLP | |
TLP_ENABLE=1 | |
# Seconds laptop mode has to to wait after the disk goes idle before doing a sync. | |
# Non-zero value enables, zero disables laptop mode. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nov 16 23:16:07 jokkes-x220 systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE | |
Nov 16 23:16:07 jokkes-x220 systemd[1]: Failed to start Load Kernel Modules. | |
Nov 16 23:16:07 jokkes-x220 systemd[1]: Unit systemd-modules-load.service entered failed state | |
Nov 16 23:16:07 jokkes-x220 systemd-journal[186]: Journal started | |
Nov 16 23:16:07 jokkes-x220 systemd-modules-load[140]: Failed to find module 'tp_smapi' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
status=0; | |
function help | |
{ | |
echo "batch-convert: converts all images in source recursively" | |
echo " " | |
echo "WARNING:" | |
echo "If you do not define dest and omit the -s option" | |
echo "your images will be _overwritten_!" | |
echo "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Image < ActiveRecord::Base | |
belongs_to :project | |
attr_accessible :file, :crop_x, :crop_y, :crop_w, :crop_h, :original_geometry, :large_geometry, :thumb_geometry, :thumb | |
attr_accessor :crop_x, :crop_y, :crop_w, :crop_h | |
has_attached_file :file, | |
:styles => { | |
:large => ["600x300>", :png], | |
:thumb => { :geometry => "220x>", | |
:format => 'png', | |
:processors => [:cropper] } |