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
name: Update Posts | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2-beta |
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
name: Update Posts | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2-beta |
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
name: Update Posts | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
+ | |
+ - name: Setup Node.js | |
+ uses: actions/setup-node@v2-beta |
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
name: Update Posts | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
+ steps: | |
+ - name: Checkout code | |
+ uses: actions/checkout@v2 |
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
name: Update Posts | |
jobs: | |
update: | |
runs-on: ubuntu-latest |
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
const Parser = require('rss-parser') | |
const fs = require('fs') | |
const pug = require('pug') | |
const compiledFunction = pug.compileFile('index.pug') | |
const parser = new Parser() | |
(async () => { | |
const feed = await parser.parseURL('http://medium.com/feed/@viniwrites') | |
fs.writeFileSync('index.html', compiledFunction({ posts: feed.items })) | |
})() |
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
section | |
h2 Latest Posts | |
each post in posts | |
article | |
a(href=post.link) | |
h3= post.title | |
p= post['content:encodedSnippet'] |
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
const Parser = require('rss-parser') | |
const fs = require('fs') | |
const parser = new Parser() | |
(async () => { | |
const feed = await parser.parseURL('http://medium.com/feed/@viniwrites') | |
fs.writeFileSync('latestPosts.json', JSON.stringify(feed, null, '\t')) | |
})() |
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
Say you are a slave in a small city in the country-side, a part of the Roman empire. You had an enormous debt you could not pay, so to settle it your creditor slaved you and your family. Your new lord is a winemaker and a good man. He kindly accepted that only you would have to work for him for now, though your role family belongs to him. He knows you're smart, so he decides you should work as the winery manager. | |
Because he's such a wise man, he knows that you should rest well to be the best you can to accomplish your duties, so he allows you to go back every day to your home. And he even allows you to stay there a couple of days per week. When the grape crop is satisfying, he shares the most desirable bottles with you. He knows you like to write. And he is such a good man, that he buys you feather and ink. | |
The village where you and your lord live has a weird old law custom: it was called The Freeing Eagle Tradition. It says that any slave that can catch the feather of an old eagle known to appear in the re |
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
Code architecture meetings guidelines | |
Topics to be discussed should pass the following requirements: | |
1. Clear description | |
It should clearly describe what the issue is about, stating the goal of discussing that topic and if possible | |
propose a set of action points. | |
2?. A tag | |
We currently don't have'em, but we could. "App structure", "React best practices", "Types", "Tests", etc. | |
3. A concrete example of the issue being discussed and/or the solution being proposed. This could be: |