Giter Club home page Giter Club logo

chiru's Introduction

Learning a new Framework can be frustrating especially when you have so many tutorials and sample code out there. For me the best way to learn a new language or code is to grab a lintless piece of code and break it down to small bits and build it back up again . Time is short and you can waste a huge amount of time trying to read an entire book on Rails or JavaScript it is best to study by putting together a piece of code line by line until it becomes apart of your DNA. Many people who try to learn a new skill or perfect an old come to term with this rather quickly. For instance I have this repo here of an old project that is written in JavaScript using the Angular JS Framework.

My goal is to try and explain as much as possible in simple terms on how the major parts of an angular Project can work.

Chris Samuel [email protected] September 24, 2015

Github: https://github.com/Alayode Blog: http://alayode.github.io/ http://www.chrissamuel.me

chiru's People

Contributors

alayode avatar

Watchers

 avatar  avatar

Forkers

crisam

chiru's Issues

Ignoring files

You need to set up your global core.excludesfile configuration file to point to this global ignore file.

e.g.

*nix:

git config --global core.excludesfile '~/.gitignore'

Windows:

git config --global core.excludesfile "%USERPROFILE%.gitignore"

Please refer to the link below for more information on ignoring files:
https://help.github.com/articles/ignoring-files/

Dealing with line endings

https://help.github.com/articles/dealing-with-line-endings/

Pushing Changes to the Upstream (Git Push)Using Perforce Integration
Handling LF and CRLF Line Endings
On this page:
• Basics
• Enabling smart handling of LF and CRLF line separators
• Handling the problems with line separators during commit
Basics
Quite often people working in a team and using the same repository or upstream prefer different operating systems. This may result in problems with line endings, becauseUnix,Linux, and OS X use LF and Windows uses CRLF to denote the end of a line. PhpStorm shows the discrepancies in line endings in theDifference Viewer Dialog, so you can fix them manually.
To have Git solve such problems automatically, you need to set the core.autocrlf attribute to true on Windows and to input on Linux and OS X. For more details on the meaning of the core.autocrlf attribute, see the article Mind the End of Your Line orDealing with Line Endings. You can change the configuration manually by running git config --global core.autocrlf true on Windows or git config --global core.autocrlf input on Linux and OS X

Laying out the Routing of the site

Before I can finish building the pages I am going to have to use Angular's router. Angular has a module you can add to your application and turn it into a Single Page Application. Today I will fix this issue by using

angular-route.js

The Router is not included in Angular's main code why I don't know at the moment but I would love to find out. This is good practice in declaring your dependencies in your app.

image fails to render

the image Detarame hero seems to have an image that is either damaged or not a valid Base64 file.
Please put in a fix to have the mongoDB collection updated with a new image

after heroku deployment the ngModules were not loading

It seems that the ngModules angular-strap, angular-messages and , angular-route were throwing alot of errors into the browser

commit 3e97952bfe14dfc91cf3e7bbd0af3f3d0bf7703b
Author: Chris Samuel <[email protected]>
Date:   Wed Sep 30 15:26:21 2015 -0400
 Differentiated the home pages for the heroku branch and local branch

after spending alot of time reading over the code i found out that the actual module were misspelled I modified each file and added there cdn's to prevent this from happening again in the future

heroku push rejected no-cedar-supported app detected

I had this problem in the past solved it and forgot about it now I have the problem again......

The "no Cedar-supported app" implies that what you pushed doesn't contain any code or files that lets Heroku recognise what kind of application you are pushing. I tried to manage both remote under one repo but heroku has a difficult time finding the package .json file unless there in the root of the application.

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.