Showing posts with label github. Show all posts
Showing posts with label github. Show all posts

Thursday, February 28, 2013

Correlating foreman version and features

  • How do I find out if the version of Foreman installed by Heroku-Toolbelt has the feature that I spotted on Foreman's GitHub website?
    • What version are you running?
      $ foreman --version
      0.60.0
    • Head on over to the changelog and search the web page with keywords of the feature you're looking for. For example: When was an export for launchd introduced? I found out that it was present here, here & here:
    • All of these were mentioned in versions lower than 0.60.0 so I assume that I have it.

Monday, November 14, 2011

Ideas for improving GitHub's Gist

Lets list and acknowledge some of the work that has already started happening around GitHub's Gist when it comes to using it for embedding code snippets in blogs:
  • Loading the Gist through an iFrame to shorten page load times.
    • A nice side effect is the ability to get around any non-working Blogger templates like the Dynamic Template that was recently released but doesn't work with an embedded Gist (remark date: Nov. 14th 2011).
New Ideas:
  1. Tell the script to provide line numbers.
  2. Allow a line-start/offset and line-end/length attribute for the embedded script so that users can have one large file and then simply talk about the chunks in sections. This will remove the need to break up the original large Gist into multiple individual Gists.
  3. Tell the script the array or range of line numbers to highlight.
    • The following Gist will look for a div with the id of "foo" and place the script's formatted content in there. It is an actual example of the code running on this blog page to perform basic highlighting:
Until all this happens, Syntax Highlighter will remain # 1!



Sunday, July 31, 2011

IBAForms: An Engaging Experience

I recently found out about IBAForms, which is an Objective-C framework for easily building forms for the iPhone. I liked it a lot so I thought I'd make it tad easier for other beginners like myself:
  1. I've uploaded How To Use IBAForms Part 1 of the screencast where I cover the basics of importing IBAForms so that you may begin using it. Relying on the screencast isn't necessary as the Adding IBAForms to your project section of the README covers the same content but it may help to watch it in action.
  2. Here's one of the commands used in the screencast, used in the Terminal, which you may find a little bit more helpful than pausing the screencast and trying to visually copy it from there:
    git submodule add https://github.com/ittybittydude/IBAForms.git IBAForms
  3. In case you find the submodule approach less than desirable, feel free to remove it.
  4. In How To Use IBAForms Part 2 screencast, you'll get more hands-on instructions on how to actually start adding the form fields.
When in doubt head over to the user groups for IBAForms.