Optie 1
/
Optie 2
/
Optie 3
doorhalen wat niet van toepassing is.
zaterdag 2 oktober 2010
donderdag 23 september 2010
donderdag 16 september 2010
Gmail protocolhandler for Firefox
Simply follow the instructions here:
http://lifehacker.com/392287/set-firefox-3-to-launch-gmail-for-mailto-links
http://lifehacker.com/392287/set-firefox-3-to-launch-gmail-for-mailto-links
dinsdag 7 september 2010
So there are games for Linux
Yeah, really, they do exist!!!
http://omgsuse.com/content/10-awesome-free-games-opensuse?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+omgsuse+%28OMG!+SUSE!%29&utm_content=Google+Reader
http://omgsuse.com/content/10-awesome-free-games-opensuse?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+omgsuse+%28OMG!+SUSE!%29&utm_content=Google+Reader
woensdag 18 augustus 2010
Force fsck on reboot
Turns out to be as simple as creating an empty file called forcefsck in the root filesystem, like:
touch /forcefsck
then hit reboot and get a cup of whatever beverage seems appropriate at the moment.
touch /forcefsck
then hit reboot and get a cup of whatever beverage seems appropriate at the moment.
dinsdag 17 augustus 2010
Eclipse and XulRunner suggest or autocomplete nastyness
As it turns out, after some serious annoyance and googlesque digging, XulRunner 1.9.1 and Eclipse do seem to have some serious cooperation issues to work out.
Instead, just deinstalling 1.9.1 and installing 1.9.2 seems to work a lot more like expected....
https://bugs.eclipse.org/bugs/show_bug.cgi?id=303372
Instead, just deinstalling 1.9.1 and installing 1.9.2 seems to work a lot more like expected....
https://bugs.eclipse.org/bugs/show_bug.cgi?id=303372
zaterdag 17 juli 2010
New netbook or upgrade old one?
Well, after doing some market research i've decided to stick with my >1y old Acer Aspire One and upgrade the memory to 1.5GB.
Sometimes you don't have to be ahead of the flock to enjoy what you have, actually the Acer is a fine little machine, one of the main features i like about it is its solid state hdd, which enables me to use it even in more bumpy circumstances.
Awell, here are a few links:
Upgrading the memory:
http://www.crunchgear.com/2008/08/28/how-to-add-ram-to-the-acer-aspire-one-netbook/
And replacing the (very shortly lived) dead accu:
http://store.acer-euro.com/home/aspire-one-6-cels-accu-zwart.html?s=6&l=en&p=3&i=36107
Sometimes you don't have to be ahead of the flock to enjoy what you have, actually the Acer is a fine little machine, one of the main features i like about it is its solid state hdd, which enables me to use it even in more bumpy circumstances.
Awell, here are a few links:
Upgrading the memory:
http://www.crunchgear.com/2008/08/28/how-to-add-ram-to-the-acer-aspire-one-netbook/
And replacing the (very shortly lived) dead accu:
http://store.acer-euro.com/home/aspire-one-6-cels-accu-zwart.html?s=6&l=en&p=3&i=36107
Using nouveau on openSUSE 11.3
Nouveau, for those unknowing souls, is the next generation open source nvidia display driver.
Starting to use it however, after an openSUSE 11.1 -> 11.2 -> 11.3 upgrade, could be cumbersome.
Especially resolutions tend to be not resolved correctly.
To try and polish things up, try the following console command:
mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
then restart X (ctrl+alt+backspace or the nicer way of logging out).
Everything will be detected automagically then
Starting to use it however, after an openSUSE 11.1 -> 11.2 -> 11.3 upgrade, could be cumbersome.
Especially resolutions tend to be not resolved correctly.
To try and polish things up, try the following console command:
mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
then restart X (ctrl+alt+backspace or the nicer way of logging out).
Everything will be detected automagically then
vrijdag 16 juli 2010
openSUSE on a stick
The release of 11.3 is a good opportunity to perform some sweeping, swooping and swapping off the depricated 11.1 and 11.2 versions of my infrastructure, therefor it comes in very handy when one just needs to run around carrying an usb stick instead of having to burn/reburn rewritables....
Anyway, follow the following steps and you should be right as rain (mostly copied from http://en.opensuse.org/Live_USB_stick):
Anyway, follow the following steps and you should be right as rain (mostly copied from http://en.opensuse.org/Live_USB_stick):
- Insert the usb stick into a free usb (yeah, really) port
- Check if it shows up after issuing the following console command: ls -l /dev/disk/by-id/*usb*
- If it does, then unmount it: umount /dev/sdX (X being the disks id)
- Now write the iso onto the stick: dd if=/path/to/iso/NameOf.iso of=/dev/sdX
- After a few moments something reassuring (like how many bites were written) should appear and your good to go!
zaterdag 26 juni 2010
Using PHP to insert blobs in a MSSQL database
Is a very straightforward job, once you've figured out how MSSQL wants the data supplied....
As hex....
vrijdag 25 juni 2010
MySQL datatype for PHP microtime()
Ok, this has probably been already solved by just about everyone on the world-wide-web.... Well, count me out then....
Until just now i was trying to put a microtime(true) result in a float(20.4) field....
Which simply doesnt work on MySQL 5.1 (at least not in my case, since all values after the decimalseparationcharacter are .0000)....
Try a field type named double(20,4) and it works like a charm....
And out.
Until just now i was trying to put a microtime(true) result in a float(20.4) field....
Which simply doesnt work on MySQL 5.1 (at least not in my case, since all values after the decimalseparationcharacter are .0000)....
Try a field type named double(20,4) and it works like a charm....
And out.
woensdag 23 juni 2010
dinsdag 22 juni 2010
XDebug + Php5 + openSUSE 11.2
Apart from the XDebug routine (which should be installed thru openSUSE's build service: http://software.opensuse.org/search?q=xdebug&baseproject=openSUSE%3A11.2&exclude_filter=home%3A&exclude_debuginfo=true ) this looks really useful:
http://bogdan-albei.blogspot.com/2010/06/php-remote-debugging-with-xdebug-and.html
Much fun reading! (and/or implementing?)
http://bogdan-albei.blogspot.com/2010/06/php-remote-debugging-with-xdebug-and.html
Much fun reading! (and/or implementing?)
maandag 21 juni 2010
ImageMagick works miracles
Suppose you've got some kind of way to big photo archive you would like to make sense of....
Suppose, you'd like to place it on the web....
Suppose, the images are all way, way, i said, way to big for that purpose!!!
And, of course, you're running Linux
Look no further:
http://www.novell.com/coolsolutions/tip/16524.html
Suppose, you'd like to place it on the web....
Suppose, the images are all way, way, i said, way to big for that purpose!!!
And, of course, you're running Linux
Look no further:
http://www.novell.com/coolsolutions/tip/16524.html
donderdag 3 juni 2010
Windows Server on Xen
Works like a charm! Just as long as you use:
http://wiki.xensource.com/xenwiki/XenWindowsGplPv
The paravirtualisationdrivers! Windows 2003 seems more sensitive to this than Win2008 server, but still, it works miracles in speed and stability!
http://wiki.xensource.com/xenwiki/XenWindowsGplPv
The paravirtualisationdrivers! Windows 2003 seems more sensitive to this than Win2008 server, but still, it works miracles in speed and stability!
zondag 30 mei 2010
Chromium on a netbook
With openSUSE 11.2 works like a charm!
Firefox seems very sluggish and not very stable when using XFCE 4.4, Chromium 6.0 however has been a fast breath of fresh air to me!
XFCE and NetworkManager
On openSUSE 11.2, XFCE is my desktop environment of choice for my sweet little precious Acer Aspire One (simply because only starting Plasma drains the accu way to fast!).
But, there are some little quirks (really?) one has to circumvent:
But, there are some little quirks (really?) one has to circumvent:
- For NetworkManager only KNetworkManager is installed (which requires quite a lot of additional Qt and KDE stuff preloaded), so installing NetworkManager for GNOME (nm-applet) is a wise choice here.
- If that is installed, make sure in the XFCE Startup and Session configuration Staring GNOME services is enabled.
- Then use run program to start nm-applet
- Now refresh your dns cache with /etc/init.d/nscd restart
Then it should just work!
dinsdag 25 mei 2010
Gtk and Javascript, kewl?
Took a while to pick this one up, but it seems really promising for fast prototyping desktop applications:
Building desktop Linux applications with JavaScript
Building desktop Linux applications with JavaScript
vrijdag 14 mei 2010
Configuring Huawei E1752 on openSUSE
Configuring the Huawei E1752 mobile internet usb modem (as it is used by ie Tele2 in the Netherlands) has been quite a challenge on openSUSE, thats why it seems like a sensible idea to write down the steps i took here:
- First, install the newest version of the following packages (search them om http://software.opensuse.org/search ):
- umtsmon
- usb-modeswitch
- huawei-umtsmodem
- Reboot the computer to ensure all modules are loaded
- Connect the usbstick
- Check lsusb is the Huawei stick is shown as a modem (instead of just a plain device without the mention of it being a modem)
- Edit /etc/sysconfig/network/config and change NETCONFIG_DNS_POLICY=”auto” to NETCONFIG_DNS_POLICY=”STATIC_FALLBACK ppp* NetworkManager”
- Start umtsmon once and create a profile, shut it down again
- Check if ls -l /dev/ttyUSB* results in /dev/ttyUSB0, /dev/ttyUSB1 and /dev/ttyUSB2
- Open /home/~user/.umtsmon/umtsmon.rc and set PPPPortName=/dev/ttyUSB0 instead of ttyUSB2 (which is only for monitoring purposes).
- Reboot again to make sure everything is loaded (die hard "no linux doesnt need to reboot"-fanboys can also relogin and perform a rcnetwork restart if they feel like it).
- Start umtsmon from Menu -> Internet -> Dialup -> umtsmon (or just Konsole umtsmon)
- Enter the pincode and connect the default profile
- And it SHOULD JUST WORK LIKE THAT
Took me just about 3 hours to find all this out, please, have fun with it!
====
ABSOLUTELY NO WARRENTY AT ALL, but these scripts seemed to have worked for me on openSUSE 11.2:
Install the packages:
zypper addrepo http://download.opensuse.org/repositories/home:/Freespacer:/huawei_umtsmodem/openSUSE_11.2/ home:Freespacer:huawei_umtsmodem &&
zypper addrepo http://download.opensuse.org/repositories/home:/tuoma/openSUSE_11.2/ home:tuoma &&
zypper update --recommends usb-modeswitch &&
zypper install --recommends umtsmon &&
zypper insatll --recommends huawei_umtsmodem
Editing DNS configuration:
sed 's/NETCONFIG_DNS_POLICY=”auto”/NETCONFIG_DNS_POLICY=”STATIC_FALLBACK ppp* NetworkManager”' /etc/sysconfig/network/config
Editing umtsmon userconfig:
sed 's/PPPPortName=//dev//ttyUSB2/PPPPortName=//dev//ttyUSB0' /home/$USER/.umtsmon/umtsmonrc
====
If connecting doesnt work (or on receiving DNS updating errors when running connect in umtsmon) try disabling all other network cards/connections before retrying.
Abonneren op:
Posts (Atom)