Friday, June 24, 2011

Etherpad on Mac

Here is the link to a very good article on how to install Etherpad on Mac OS X Snow Leopard.

Wednesday, June 22, 2011

Setting MySQL Permissions on Mac

OK, it took me a while because I was not familiar with Mac's user settings. But it's just 2 lines of code:

sudo bash
chgrp -R mysql /usr/local/mysql/data
chown -R mysql /usr/local/mysql/data
exit
 
Done! Have fun with starting your MySQL server!  

Friday, June 17, 2011

Editing Napkin Gadget of Google Wave

I was searching for a collaborative editing Web based environment which can include chatting, drawing, and some other optional gadgets. I'll keep you posted when I'm done with that.

But, the first thing that comes to your mind for such a platform is Google Wave. It has multiple gadgets and looks very customizable. The problem with Google Wave is that it cannot handle fine-grained access controls: you cannot set different permissions for different gadgets for a specific user and there is no "owner" role defined in it: any user who is not a "read-only" user, can add others to the wave and set their access controls. This is in addition to wave's problems for allowing scripts to be run in the it. I didn't see any update on these issues yet.

But what made me write this post is: Google Wave doesn't function well on Firefox-Mac combination. As you may know, I'm a new Mac user. I started playing with Wave on Firefox 4.0.1 and I couldn't make the "Ctrl+E" or "Command+E" key to enable editing the Napkin gadget. So, use Safari if you want to work with Google Wave on Mac, I hope it saves you some time!



Monday, April 18, 2011

"MySQL: command not found" on Mac

I'm new to Mac, so I have lot's of basic questions on it. Recently I've installed MySQL on my Mac but when I wanted to run mysql command on terminal, I got the error "command not found". I found out that this command is not added to the path automatically and to create the terminal shortcut, you have to add it using this command:

echo 'export PATH=/usr/local/mysql/bin:$PATH' >> ~/.bash_profile

Of course you have to make sure to adjust the address based on your installation and put your profile name in the command. Done! Now, you can access mysql command from everywhere on terminal.

Hello World!

Hi,
this is my first post here. I have another personal blog in which I'm anonymous :p but here, I'll talk about little things that happen to me during my work and research just to have a place to keep them and not to search from scratch every time I encounter these problems. The problems might seem very obvious for some and a real issue for others. I don't claim that I'm an expert in every fields. Hope these posts are helpful for people who are searching for their problems :D  I'll write more about myself in future.