Archive for the ‘Linux’ Category.
2010/01/21, 20:25
just to remember how to test if a certain directory and its files are included in the backup using the TSM commandline interface:
./dsmc preview backup -console /path/to/dir/ |
delete one or more files from your backup (NOTE: the quotes in the second command are important, otherwise bash will expand the pattern and produce a list of files, which will confuse the TSM-client):
./dsmc delete backup /backups/mysql/mysqldump-complete-2010-01-20-1823.sql.gz
./dsmc delete backup '/backups/mysql/*.gz' |
2010/01/18, 11:56
for mail in $(sudo mailq | grep frozen | cut -c 11-26) ; do
sudo exim4 -Mrm $mail
done |
extend or adjust the grep-pattern as required by your situation…
2010/01/15, 15:55
by far the best article I’ve read for somebody used to subversion (and tied to an SVN-repo) who wants to use git locally:
Git-SVN: Whys And Hows
thanks!!
2010/01/11, 18:55
Ever got messages like this in your Apache logfiles, wondering why setting properties via a client on your (otherwise working) WebDAV is failing?
Could not open the property database. [500, #205]
(2)No such file or directory: Could not open property database. [500, #1]
(2)No such file or directory: Attempted to set/remove a property without a valid, open, read/write property database. [500, #202] |
Well, simply add a directory called “.DAV“ (note the leading dot!) to your WebDAV base-directory, that is writeable to the webserver. That’s where the corresponding information will be stored by Apache. Note that this is “somehow” mentioned by the mod_dav documentation at webdav.org, but not by Apache’s documentation itself. Yes, that’s bad and pretty annoying.
2010/01/04, 15:25
reset vim’s internal representation of what printable characters are, then find all non-printable chars except “TAB” (note that “^I” means literally pressing the TAB-key):
:set isprint=
/[^[:print:]^I] |
UPDATE: a nicer way to achieve this is to activate search-highlighting and then search for characters in the range 0×7f – 0xff (this way vim displays the printable chars like german umlauts, but they’re highlighted, so you can identify them easily):
:set hlsearch
/[\x7f-\xff] |
(see also: vim-wiki, vimtips)
2009/12/09, 15:43
finally, CalDAV evolves to a pretty common standard. sun microsystems is about to contribute a client for symbian: blog.symbian.org.
2009/12/07, 17:30
what’s the point in complaining about beta-releases? well, the hope for a better final version…
currently, not only TB-3 has a lot of bugs, but also the latest lightning-plugin: Bug 523555
most confusing to me is the fact that importing a certificate is insufficient to make this work, you also have to select every certificate and edit its trust-properties to make it work. how daffy…
2009/12/04, 18:18
migrating the blog to the new server is finished and thanks to the professional service from prosite, even switching the domain was done in five minutes!
2009/12/04, 02:52
In the progress of migrating to a different server, I decided to upgrade my textpattern-installation. So I used the current release 4.2.0, basic installation was quite easy as expected. Next, I tried once again to install a theme since textpattern looks awful by default… Since the official theme-site lists an updated version of my old theme “Gentle Calm” this was the choice to go for – and this is where once again the pain starts.
Documentation talks about sth. like “easy and quick” installation procedure. Followed by dozen steps that include uploading and naming images, adjusting CSS by hand, editing existing templates and so on. What a PITA!!! Just to discover in the end that AGAIN half of the basic stuff like archives, RSS and so on is not working. And even more, none of the recommended plugins is available anywhere on the textpattern web-resources. Nothing but dead links.
Being disappointed once again this hard, I decided to test a different blogging-software. After a close look at HelixBlog (guess why…) which looks really interesting, I decided anyhow to give WordPress a chance.
And that’s where the nice part of the story begins. Basic installation was quite the same, but what a difference with what you are greeted after that: a nice admin-panel, many details but very well-organized. One-Click-Installation of new themes (or one-tar-installation, depending on your preferences). And the most shocking: an import-tool to migrate from textpattern to WordPress.
After all, the whole procedure of installing WP, a convenient theme and importing all information from textpattern took less time than going halfway through the theme-installation with TXP.
textpattern is dead. really.