Playing around with themes

Duppdidu.

Yep, I’m currently in one of the hardest phase. I have to choose a design for the blog. It should look nice, easy useable/readable and as customizeable as i wan’t it. So i’ll give this one (magicblue) a try. I’m looking forward that i keep it as long as possible ;)

Get current authentication provider

SELECT auth_scheme FROM sys.dm_exec_connections WHERE session_id=@@spid

 

This command should return NTLM or Kerberos

Automatic SSH logon

Host1:

  1. ssh-keygen
  2. No PassPhrase (so automatic logon works)
  3. Default filename and path is ok
  4. cat ~/.ssh/id_rsa.pub
  5. Copy content of id_rsa.pub

 

Host2:

  1. Create ~/.ssh
  2. Create ~/.ssh/authorized_keys
  3. Paste content of clipboard into authorized_keys

 

Both steps vice vera

 

At the first logon a warning appears that the hostkey is added

to know_hosts. Yes to proceed.

 

That’s it ;)

Find and delete files with specific content

Ever wanted to deleted (or move, copy, what else) all files in a directory? It’s quite easy:

egrep -l NEEDLE * | xargs rm

This command will find all files with NEEDLE in it, pipes the filename (that’s because we need the parameter L) to xargs which then use the STDIN (our filename) and put’s it to rm.

Just play around with it the possible parameters. It would save you a lot of time.

Start of the blog

And it’s time again. I’ll start with a blog (again). I’ve already tried it time ago with WSS3.0. Now, because I had to move to Linux-Servers I’m using WordPress.

WordPress Themes