I hereby claim:
- I am dobriak on github.
- I am dobriak (https://keybase.io/dobriak) on keybase.
- I have a public key ASBhAwkp28uYcmv4Qh_MVHf0mc-s4Y7K0as3OBF5xlnbhAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| @echo off | |
| rem Post processing script for SABnzbd | |
| set NASNAME=192.168.1.2 | |
| rem ping the nas just in case, exit if not online | |
| ping %NASNAME% | find "TTL" > nul | |
| IF ERRORLEVEL 1 GOTO ENDERROR | |
| SET NASPATH=\\%NASNAME%\usb_storage\new | |
| SET LOGFILE="%~d0%~p0\postprocessing.log" |
Install routing plugin
yum install rubygem-openshift-origin-routing-activemq.noarch
Create routing-plugin configuration file
cp /etc/openshift/plugins.d/openshift-origin-routing-activemq.conf.example /etc/openshift/plugins.d/openshift-origin-routing-activemq.conf
Add routinginfo user into activemq.xml configuration file. See files below.
| FREEDISK=/dev/vdb | |
| VGROOT=VolGroup | |
| LVROOT=lv_root | |
| mkfs.ext4 ${FREEDISK} | |
| pvcreate ${FREEDISK} | |
| vgextend /dev/${VGROOT} ${FREEDISK} | |
| lvextend -l +100%FREE /dev/${VGROOT}/${LVROOT} | |
| resize2fs /dev/${VGROOT}/${LVROOT} |
| :set autoindent | |
| :set shiftwidth=2 | |
| :set tabstop=2 | |
| :set expandtab | |
| :map <F7> :tabp<CR> | |
| :map <F8> :tabn<CR> | |
| :set pastetoggle=<F2> |
| @echo off | |
| REM --- | |
| REM AutoShutdown.bat | |
| REM Shuts down Windows after a user specified interval | |
| REM by Julian Neytchev https://github.com/dobriak | |
| REM --- | |
| REM How many minutes before shutdown? (Default:60) | |
| SET MINUTES=60 | |
| SET /P MINUTES=Snooze minutes (60): %=% | |
| REM Convert to seconds |