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

 by david.reagan on
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. 

 by david.reagan on
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.

 by david.reagan on
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!

 by david.reagan on
Our Tax System is Broken

Right, everyone hates taxes. That's a given. But want to know why people get really mad? It's not because they have to pay the Government so it can do it's work. It's not because people are greedy. No, it's because they can be as careful as possible in reporting their income, and still get a bill telling them that they got it wrong.

Case in point. I got a letter today saying I own $300+ dollars in taxes to Oregon. Apparently I reported my scholarship income wrong.

 by david.reagan on
A true "Liberal" speaks out

First, go watch the video and read the interview at this link: http://www.black-and-right.com/2011/07/08/the-regretful-obama-voter-speaks/

In the video, she talks about how Obama lied about wanting a Single Payer Health Care System, as well as how the recession is mainly due to the <a href="/node/91">Left's policies</a>. Oh, and I found her comment about the WHO report to be very interesting, I'll have to look into it myself sometime soon.

 by david.reagan on
True Causes of the Financial Crisis of 2008

I've heard parts of what is in this article, The True Story of the Financial Crisis, before. But seldom from a source that had the qualifications of Peter J. Wallison. The two takeaways:

  1. Leftist ideology caused the financial meltdown.
  2. The people who were supposed to figure out why the meltdown happened covered up the true reasons because they did not fit their ideology.

So, remember this article as you vote in elections.

 by david.reagan on
Follow posts via RSS: