30
Learn Math
Filed Under (Development) by on 30-01-2009
You’ll need it. Read This
30
You’ll need it. Read This
20
Ever wanted each user on your server to have their own web directory? I wanted users on my server to have access to the public_html directory in their home directory so that they could display content at http://www.mydomain.com/~USERNAME. How do you do this?
1 2 3 4 5 6 7 8 | #UserDir is now a module #UserDir public_html #UserDir disabled root #<Directory /home/*/public_html> # AllowOverride FileInfo AuthConfig Limit # Options Indexes SymLinksIfOwnerMatch IncludesNoExec #</Directory> |
1 2 3 4 5 6 7 8 | #UserDir is now a module UserDir public_html #UserDir disabled root <Directory /home/*/public_html> AllowOverride FileInfo AuthConfig Limit Options Indexes SymLinksIfOwnerMatch IncludesNoExec </Directory> |
How did I figure this out? Click here.
09
This is fairly trivial. I just needed to remind myself of it. This can be found here.
1 2 3 4 5 6 7 8 | DataTable dtDest = new DataTable(); dtDest = dsActivity.Tables[0].Clone(); foreach(DataRow dr in dsSrc.Tables[0].Rows){ DataRow newRow = dtDest .NewRow(); newRow.ItemArray = dr.ItemArray; dtDest.Rows.Add(newRow); } |
08
I’ve been slowly going through the book “Real World Haskell” by Bryan O’Sullivan, Don Stewart, and John Goerzen. Of course, I have been going through the online version.
I have gone through the first four chapters of the book. These chapters lay the basic framework for using and understanding the Haskell language. I have only 2 complaints at this point:
What I like about the book:
Overall I really like this book and am excited to continue on to what seems to be more real world examples and applications.
07