Startseite
    Sonstiges
    Hardware
    Linux
    Windows
  Archiv
  Kontakt
 


http://myblog.de/adminblog

Gratis bloggen bei
myblog.de





minimum requirements for x forwarding

sudo apt-get install xauth
17.6.11 18:00


Fortran Programm mit MPE Linken

mpif90 hello.f90 -o hello -lmpe_f2cmpi -llmpe -lmpe
22.6.10 09:41


QEMU: Your cpu does not support long mode

Solution:
Use qemu-system-x86_64
2.12.09 18:30


S4Y: Initial Debian (Etchy Standard 64bit) Setup

Sources (/etc/apt/sources.list.d/debian.list):
deb http://ftp.tu-chemnitz.de/pub/linux/debian/debian/ etch main non-free contrib
deb-src http://ftp.tu-chemnitz.de/pub/linux/debian/debian/ etch main non-free contrib
deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free

apt-get PGP warnings :
gpg --keyserver subkeys.pgp.net --recv
gpg --export --armor | apt-key add -

apt-get locale errors:
localedef -v -c -i en_US -f UTF-8 en_US.UTF-8

updatedb
19.6.09 17:35


4.6.09 16:47


scp resume

rsync --partial --progress --rsh=ssh server:~/datei .
11.3.09 21:07


Latex: Formeln mit Zeilenumbruch in Tabellen

\hline
Linear &
\parbox{7cm}{%
\begin{flalign*}
o_s+o_r+2L\\
+(P-1)(\max{o_s,g}+o_r+2(m-1)G)+PmC
\end{flalign*}
}
\\
\hline
16.2.09 17:47


OpenMPI: Tuned Allreduce Algorithmus Selection Info

ompi_info -all -mca coll_tuned_use_dynamic_rules 1 | grep alltoall
15.12.08 23:11


15.12.08 21:18


GRUB aus chroot installieren

#mount -o bind /dev /mnt/gentoo/dev
#mount -t proc proc /mnt/gentoo/proc
#chroot /mnt/gentoo
#grep -v rootfs /proc/mounts > /etc/mtab
#grub-install --no-floppy /dev/sda
6.10.08 17:44


C (irgendwas *)buffer als hex ausgeben

#include
#include

int main(void)
{
unsigned int buffer[10];

int i;

buffer[0]=0;
buffer[1]=2;
buffer[2]=4;
buffer[3]=8;
buffer[4]=16;
buffer[5]=32;
buffer[6]=64;
buffer[7]=127;
buffer[8]=0xff;
buffer[9]=0;

uint8_t *u8_buf_ptr = (unsigned int*)buffer;


for(i=0;i<10*4;i++){
printf("0x%02x \n",u8_buf_ptr[i]);
}

return 0;
}
16.9.08 23:15


4.8.08 13:18


Order matters: Linking stuff with atlas math lib

liblapack.a libcblas.a libf77blas.a libatlas.a
12.7.08 21:15


X forwarding mit sudo

X authentication is based on cookies -- secret little pieces of random
data that only you and the X server know... So, you need to let the
other user in on what your cookie is. One way to do this is as follows:

Before you issue the su (but after having ssh'ed into the remote
system), request the cookie for the current DISPLAY that's connecting
to your X server:

$ xauth list $DISPLAY

You'll get something like

somehost.somedomain.de:10 MIT-MAGIC-COOKIE-1
4d22408a71a55b41ccd1657d377923ae

Then, after having done su, tell the new user what the cookie is:

$ xauth add somehost.somedomain.de:10 MIT-MAGIC-COOKIE-1
4d22408a71a55b41ccd1657d377923ae
22.5.08 11:10


xorg.conf ATI DualScreen no Deadlocks

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "aticonfig-Screen[0]" 0 0
EndSection

Section "Files"
EndSection

Section "Module"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
Option "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
Option "DesktopSetup" "horizontal"
Option "OverlayOnCRTC2" "0"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "2704x1024"
EndSubSection
EndSection
1.5.08 14:29


Gnuplot using

using 4:10
plot 'file.dat' using 4$4>5 ? $4 :1/0)
- Datenclipping: plotte Spalte 1 (x) gegen Spalte 4 (y), wenn y>5

plot 'datenfile.dat' using 1$4*(-1))
- Berechnen der Spalten: plotte Spalte 1 (x) gegen Spalte 4(y), multipliziert mit -1

von http://userpage.fu-berlin.de/~voelker/gnuplotkurs/gnuplotkurs.html
11.4.08 15:45


Bash - Rückgabewert eines Programmes in Script auswerten

smbpasswd $1
if [ $? -eq 0 ];then
echo "" | /usr/lib64/yp/ypinit -m # baue NIS Datenbank neu
fi
30.1.08 16:47


MPE an Fortanapplication linken

-lmpe_f2cmpi -lampe -llmpe -lmpe
14.1.08 17:48


Gentoo: Alle installierten Packete anzeigen lassen

alias listinstalled='find /var/db/pkg/ -mindepth 2 -maxdepth 2 -printf "%Pn" | sort'
5.11.07 15:52


Passwort in Bashscript einlesen:

read -s -p "Password: " passwo
echo $passwo
2.11.07 11:08


 [eine Seite weiter]



Verantwortlich für die Inhalte ist der Autor. Dein kostenloses Blog bei myblog.de! Datenschutzerklärung
Werbung