[notepad] curl & SOAP
Posted on Tue 28 January 2014 in Linux • Tagged with soap, linux, notepad • 1 min read
curl -H "Content-Type: text/xml; charset=utf-8" -H "SOAPAction:" -d @data.txt -w "%{http_code}\n" -s -o /dev/null -X POST
Posted on Tue 28 January 2014 in Linux • Tagged with soap, linux, notepad • 1 min read
curl -H "Content-Type: text/xml; charset=utf-8" -H "SOAPAction:" -d @data.txt -w "%{http_code}\n" -s -o /dev/null -X POST
Posted on Tue 20 August 2013 in Linux • Tagged with KVM, Linux, VMware, Notepad • 1 min read
The default i/o scheduler is the Completely Fair Queuing (cfq) in the 2.6 kernel. This is not the first choice for a virtual machine/hypervisor. The combination of the noop and the deadline scheduler is much better for a virtualization host.
virtual machine: noop
hypervisor: deadline
Set the …
Posted on Tue 07 May 2013 in Linux • Tagged with notepad, linux, mutt, work • 1 min read
Tag messages matching
shift-t -> "search string"
Limit messages matching (pattern)
l > \~T (tagged)
l > \~A (all)
l > \~N (new)
l > \~U (unread)
l > \~F (flagged)
l > "search string"
Random commands
;d > Delete tagged messages
s > Move message
;s > Move tagged messages
b > Bounce messages
w/W > Set/Clear Flag
:source …
Posted on Sat 15 December 2012 in Linux • Tagged with Apache2, Gentoo, java, notepad, linux • 1 min read
$JAVA_HOME/bin/java -DJENKINS_HOME=/var/lib/jenkins -Xms=512m -Djava.awt.headless=true \
-server -jar /var/lib/jenkins.war --httpPort=8080 --httpListenAddress=127.0.0.1 \
--ajp13Port=-1 --logfile=/var/log/jenkins.log
apache vhost config
ServerAdmin admin@example.com
DocumentRoot "/srv/www/"
ServerName jenkins.example.com
SSLEngine On
SSLVerifyClient …
Posted on Tue 04 December 2012 in Linux • Tagged with KVM, libvirt, Linux, Notepad • 2 min read
Pre-requirements
git clone git://git.qemu.org/qemu.git
git clone git://github.com/sahlberg/libiscsi.git
http://libvirt.org/sources/libvirt-1.0.0.tar.gz (4/12/12)
aptitude install libvdeplug2 libvdeplug2-dev libaio1 libaio-dev libcap-dev libattr1-dev libsdl-dev libxml2-dev
Building
libiscsi:
./autogen.sh
./configure
make && make install
qemu:
./configure --enable-kvm …
Posted on Thu 04 October 2012 in Linux • Tagged with linux, notepad • 1 min read
|-- Drives --|
arcconf CREATE 1 LOGICALDRIVE Name R5_3TB Rcache RON Wcache WT MAX 5 0 4 0 5 0 6 0 7
Raid size <| | | |
Raid level <| | |
Channel ID <| |
Drive ID <|
Posted on Wed 19 September 2012 in Linux • Tagged with Gentoo, linux, notepad • 1 min read
Not the best but its working for me...maybe JENKINS_*
and JAVA_OPTS
can be moved to /etc/conf.d/jenkins
or something else.
#!/sbin/runscript
depend() {
use logger dns
need apache2
provide jenkins
}
JENKINS_USER=jenkins
LOCKFILE=/var/run/jenkins.pid
JENKINS_HOME=/home/jenkins
JAVA_HOME=/usr/java/jdk1.6.0_25
JAVA_OPTS …
Posted on Tue 18 September 2012 in Linux • Tagged with KVM, linux • 1 min read
THANKS Microsoft for this self-explanatory error message during a installation:
"Windows is unable to install to the selected location. Error: 0x80300001."
You should write "FOOOOO! Maybe you have the wrong CD/DVD in your drive."
(I had the virtio drivers cd in my drive...)
Posted on Wed 01 August 2012 in Linux • Tagged with Gentoo, Linux, notepad • 1 min read
Yesterday i've started the update process for my system...so far, so good.
After a while emerge
finished successfully...of course with a lot of messages, even some messages (from libvirt) that in my kernel config some features are missing e.g.
[...]
CONFIG_DEVPTS_MULTIPLE_INSTANCES
CONFIG_VETH
CONFIG_MACVLAN
CONFIG_NETFILTER_XT_TARGET_CHECKSUM
CONFIG_NETFILTER_ADVANCED
CONFIG_BRIDGE_NF_EBTABLES
[...]
As usually …
Posted on Wed 27 June 2012 in Linux • Tagged with java, SLES11, SUSE Linux Enterprise Server, tomcat, linux, notepad • 1 min read
On one of my two sle11 machines i had a java exception which i could not explain.
java.lang.IllegalStateException: No Java compiler available
org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:229)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:581)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org …