Review: Microsoft Sculpt Keyboard

A few months ago I bought the Microsoft Sculpt keyboard and mouse. This review is about the keyboard only. I picked up the mouse and immediately knew it wasn't something I wanted to use.
I don't know a lot about keyboards, so this is entirely subjective.
To summarize, if you like split keyboards, and like short action on your keypresses, then you will like this keyboard. 
Pros:
  • It's nice looking. Seriously.

Updating LDAP Boolean Attributes with PHP

Changing the value of an attribute in an LDAP directory via php generally uses the ldap_mod_replace function. Something like:

$newvals = array('attribute' => 'value);
ldap_mod_replace($ldap_connection, $dn, $newvals);

The problem I ran into was when the attribute was a boolean type. I kept getting:

 ldap_mod_replace(): Modify: Invalid syntax

Quick alpha version of filtering a table

I've found it incredibly useful to be able to just start typing in an input box, and have a long table get pared down to only what I'm looking for. See Drupal's Module Filter for an example. Since I have an app I'm working on that will eventually need similar functionality, I wrote a quick proof of concept. It's rough, and I have no idea how well it will perform on large tables. But it might come in handy. Visit it on GitHub: https://gist.github.com/4028731

Terminator Terminal Emulator is nice!

Right, so a blog post I read the other day mentioned the Terminator Terminal Emulator. It sounded nice, so I thought I'd try it.

Checking a LDAP Password in PHP

One of my current projects requires authenticating against an LDAP directory. I initially assumed that you would get the password from the directory, then compare it with the user supplied password. That's the wrong way.

The correct way is simpler. Just try to bind the user to the LDAP directory. If it works, you have the correct password, if it doesn't, the password or username is wrong. 

How To Migrate Content from a Wordpress Blog to Drupal 7

As you can see, I have migrated my personal blog to this site. It's now here: Personal Blog. I tried a couple methods, I used Feeds and was able to easily import posts, but I couldn't figure out how to get the comments as well. After a bit of searching, I found the Wordpress Migrate module. And it worked quite well.

Enabling LDAP Authentication on Ubuntu 11.10

NOTE: Before you try this, go here. I haven't tested the answer, but you likely have to compile some stuff to get LDAP auth working bug free. So, don't use the instructions below they are old and unlikely to work.

Just a quick note about enabling LDAP Authentication on Ubuntu 11.10.

Short Update

So, this is just a quick note to inform any readers that I am still alive. Unfortunately, or maybe not, I have been quite busy working at Lane Community College. Thus, this site has taken the back burner. 

 

So, we'll see if I find time to do anything here. Until then, thanks for visiting!

Drupal 7.0 is Out!

It's a great day for Drupal Devs everywhere, the latest major version upgrade was finally released this morning! :D 

Upgrades, Learning, and Stuff!

First, Merry Christmas! It's that time of year! Remember that it isn't all about the presents and money, Christmas is a great time to remember that Jesus was born to save us all. That's where the real joy of these Holidays comes from. :D

 

Pages

Subscribe to DavidReagan.net RSS