by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 17 2014 18:57

    SwampGuzzler on master

    tabsProject initial commit Oldest Parent inital commit Merge pull request #230 from LP… (compare)

  • Aug 17 2014 18:57
    SwampGuzzler closed #230
  • Aug 17 2014 18:56
    SwampGuzzler commented #230
  • Aug 13 2014 22:51

    SwampGuzzler on master

    Added oldestlivingparent assign… Added tabs with ajax assignment added tab-angular assignment and 1 more (compare)

  • Aug 13 2014 22:51
    SwampGuzzler closed #232
  • Aug 13 2014 22:51
    SwampGuzzler commented #232
  • Aug 13 2014 19:01
    toastynerd closed #228
  • Aug 13 2014 18:52
    toastynerd closed #229
  • Aug 13 2014 18:52

    toastynerd on master

    adding assignment 5.1 adding 5.1 adding solution for last assign… and 1 more (compare)

  • Aug 13 2014 18:52
    toastynerd commented #229
  • Aug 13 2014 03:28

    hankyates on master

    Find oldest living parents from… Tab Example with GET request fr… Tab Example by using Angularjs and 1 more (compare)

  • Aug 13 2014 03:28
    hankyates closed #217
  • Aug 13 2014 03:28
    hankyates commented #217
  • Aug 13 2014 03:24
    hankyates commented #212
  • Aug 13 2014 03:24
    hankyates closed #212
  • Aug 12 2014 05:38

    hankyates on master

    First Commit of Ajax Assignment Merge branch 'master' of https:… Merge pull request #221 from st… (compare)

  • Aug 12 2014 05:38
    hankyates closed #221
  • Aug 12 2014 05:37
    hankyates commented #221
  • Aug 12 2014 05:35

    hankyates on master

    version 1, assignment 7.1 first version of assignment 6.1 first version of assignment 6.1 and 7 more (compare)

  • Aug 12 2014 05:35
    hankyates closed #200
Livingston Martin
@LPM42
After node is installed, you type in terminal:
node <filename.js>
it should return any console.log outputs and/or errors.
Michael Caprio
@Kinrr
@joeelsey You can also run your code directly in terminal by typing 'node' - the prompt will change to >
Just ensure you've required/included the lodash library and are in your node_modules dir
Hank Yates
@hankyates
@Kinrr might need to npm install lodash in the directory
@joeelsey vanilla is fine. lodash just makes it easier
Ivan Storck
@ivanoats
@SwampGuzzler you’re all set on the repo
Hank Yates
@hankyates
thanks @ivanoats
Joe Elsey
@joeelsey
@MJGrant So that worked. Thanks! But I'm copy pasting code examples from http://underscorejs.org/#find into my test file and the _. is coming up undefined.
var stooges = [{name: 'moe', age: 40}, {name: 'larry', age: 50}, {name: 'curly', age: 60}];
_.pluck(stooges, 'name');
Mandi Grant
@MJGrant
@joeelsey Does your file start with var _ = require ('lodash');?
@joeelsey I was able to get this code to deliver an array of Stooge names in my own local file:
var stooges = [{name: 'moe', age: 40}, {name: 'larry', age: 50}, {name: 'curly', age: 60}];

getStoogeNames = function(stooges) {
  var stoogeNamesVar = _.pluck(stooges, 'name');
  console.log("Stooge names: ", stoogeNamesVar);
};

getStoogeNames(stooges);
This message was deleted
That renders this result in Terminal: Stooge names: [ 'moe', 'larry', 'curly' ]
Joe Elsey
@joeelsey
I didn't before. I was able to make it work now. Thank you.
Mandi Grant
@MJGrant
Awesome!
John Fahey
@faheydesign
Scott Romney Burbidge
@sburbidg
@faheydesign cool, thanks.
Scott Romney Burbidge
@sburbidg
the websites I found to explain this kinda over complicated it
so here is a simple explanation on how to debug your js files in chrome
Scott Romney Burbidge
@sburbidg
This message was deleted
This message was deleted
Scott Romney Burbidge
@sburbidg
So for something like a node_modules folder is it best to just do a global ignore?
Hank Yates
@hankyates
yup
i put mine in ~/.global_gitignore
then in ~/.gitconfig
[core]
  excludesfile = ~/.gitignore_global
Scott Romney Burbidge
@sburbidg
and once you do that you don't even need to worry about the file type you ignore when you install it into a new project?
Hank Yates
@hankyates
yeah pretty much
Scott Romney Burbidge
@sburbidg
certainly a lot less tedious, Thanks
Ivan Storck
@ivanoats
If you’re on a mac, also put .DS_Store in your .gitignore_global
Hank Yates
@hankyates
oh please do that
thanks @ivanoats !
oops, forgot node_modules! :panda_face:
Scott Romney Burbidge
@sburbidg
where do you put the global git ignore? Some places are saying in your root directory and some are saying in a repository.
Hank Yates
@hankyates
i put it in my home folder
.gitignore is for a repo
Scott Romney Burbidge
@sburbidg

Idk if this will help anyone but it helped me when I sort of messed up where my .gitignore files were.
enter:

defaults write com.apple.finder AppleShowAllFiles TRUE

TRUE will show hidden files and FALSE will hide them again.

Tyler Morgan
@toastynerd
you can also use ls -a
Scott Romney Burbidge
@sburbidg
ah, that is simpler. I was trying to find the ls option that would include hidden files.
Tyler Morgan
@toastynerd
You can also use -A if you want to exclude . and ..
Ivan Storck
@ivanoats
I wrote a Mac app for this too : https://github.com/ivanoats/ShowInvisibles
Scott Romney Burbidge
@sburbidg
when it shows you something like
usage: ls [-ABCFGHLOPRSTUWabcdefghiklmnopqrstuwx1] [file ...]
how do you look at the [File...]?
Scott Romney Burbidge
@sburbidg
or how do you look up what all those usages do?
Tyler Morgan
@toastynerd
man ls
man ls
Scott Romney Burbidge
@sburbidg
oh, for some reason I was doing man -k ls
Tyler Morgan
@toastynerd
yeah, you only want to use apropos if you don’t know the name of the command
Scott Romney Burbidge
@sburbidg
oh okay. I had forgotten about the manuals. They are super helpful