Learn to Code!

Focused Search

Try Googling your question. See what w3schools has to say about it. Search Stackoverflow for an explanation. And if there's nothing online that gets you unstuck, there's someone at Codementor wh

Top Sites

  1. Codecademy
  2. Girl Develop It 
  3. Udacity  a. Introduction to Computer Science—available online for free. (See our post on free online courses for more ideas.)
  4. [https://blog.ted.com/2012/08/01/12-great-free-online-courses/]
  5. Code Racer, a “multi-player live coding game.” Newbies can learn to build a website using HTML and CSS, while the more experienced can test their adeptness at coding.
  6. The Computer Clubhouse
  7. CoderDojo
  8. Code School offers online courses in a wide range of programming languages, design and web tools.
  9. Treehouse (the parent site of Code Racer) provides online video courses and exercises to help you learn technology skills.
  10. Girls Who Code, geared specifically toward 13- to 17-year-old girls.
  11. Black Girls Code
  12. General Assembly offers a variety of coding courses at their campuses across the globe.
  13. Dash, teaches HTML, CSS and Javascript through fun projects on a simple interface.
  14. Coursera

Get inspired:

http://www.asmarterwaytolearn.com/blog/how-to-get-to-the-end-of-a-computer-book.php


http://bit.ly/toolsWorkshop

Code to repeat frequent tasks.

Take a github 101 class.

pwd = present working directory

ls = list of folders

ls -a = list all folders (including hidden)

cd = change directory

cd \ = takes you to the top directory

cd .. = goes up one level

cd ~ = takes you to your home directory

man ___ = manual (q to exit)

use tab to autocomplete (with something like cd).

cd [First few letters, then it tab]

find . -name '*.txt' -exec cat {} \; > allTheFiles.txt

Now I can use this:

find . -name '*.md' -exec cat {} \; > allMD.txt

man wc

wc -wm allTheFiles.txt

1897263 10556731 allTheFiles.txt WORDS, Characters


curl -GET http://digital.lib.calpoly.edu/islandora/rest/v1/object/rekl:5678/datastream/JPG?content, true > ~/Desktop/jpeg.jpg


Watch for future workshop on how to use APIs

| = Pipes

chaining inputs & outputs together.

bash (linux) is terminal (mac)

Python:

quit () = gets you out of Python.

R

Cmd+Enter to run line