Find all directories in the current directory (not including subdirectories) that do not end with a period, and change the permissions to 777.
find . -maxdepth 1 -type d -name '*[!.]*' -exec chmod 777 {} \;