Skip to content

Instantly share code, notes, and snippets.

View scottwwhitman's full-sized avatar

scottwwhitman

View GitHub Profile
@scottwwhitman
scottwwhitman / GitLab-Overview.md
Last active October 24, 2016 02:58
GitLab Overview

GitLab Overview

GitLab is an application to code, test, and deploy code together. It provides Git repository management with fine grained access controls, code reviews, issue tracking, activity feeds, wikis, and continuous integration.

  • Similar functionality to GitHub
  • Built on the GitLab open-source project and is written in Ruby
  • Has over 700 contributors and is used by major organizations like Alibaba, NASA, CERN, and more

    GitLab Advantages:

  • @scottwwhitman
    scottwwhitman / google-analytics-rails.md
    Last active May 16, 2022 00:34
    Add Google Analytics to your Rails app

    Google Analytics for Rails

    Fast Universal Google Analytics setup for Rails. This gem is mostly intended for small to medium websites with a simple analytics strategy.

    Why use Google Analytics?

  • Google Analytics generates detailed statistics about a website's traffic and traffic sources
  • Also measures conversions and sales
  • Most widely used website statistics service
  • @scottwwhitman
    scottwwhitman / README.md
    Last active January 12, 2017 17:18
    Angular App Create

    ##Creating an App using Angular

    Keys to Remember About Angular:

    • In your HTML, always prefix angular element attributes with ng-* (ex. an angular-style href is called ng-href)
    • These ng-* attributes are called directives, and they allow us to add behavior to HTML. Directive HTML tags tell Angular to run or reference Angular code
    • Important directives to remember:
      • ng-app turns ordinary HTML into an Angular application. You will need Angular loaded into your project (via a package manager or CDN) for this to work
      • ng-controller connects a controller (a JavaScript file containing logic) to a section of our application.
      • ng-model ties together (binds) values in HTML and data in the controller.

    Week 2 Learning Objectives

    ###Iterator Methods & Callbacks

    • Use appropriate iterator methods to declaratively loop through collections
    • Follow the order of execution in a program that uses callbacks
    • Write a higher-order function that calls a custom callback

    ###Objects

    @scottwwhitman
    scottwwhitman / week1-learning-objectives.md
    Created August 16, 2016 22:03
    Week 1 Learning Objectives

    Week 1 Learning Objectives

    ###Git & Github

    • Explain the uses of Git and GitHub for tracking their changes and collaborating on projects.
    • Draw a model of local, remote, and working copies of their repositories.
    • Write some code, commit the changes, and write a strong commit message.
    • Deploy first live website using gh-pages.

    ###HTML & CSS