Each encounter I’ve had with Lao Tzu has pointed me to something new. Almost as if the book changes with every reading. I first picked up Stephen Mitchell’s translation 40 years ago at the Bodhi Tree bookstore in Los Angeles and my life has never been quite the same. — Rick Rubin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const vegetables = [ | |
| { | |
| submitter: "Old Man Franklin", | |
| redness: 10, | |
| plumpness: 5, | |
| }, | |
| { | |
| submitter: "Sally Tomato-Grower", | |
| redness: 2, | |
| plumpness: 8, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let samples = ['clean','clean','clean', 'dirty' , 'dirty'] | |
| // function checkAir(air){ | |
| let dirties = 0; | |
| let cleans = 0; | |
| let threshhold = 0.75 | |
| let returnRatio = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // In this exercise, you will be given a normal string | |
| // of words and will turn it into a percent-encoded string | |
| // by replacing all whitespace with %20. | |
| // Percent Encoding | |
| // Take a look at the following URL, specifically the last | |
| // part: | |
| // This URL will perform a Google search for the term "lighthouse labs". | |
| // Notice that when the string "lighthouse labs" is part of a URL, the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Kata 4 - Instructor's Names | |
| // Assignment | |
| // 1h | |
| // Status | |
| // Incomplete | |
| // In this exercise, you will be given a list of instructors and you will have to determine which instructor has the longest name. | |
| // Input | |
| // const instructorWithLongestName = function (instructors) { | |
| // // Put your solution here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Vowels . | |
| // Kata 3 - Vowels | |
| // Assignment | |
| // 30m - 1h | |
| // Status | |
| // Incomplete | |
| // In this exercise, you will be counting the number of vowels that appear in a given string. For this exercise, consider the following to be vowels: a, e, i, o, and u. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // For this kata, you'll be adding only the numbers in the array which match the given condition. | |
| // Input | |
| // const conditionalSum = function(values, condition) { | |
| // // Your code here | |
| // }; | |
| // console.log(conditionalSum([1, 2, 3, 4, 5], "even")); | |
| // console.log(conditionalSum([1, 2, 3, 4, 5], "odd")); | |
| // console.log(conditionalSum([13, 88, 12, 44, 99], "even")); |
3/4/14 #Texts & Ideas: Political Economy Midterm 1
##Part I: The Civic and Christian Tradition of Political Economy ###Assumptions of Liberalism
- humans are rational
- individual is unit of analysis
- individuals should have freedom to make own decision
- commerce seen in positive light
- the state is separate and distinct from the Market