Skip to content

Instantly share code, notes, and snippets.

@KorbenC
Last active August 29, 2015 13:57
Show Gist options
  • Save KorbenC/9745874 to your computer and use it in GitHub Desktop.
Save KorbenC/9745874 to your computer and use it in GitHub Desktop.
Code sample ideas
  • A utility class for logging events and errors either to a file or the system event logs with a configurable level of verbosity.
  • A set of stored procedures for maintaining and searching data in a hierarchical tree structure.
  • An implementation of the singleton design pattern to serialize access to a resource file.
  • A calculator function that takes a single string of input that includes numbers and operators and returns the numeric result of the equation. Don’t forget input validation, error handling (divide by zero), and operator precedence concerns!
  • A method that takes a URL to a web site and a local path and downloads all image files based on tags.
  • Create a method that takes a keyword, message, and login credentials and uses the Twitter API to respond to post the message as response to any friends of the account specified.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment