WorkFlowy to Keynote Presentation Steps

Frustrating, but I finally figured out a way to go from WorkFlowy to a powerpoint or keynote presentation.  It’s not obvious and requires a “middle man” program.   This works on my Mac, and is untested on other platforms.

 

  • First, using Workflowy to export the outline you want to make into a presentation.
  • Then, copy all the text and open TextEdit on your mac.   TextEdit actually creates RTF files, not just plain text.  Paste your Workflowy document into Text Edit.   The outlining should all still be intact.
  • Save this file to your harddrive.

Now open Keynote and do these steps

  • Start a new presentation
  • View->Outline Mode
  • Click next to slide 1 in the outline and…
  • Edit ->Match Destination Formatting.

 

That should do it! Good luck.

Getting Oauth2 to work with Python on a Mac

I am ataking a coursera course in Data Science and having trouble getting the prelim check for the first assignment to run without errors.  Here are the details  any help is appreciated!

Using Mac OS 10.8.5
Which Python returns:
/Library/Frameworks/Python.framework/Versions/2.7/bin/python

Running the first assignment script after updating teh API calls results in this:

$ python twitterstream.py > output.txt
Traceback (most recent call last):
  File “twitterstream.py”, line 1, in <module>
    import oauth2 as oauth
ImportError: No module named oauth2
So I go back double check my oauth2 installation

$ pip install oauth2
Traceback (most recent call last):
  File “/usr/local/bin/pip”, line 5, in
    from pkg_resources import load_entry_point
  File “/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py”, line 2603, in
    working_set.require(__requires__)
  File “/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py”, line 666, in require
    needed = self.resolve(parse_requirements(requirements))
  File “/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py”, line 565, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: pip==1.5.2

So now I investigate PIP:

$ which pip
/usr/local/bin/pip
Not even sure what that means, but it’s there.

I investigate the pip file and see this, the version looks consistent internally with the error I am seeing above.

#!/usr/bin/python
# EASY-INSTALL-ENTRY-SCRIPT: ‘pip==1.5.2′,’console_scripts’,’pip’
__requires__ = ‘pip==1.5.2’
import sys
from pkg_resources import load_entry_point
sys.exit(
   load_entry_point(‘pip==1.5.2’, ‘console_scripts’, ‘pip’)()
)
I try easy install and get this result:

$ easy_install oauth2
error: can’t create or remove files in install directory
The following error occurred while trying to add or remove files in the
installation directory:
    [Errno 13] Permission denied: ‘/Users/suzanne/Library/Python/2.7/site-packages/test-easy-install-8879.write-test’
The installation directory you specified (via –install-dir, –prefix, or
the distutils default setting) was:
    /Users/suzanne/Library/Python/2.7/site-packages/

SO I try with SUDO

$ sudo easy_install oauth2
Searching for oauth2
Best match: oauth2 1.5.211
Processing oauth2-1.5.211-py2.7.egg
oauth2 1.5.211 is already the active version in easy-install.pth
Using /Users/suzanne/Library/Python/2.7/site-packages/oauth2-1.5.211-py2.7.egg
Processing dependencies for oauth2
Finished processing dependencies for oauth2

This seems to have worked?  But I still get the ORIGINAL error above when running the twitterstream.py file.

Do I have more than one python installed? THis command shows basically one (I think??)
$ type -a python

python is /Library/Frameworks/Python.framework/Versions/2.7/bin/python
python is /usr/local/bin/python
python is /usr/bin/python
python is /usr/local/bin/python

When I look using my finder I do see folders for Python 2.3, 2.5, 2.6 and 2.7
I recall playing with Python installs awhile ago so I’m not sure if I added 2.7 myself and if that broke anything.

Here is my $PATH

$ echo $PATH
/Users/suzanne/.rvm/gems/ruby-2.1.0/bin:/Users/suzanne/.rvm/gems/ruby-2.1.0@global/bin:/Users/suzanne/.rvm/rubies/ruby-2.1.0/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/local/heroku/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/suzanne/.rvm/bin

I am stuck.  I have googled/stackoverflowe searched everything I can think of and I can’t get the pre-assignment one command to work.

Any help? PLEASE??

Local WordPress Installation using MAMP

This is as much for my own records as to help anyone out, but this is the collection of softwares I used while considering using Genesis as a new framework for custom wordpress installations. I should probabaly outsource this, but seeing as the costs tend to range from $500 to $25oo for a PSD -> WordPress framework conversion, I think it’s worth tackling myself.  I’ve done minor custom codes for wordpress but not straight from PSD files, just from other design ideas and havn’t done too shabby. If I can up my game a bit perhaps I can code for others as well?

Anyway here’s the softwares:

MAMP

WordPress.org

 

Troubleshooting guide for My SQL Server not starting

http://eliteeternity.com/mysql-server-wont-start-mamp-red-light-mac/

 

Installing WP Manually

http://codex.wordpress.org/Installing_WordPress

 

How to fix PHPMy Admin after making the same mistake everyone else makes with changing the root password:

Using Terminal, type: /Applications/MAMP/Library/bin/mysqladmin -u root -p password <NEWPASSWORD>

At the next prompt type the same password

Then Tools->Clear Cache (on your browser) and restart

 

Random key generator for wp-config:

https://api.wordpress.org/secret-key/1.1/salt/

 

And a couple of tutorials I’m browsing:

http://eliteeternity.com/mysql-server-wont-start-mamp-red-light-mac/

http://www.1stwebdesigner.com/tutorials/stylish-design-agency-landing-page-photoshop-tutorial/

http://www.1stwebdesigner.com/wordpress/psd-to-html-tutorial-code-photoshop/

 

I hope someone else finds this helpful, please leave a comment if you do!

Installing Ruby on Rails in OSX 10.7.5

Want to install Ruby on Rails on your lastest OSX Snow Leopard version?

You’ll need to do a couple of steps which look intimidating but aren’t that hard.

  • First, download RVM on your computer
  • Next, download the GCC compiler separately since the latest version is not installed with the current XTools from the app store (but if you have a previous version of Xtools, apparently it is)
  • Finally you can install Ruby and Rails from the RVM command line in your terminal.

More details on all of these below…

Having never installed developer tools on a Mac before (other things have intervened since switching over to Mac that precluded me from any development), I followed this tutorial to get Ruby & Rails up and running on my mac:

http://net.tutsplus.com/tutorials/ruby/how-to-install-ruby-on-a-mac/

However it appears that the latest release of Xtools does not include a key compiler for the full install.   So after installing Xtools, I did a little more googling and found this update:

http://woss.name/2012/01/24/how-to-install-a-working-set-of-compilers-on-mac-os-x-10-7-lion/

Followed the download link to this site:

https://github.com/kennethreitz/osx-gcc-installer/downloads

And installed the latest GCC package.

After installing the GCC package, I went back into my terminal shell and ran this:

>rvm install ruby-1.9.3-p194

And was happily greeted with this message…

Install of ruby-1.9.3-p194 - #complete

IN between those steps I was successfully able to install RVM, but not by cutting and pasting the command lines, I had to type them into the shell.

Read this for some additional details
https://rvm.io/rvm/install/

If I can do it, you can too….I honestly have little idea of what I’m doing, but having created a fresh backup and still having an active apple care subscription, I had little fear of anything bad going on!