dmitri alenitchev

August 29, 2006

Regexp for quote and smile

Filed under: Default — Dmitri Alenitchev @ 12:51

Here is regular expression for quotes of computer geeks (like “that”) ;)

(\`).*.(\’)+

And here regexp for smiles

[;:]-[)/(|]

I use the following strings in my .muttrc for getting pretty nice color selection of quotes and smiles :)

color body yellow black “(\`).*.(\’)+”

color body yellow default “[;:]-[)/(|]“

I think, bugs in these regexps present.. :( I’m not regexp guru. Comments?

Night of hacking

Filed under: OpenBSD — Dmitri Alenitchev @ 7:21

Results:

  • Update usr.sbin/acpid/main.c to style(9);
  • Update share/man/man4/acpi.4;
  • Man page for acpibat (new page+patches for Makefile and acpi.4)

August 28, 2006

DSDT will be replaced

Filed under: OpenBSD — Dmitri Alenitchev @ 23:01

Today i wrote patch for dsdt.c. Simple update to style(9). This patch will not be applying, because dsdt will be replaced. This is a good news. ;)

Here is messages in tech@.

August 27, 2006

Rainbow ;)

Filed under: Photo — Dmitri Alenitchev @ 18:32

Rainbow

More photos here.

amaroK: xine only

Filed under: OpenBSD — Dmitri Alenitchev @ 15:45

amaroK have not engine selection now! Work with xine only. Version 1.4.0, OpenBSD-current.

Here is message in ports@ about this changes.

OpenBSD-current

Filed under: OpenBSD — Dmitri Alenitchev @ 0:20

I update OpenBSD on my laptop to -current and rebuild kernel with enabled ACPI. New dmesg is here:

(more…)

August 26, 2006

Using trunk(4) interface in OpenBSD

Filed under: OpenBSD — Dmitri Alenitchev @ 23:48

In OpenBSD you can use trunk(4) interface for creating link aggregation and link failover.

Introduction

The trunk(4) interface support was added in OpenBSD since 3.9 version (last release in present moment) for allowing link aggregation and link failover. One virtual trunk(4) interface can be created from multiple network interfaces.

Example

Simple example, creating failover trunk, using two Gigabit Ethernet interfaces and one wireless interface:

# ifconfig bge0 up
# ifconfig bge1 up
# ifconfig ath0 nwid test_network up
# ifconfig trunk0 trunkproto failover trunkport bge0 trunkport bge1 \
trunkport ath0 192.168.0.1 netmask 255.255.255.0

Of course, in this example, loadbalance also can be used.

Links

August 14, 2006

I’m Ubuntu Member now

Filed under: Ubuntu — Dmitri Alenitchev @ 1:02

Today i was approved by mako to Ubuntu Members. And I’m first Russian Ubuntu Member.

August 7, 2006

/me at Undeadly

Filed under: OpenBSD — Dmitri Alenitchev @ 0:59

Package testing time news post on Undeadly regarding porters call for users to test the latest snapshot packages and the ports tree itself.

Blog at WordPress.com.