-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
15b9fac
commit bdc5bcb
Showing
4 changed files
with
90 additions
and
30 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
const wikiquote = require('../lib/wikiquote') | ||
|
||
wikiquote | ||
.searchPeople('steve jobs') | ||
.then(pages => wikiquote.getRandomQuote(pages[0].title, { language: 'es' })) | ||
.then(quote => console.log(quote)) | ||
|
||
// You always have to keep pushing to innovate. Dylan could have | ||
// sung protest songs forever and probably made a lot of money, | ||
// but he didn’t. He had to move on, and when he did, by going | ||
// electric in 1965, he alienated a lot of people. His 1966 Europe | ||
// tour was his greatest…. The Beatles were the same way. They kept | ||
// evolving, moving, refining their art. That’s what I’ve always | ||
// tried to do — keep moving. Otherwise, as Dylan says, if you are | ||
// not busy being born, you’re busy dying. | ||
// | ||
// As quoted in Steve Jobs (2011) by Walter Isaacson, p. 570 |
This file contains 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
This file contains 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
This file contains 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