Git Product home page Git Product logo

hackerank's Introduction

Brunch with Hipsters and Bootstrap

image

Brunch with Hipsters is a rad Brunch app skeleton that comes with unicorns out of the box. Take a look at Hackerank (an example app) to see how it works. Brunch with Hipsters was awesome before awesome was awesome.

Languages

Features

Plugins

Getting started

$ brunch new <appname> --skeleton [email protected]:elving/brunch-with-hipsters.git
$ bower install
$ brunch w -s

or

$ git clone [email protected]:elving/brunch-with-hipsters.git
$ npm install
$ bower install
$ brunch w -s

or

$ git clone [email protected]:elving/brunch-with-hipsters.git && npm install && $ bower install && brunch w -s

Generators

First install scaffolt:

npm install -g scaffolt

Then you can use the following commands to generate files:

scaffolt view <name>
    → app/views/name.coffee
    → test/views/name_test.coffee

scaffolt model <name>
    → app/models/name.coffee
    → test/models/name_test.coffee

scaffolt style <name>
    → app/views/styles/name.styl

scaffolt template <name>
    → app/views/templates/name.hbs

scaffolt collection <name>
    → app/collections/name.coffee
    → test/collections/name_test.coffee

scaffolt module <name>
    → app/views/name.coffee
    → test/views/name_test.coffee
    → app/models/name.coffee
    → test/models/name_test.coffee
    → app/views/styles/name.styl
    → app/views/templates/name.hbs

Testing

To run your tests using Karma you will need to install phantomjs:

brew update && brew install phantomjs

Run the tests:

cake test

Build and test your app:

cake build:test

You can change Karma's configuration by editing test/karma.conf.js and add any test helpers by editing test/helpers.coffee.

hackerank's People

Contributors

elving avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

msurguy soccergee

hackerank's Issues

Link to Github Repo

Nice app!

Couple of issues:

  1. The hacker-repo-name should always link to the github repo.
    Try this:
hacker.repoUrl=hacker.repoUrl || ["https://github.com", repo.username, repo.name, ""].join("/");

around line 525 of app.js

  1. Sometimes there is an Error message in the console.log:
Uncaught TypeError: Cannot read property 'owner' of undefined

at app.js:515

Might need to guard against this with something like:

repo = repos.shift();
if (!repo) { return; }

or

repo = repos.shift() || {owner:"NOBODY"};

Let me know if you'd like me to put in a Pull Request for these changes.

->> Josh <<-

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.