Forfatterarkiv: mike

Ipw2100 on Linux (gentoo)

First of all your kernel must have hotplug support and wireless enabledb You can check this with these commands: bash-2.05b# grep CONFIG_NET_RADIO \ > /lib/modules/2.6.5-gentoo-r1/build/include/linux/autoconf.h bash-2.05b# grep CONFIG_HOTPLUG \ /lib/modules/2.6.5-gentoo-r1/build/include/linux/autoconf.h #define CONFIG_HOTPLUG 1 #undef CONFIG_HOTPLUG_PCI Then you download hostap-driver out … Læs resten

Udgivet i Knowledge Base, Linux, Networking, Old Base | Skriv en kommentar

Importing osvdb into postgresql

sql# create database osvdb; sql# create user osvdb password ‘yourpasswordhere’; unix# wget http://www.osvdb.org/OSVDB-tables.sql unix# psql osvdb osvdb < OSVDB-tables.sql Password: unix# wget http://www.osvdb.org/OSVDB-views.sql unix# psql osvdb osvdb < OSVDB-views.sql Password: unix# wget http://www.osvdb.org/OSVDB-procedures.sql unix# find /usr/local/pgsql/ | grep plpgsql.so /usr/local/pgsql/lib/plpgsql.so … Læs resten

Udgivet i Knowledge Base, Linux, Old Base | Skriv en kommentar

Gnuplot

gnuplot> set yzeroaxis gnuplot> set xzeroaxis gnuplot> plot 2*x**2,x**2,0.5*x**2,-0.5*x**2,-x**2,-2*x**2 gnuplot> a(x)=2*x**2 gnuplot> b(x)=x**2 gnuplot> c(x)=0.5*x**2 gnuplot> d(x)=-0.5*x**2 gnuplot> e(x)=-x**2 gnuplot> f(x)=-2*x**2 gnuplot> plot a(x),b(x),c(x),d(x),e(x),f(x) gnuplot> a(x)=2*x**2 gnuplot> b(x)=x**2 gnuplot> c(x)=0.5*x**2 gnuplot> d(x)=-0.5*x**2 gnuplot> e(x)=-x**2 gnuplot> f(x)=-2*x**2 gnuplot> plot a(x),b(x),c(x),d(x),e(x),f(x) gnuplot>

Udgivet i Knowledge Base, Old Base | Skriv en kommentar

Change password in postgresql

alter user mike password ‘fisk’;

Udgivet i Humor | Skriv en kommentar

J2me wireless toolkit

compiler/package builder: http://java.sun.com/products/j2mewtoolkit/download.html upload til nokia: http://www.nokia.com/nokia/0,,54690,00.html go artikel: http://www.developer.com/java/j2me/article.php/10934_1561591_2

Udgivet i Old Base | Skriv en kommentar

Start X automatisk (autologin)

# Starting X at the boot without xdm (autologin), even without login: rc.local: echo “Autologin of user <username>” cd /home/<username> su – <username> ~/.bash_profile: if [“`tty`” = “/dev/console” -o “`tty`” = “/dev/tty0”] then startx fi

Udgivet i Knowledge Base, Linux, Old Base | Skriv en kommentar

Hidden hyperlinks in html(javascript/css)

The link will look like ordinary text: <a href=”Gamle.html” style=’text-decoration: none; color:black; cursor:auto’ onmouseover=’window.status=”;’>Link</a>

Udgivet i HTML, Knowledge Base | Skriv en kommentar

Apache, php & mysql on Windows

Fetch: http://archive.apache.org/dist/httpd/binaries/win32/apache_1.3.29-win32-x86-no_src.exe doubleclick the file and follow the install: Network domain should be ‘localhost’ Server name should be ‘127.0.0.1’ Admin email should be your email. Otherwise just leave the defaults, after install your apache should be running. Fetch php windows … Læs resten

Udgivet i Apache, Knowledge Base, Networking, Old Base, PHP, SQL | Skriv en kommentar

Compact Flash med Asus 6in1 paa FreeBSD

client01# mount -t msdos /dev/da0s1 /mnt client01# ls /mnt imhkada9

Udgivet i FreeBSD, Knowledge Base, Old Base | Skriv en kommentar

huh

am instalat vmware-le, dar cand dau power off la masina imi da urmatorul mesaj: Cannot attach shared memory segment: Invalid argument. Failed to initialize SVGA device. Am citit in /usr/ports/emulators/vmware3/pkg-message, iar acolo zice sa trec “kern.ipc.shm_allow_removed” pe 1, dar nu … Læs resten

Udgivet i FreeBSD, Humor | Skriv en kommentar