MySQL create new user

CREATE USER 'monty'@'localhost' IDENTIFIED BY 'some_pass';
GRANT ALL PRIVILEGES ON *.* TO 'monty'@'localhost';
FLUSH PRIVILEGES;

http://dev.mysql.com/doc/refman/5.1/en/adding-users.html

This site, so far

So far the only thing that I would like to do with the site, besides of using as little modules as possible, is allow comments. Not bad considering how little time I have been putting on this. :)

I may also start blogging about Mexico again. That "may" is very suspicious though.

Things left to do for the site

So this is the plan for this week.
5. Get the anti-spam modules and install them
6. Allow comments

Apache: making alias directories

Another one that I have to look for again and again

Alias /sillyAppName /path/to/sillyAppName/

  Order Allow,Deny
  Allow from all   
  DirectoryIndex index.php
   

Asp Wizard: skipping a wizard step programmatically (also known as click next button)

Short Solution:

Wizard.MoveTo(NameOfWizardStepControl);

The long story:

Hmm, Bella seems to have more finished projects than me

I was looking down the front page, and I saw that Isabella, our proud student and Crunchy Granola Academy, has more finished hobby projects than I. It seems that I better start doing more home coding :S

Vim: show special characters, such as tabs

I needed to see how many tabs there were in a tab delimited file because it was failing column-length validation, even though it look on excel as if it had the right number of columns. I couldn't see the tabs on vim. What was the solution?

:set list

To turn it off, just close your editor window and open it again.

Just kidding, to turn it off:
:set nolist

http://groups.google.com/group/comp.editors/browse_thread/thread/5004925...

MS SQL Grant permission to execute stored procedure

I keep looking this up. so it has gain its place in this site:

GRANT EXECUTE ON procedureName to username

Ruby and MSSQL on Windows: link to best page ever

This was the only code that I found where it made it easy to execute a query to a MS SQL Server db. If you are running it on windows, the libary, win32ole, comes with the installation. It is a small class that handles the connection and execution of the db.

I normally copy interesting code here and give the link, but the post is so short and to the point that I will just Thanks! David Mullet, for this great piece of code. It made my day :)

http://rubyonwindows.blogspot.com/2007/03/ruby-ado-and-sqlserver.html

And a bird simulator from Bella too!

This one, like the last one, was done all by herself. She also made the graphics. Now that she is on vacation, the no programming after 7 restriction has been lifted.

Oh, and scratch is awesome.


Learn more about this project

Syndicate content