The choice of jQuery selector's
Sometimes if you are doing some fancy HTML5 development you wonder what jQuery selector would do the job. In such a case I can recommend the following little helper 🙂 http://codylindley.com/jqueryselectors/
Sometimes if you are doing some fancy HTML5 development you wonder what jQuery selector would do the job. In such a case I can recommend the following little helper 🙂 http://codylindley.com/jqueryselectors/
Sometimes it is needed to add some vendor specific information’s like a version string to a generated coreboot rom. For this example we assume we want the area from 0x00 to 0x30 for such kind of data. The first idea is to use cbfstool. Thanks to some guys in the IRC channel it looks like the current build system does something like: cbfstool -o $$(( $(CONFIG_ROM_SIZE) - $(CONFIG_CBFS_SIZE) )) … ...
I am looking for a way to detect If a initramfs was used during boot. And after some reboots and reading of init script of initramfs-tools I found this solution. #!/bin/bash if [ -e /dev/.initramfs ]; then echo YES else echo NO fi This may not work under wheezy or any other working distribution. But that’s okay for now 🙂
I always wanted to try out systemd as I like the ideas and concept behind it. So lets get started: add systemd USE-flag emerge –ask –changed-use –deep @world emerge –ask systemd change grub config to use init=/usr/bin/systemd reboot localhost christian # systemd-analyze Traceback (most recent call last): File “/usr/bin/systemd-analyze”, line 23, in from gi.repository import Gio ImportError: No module named gi.repository This can be fixed with: emerge -av dev-python/pygobject Here are the first results: ...
I run into a problem where I have a device which has two normal serial ports and some on a PCI device. After booting the kernel I got this error line: Couldn’t register serial port 0000:02:0a.2: -28 In order to get more than 2 serial ports working, I “fixed” my currently used kernel config: CONFIG_SERIAL_8250_NR_UARTS=32 CONFIG_SERIAL_8250_RUNTIME_UARTS=6