Skip to content

Commit a14922c

Browse files
committed
adding front-matter
1 parent a95efb4 commit a14922c

File tree

4 files changed

+217
-36
lines changed

4 files changed

+217
-36
lines changed
Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
---
2+
preview: "As a developer, you might have dreamed of a Google created specifically for techies. Just imagine, a digital platform brimming with content for coders, including Q&A and job listings. Every question about programming answered. Each inextricable bug is solved. A larger audience of qualified experts come-at-able. Sounds dreamlike, right?"
3+
title: "Secrets Of High-Performing Teams: Part II"
4+
ads:
5+
- slogan: The security-as-code solution for developers
6+
- link: https://bit.ly/3n9CgbE
7+
- logo: https://gitlab.com/hackernoon/creative/-/raw/master/newsletters/logos/thematic/2020/October/Bridgecrew_stacked.jpg
8+
images:
9+
- image1:
10+
src: https://gitlab.com/hackernoon/creative/-/raw/master/newsletters/memes/2020/november/18.11/image3.gif
11+
link: https://media.giphy.com/media/QNFhOolVeCzPQ2Mx85/giphy.gif
12+
- image2:
13+
src: https://gitlab.com/hackernoon/creative/-/raw/master/newsletters/memes/2020/november/18.11/image4.gif
14+
link: https://media.giphy.com/media/l2JeierkQlHpJsGWY/giphy.gif
15+
- image3:
16+
src: https://gitlab.com/hackernoon/creative/-/raw/master/newsletters/memes/2020/november/18.11/image6.gif
17+
link: https://media.giphy.com/media/PvvSfSDFoAL5e/giphy.gif
18+
- image4:
19+
src: https://gitlab.com/hackernoon/creative/-/raw/master/newsletters/memes/2020/november/18.11/image1.gif
20+
link: https://media.giphy.com/media/3oFzmjFxbBiPQW4qVa/giphy.gif
21+
- image5:
22+
src: https://gitlab.com/hackernoon/creative/-/raw/master/newsletters/memes/2020/november/18.11/image5.gif
23+
link: https://media.giphy.com/media/3orieTeAMaKc4yhwmk/giphy.gif
24+
- image6:
25+
src: https://gitlab.com/hackernoon/creative/-/raw/master/newsletters/memes/2020/november/18.11/image6.gif
26+
link: https://media.giphy.com/media/PvvSfSDFoAL5e/giphy.gif
27+
---
28+
29+
<!-- AAAAAAAAAAAA NOW DIE -->
30+
31+
32+
[separator]
33+
34+
# Secrets Of High-Performing Teams: Part II
35+
36+
## This is our second newsletter in the series of Secrets of Top-Performing DevOps Teams. In the first part, we’ve got to grips with the [DevOps approach](https://hackernoon.com/devops-fundamentals-you-ever-wanted-to-know-zt2m3uh6) and the way it has [amplified the IT workflow](https://hackernoon.com/tagged/workflow).
37+
38+
39+
40+
[WE NEED TO REPLACE AN IMAGE]
41+
42+
![alt_text](https://gitlab.com/hackernoon/creative/-/raw/master/newsletters/memes/2020/november/18.11/image3.gif "image_tooltip")
43+
44+
45+
<!-- Link: [https://media.giphy.com/media/QNFhOolVeCzPQ2Mx85/giphy.gif](https://media.giphy.com/media/QNFhOolVeCzPQ2Mx85/giphy.gif) -->
46+
47+
Here’s a quick reminder and a short introduction for the unaware:
48+
49+
Tech role has germinated from ["help fix my laptop"](https://hackernoon.com/search?query=horror) to "help me become the best." While [many dev teams are trapped firefighting](https://hackernoon.com/tagged/team-productivity), leading teams [align with the business](https://hackernoon.com/tagged/business), [adopt agile principles](https://hackernoon.com/tagged/agile) and automation, and lead the [digital transformation](https://hackernoon.com/tagged/transformation).
50+
51+
What’s in it for [DevOps](https://hackernoon.com/tagged/devops), you’d ask? It’s simple: a robust DevOps team facilitates [faster development](https://hackernoon.com/founders-guide-how-to-outsource-software-development-in-2020-y1473yr7) of new products and [easier maintenance](https://hackernoon.com/3-reasons-why-teams-fail-avx3ta7) of existing deployments.
52+
53+
Read between the lines - agile-based DevOps approach yields an increase in [development productivity](https://hackernoon.com/4-ways-startups-can-use-tech-and-automation-to-be-more-efficient-j3423w51). And with no silver bullet methods for improving IT [efficiency](https://hackernoon.com/if-formula-1-defined-efficiency-675z3yqd), perfecting DevOps might be your best shot.
54+
55+
Without further ado, let’s dive into our top picks for [DevOps team success](https://hackernoon.com/devops-as-a-service-or-do-you-really-need-a-devops-team-cc4q32wj).
56+
57+
58+
## Hacking Your Way Through to a High-Performing DevOps Team
59+
60+
61+
62+
1. [High-performing](https://hackernoon.com/3-easy-ways-to-improve-performance-of-your-python-code-dw183uzo) teams put business first
63+
64+
You’d say, a [revenue-first mindset](https://hackernoon.com/five-undervalued-data-points-for-emerging-businesses-5c2w3eun) won’t get you the probity medal. However, it’s not our point. In fact, profitability should be your top of mind not for the sake of money only.
65+
66+
67+
Successful DevOps teams are more likely to tie their tech projects to revenue, mainly because it’s the 1 [metric for their performance](https://hackernoon.com/the-secret-of-growth-how-to-achieve-dollar1m-arr-in-6-months-vi1832mp). As a result, teams that are business aligned tend to prioritize projects with business management and use business and tech scorecards to measure success. Therefore, just a simple shift from an [activity-driven mindset](https://hackernoon.com/data-that-you-need-is-worth-gold-not-data-that-you-already-have-5c60f9345c6b) to a [revenue-first approach](https://hackernoon.com/4-business-lessons-from-the-failure-of-wework-the-47-billion-dollar-tech-company-3ahi3201) can guarantee a positive change in your team productivity and overall result.
68+
69+
70+
(We’re not implying that you should ditch the [customer-centric action](https://hackernoon.com/24-customer-retention-strategies-eq1y3ym0), don’t compare apples and oranges)
71+
72+
[WE NEED TO REPLACE AN IMAGE]
73+
![alt_text](https://gitlab.com/hackernoon/creative/-/raw/master/newsletters/memes/2020/november/18.11/image4.gif "image_tooltip")
74+
75+
76+
77+
<!-- Link: [https://media.giphy.com/media/l2JeierkQlHpJsGWY/giphy.gif](https://media.giphy.com/media/l2JeierkQlHpJsGWY/giphy.gif) -->
78+
79+
2. They assign end-to-end responsibility
80+
81+
Separating [development](https://hackernoon.com/ownership-and-responsibility-in-software-development-teams-6wr3n17) and [operations](https://hackernoon.com/0-to-90-bn-in-a-decade-uber-takeaways-for-startups-and-roadblocks-ahead-for-uber-b17c3bee2a3f) can present potential issues and pitfalls like [performance problems](https://hackernoon.com/the-surprise-outcome-of-measuring-our-pull-requests-process-4v683tbw) and inconsistent environments. In DevOps, both groups cooperate as a team that's [completely responsible](https://hackernoon.com/take-responsibility-dont-blame-it-on-the-users-hoz3n2u) for a product from beginning to end.
82+
83+
84+
Unlike the traditional approach or a [low-performing team](https://hackernoon.com/good-ux-manager-bad-ux-manager-33df51f7367c), where each team member is accountable for their own role, the perfect DevOps team [obliterates those silos](https://hackernoon.com/how-to-prioritize-product-requirements-77d139b4a343) and makes an excellent result the focus of the entire crew.
85+
86+
87+
A [developer is no longer just a developer](https://hackernoon.com/highest-paid-software-developer-c66b9f4cc53e) in charge of X lines of code. A tester is no longer accountable for the expected functionality. A high-performing team wears multiple hats and has got it [ALL covered](https://hackernoon.com/dont-optimize-things-that-dont-work-yet-957j30qv).
88+
89+
90+
[WE NEED TO REPLACE AN IMAGE]
91+
![https://gitlab.com/hackernoon/creative/-/raw/master/newsletters/memes/2020/november/18.11/image6.gif][https://media.giphy.com/media/PvvSfSDFoAL5e/giphy.gif][alt text]
92+
93+
94+
** 3. Automation technology is not an option for a [dazzling performance](https://hackernoon.com/my-top-three-priorities-as-a-software-development-manager-cq2x32c1)**
95+
96+
Let’s be honest: the bright minds like working with new and shiny technology. And you need those [bright minds](https://hackernoon.com/software-specifications-define-plan-and-execute-more-effective-projects-p0803tzz) in your team to make it high-performing and guarantee superb results. It's a bit hard to employ and keep these big stars in a company that trusts in a [creaky, legacy toolchain](https://hackernoon.com/devops-principles-culture-vs-tooling-vvac367z) to build a product, right?
97+
98+
99+
Investing in the [DevOps tools](https://hackernoon.com/7-best-devops-security-practices-devsecops-and-its-merits-mr2p3unk) will not only make the team more effective, but it will also make them want to stay. From a practical standpoint, [automation tools](https://hackernoon.com/automating-security-in-devops-top-15-tools-69253w9e) can increase [tech efficiency](https://hackernoon.com/why-devops-is-important-during-the-covid-19-pandemic-6u1i3tul), eliminate errors, and help [deploy apps faster](https://hackernoon.com/the-difference-between-ci-and-cd-in-devops-bc2z3uae). That refers to simplifying the [process of configuring](https://hackernoon.com/how-to-make-a-devops-strategy-pk153uyb), monitoring, and maintaining the [network infrastructure](https://hackernoon.com/ever-wondered-why-we-use-containers-in-devops-l5113wif).
100+
101+
102+
[WE NEED TO REPLACE AN IMAGE]
103+
![https://gitlab.com/hackernoon/creative/-/raw/master/newsletters/memes/2020/november/18.11/image1.gif][https://media.giphy.com/media/3oFzmjFxbBiPQW4qVa/giphy.gif][alt text]
104+
105+
-------
106+
107+
## Pull it all together
108+
109+
There's no panacea for [successful DevOps team building](https://hackernoon.com/measuring-devops-metrics-a-how-to-guide-ot113ztl), but the process itself is definitely easier than [quantum physics](https://www.hackernoon.com/how-quantum-dots-technology-driving-advancements-in-lcd-and-oled-display-quality-2e163uxg). The majority of our tips and tricks dispensed above are of common-sense variety. In practice, our [secrets](https://hackernoon.com/are-you-telling-the-story-of-your-software-mc133w92) call for good old-fashioned [hard work](https://hackernoon.com/how-to-approach-strategic-planning-when-the-sky-is-falling-oq5k3yer) and a sprinkle of knowledge.
110+
111+
To deliver top-notch results, employees must be well-settled, teams well-structured, and objectives outlined based on [business priorities](https://hackernoon.com/ceos-survey-on-digital-transformation-in-2017-by-gartner-c2d6e842f86c). And it’s not enough to recruit the right people, retention and training are equally important. Overall, it takes a solid mix of all these components to build a team that truly thrives.
112+
113+
114+
115+
_Join us to welcome today newsletter’s sponsor - [BridgeCrew](https://bit.ly/3n9CgbE). BridgeCrew helps find, fix, and prevent cloud misconfigurations straight from your CI/CD pipeline. Their platform leverages automation and delivers security-as-code to streamline your DevSecOps processes._
116+
117+
118+
* Hacker Noon Stickers
119+
* A standard .TECH domain for 3 years
120+
* A standard .TECH domain for 2 years
121+
* .TECH domain - Sub item 1
122+
* .TECH domain - Sub item 2
123+
* .TECH domain -Sub item 3
124+
* A standard .TECH domain for 5 years
125+
126+
*HAJKAKKSKKSKAKSK*
127+
128+
[Got a tech story to share with our readers?](http://auth.hackernoon.com/) Everything you've ever wanted to know about how to get published on Hacker Noon - [get it here](https://hackernoon.com/how-to-get-published-on-hacker-noon-a-step-by-step-guide-zcp36rz).
129+
130+
[WE NEED TO REPLACE AN IMAGE]
131+
![https://gitlab.com/hackernoon/creative/-/raw/master/newsletters/memes/2020/november/18.11/image5.gif][https://media.giphy.com/media/3orieTeAMaKc4yhwmk/giphy.gif][alt text]
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
title: Korean Barbecue Beef | Pork Schnitzel | Bahn Mi Meatball Skewers
3+
date: April 22nd, 2021
4+
recipes:
5+
- monday:
6+
title: Chipotle Cream Skillet Chicken
7+
subtitle: over Rice and Snap Peas
8+
image: https://raw.githubusercontent.com/LLazyEmail/nomoretogo_email_template/main/data/images/recipe1.jpeg
9+
link: https://www.nomoretogo.com/weekly-menu/
10+
- thuesday:
11+
title: Pork Schnitzel
12+
subtitle: with German Spaetzle and Green Beans
13+
image: https://raw.githubusercontent.com/LLazyEmail/nomoretogo_email_template/main/data/images/recipe2.jpeg
14+
link: https://www.nomoretogo.com/weekly-menu/
15+
- wednesday:
16+
title: Bahn Mi Meatball Skewers
17+
subtitle:
18+
image: https://raw.githubusercontent.com/LLazyEmail/nomoretogo_email_template/main/data/images/recipe3.jpeg
19+
link: https://www.nomoretogo.com/weekly-menu/
20+
- thirsday:
21+
title: Korean Barbecue Beef with Sesame Rice Noodles
22+
subtitle: and Spicy Pickled Cucumbers and Carrots
23+
image: https://raw.githubusercontent.com/LLazyEmail/nomoretogo_email_template/main/data/images/recipe4.jpeg
24+
link: https://www.nomoretogo.com/weekly-menu/
25+
- friday:
26+
title: Grilled Salmon with Chipotle Cream Sauce
27+
subtitle: over Potato Poblano Hash and Broccolini
28+
image: https://raw.githubusercontent.com/LLazyEmail/nomoretogo_email_template/main/data/images/recipe5.jpeg
29+
link: https://www.nomoretogo.com/weekly-menu/
30+
- saturday:
31+
title: Saucy Grilled Shrimp
32+
subtitle: and a Corn and Radish Salad with Avocado Dressing
33+
image: https://raw.githubusercontent.com/LLazyEmail/nomoretogo_email_template/main/data/images/recipe6.jpeg
34+
link: https://www.nomoretogo.com/weekly-menu/
35+
---
36+
37+
38+
# Korean Barbecue Beef | Pork Schnitzel | Bahn Mi Meatball Skewers
39+
40+
41+
## Weekly Menu
42+
### April 22nd, 2021
43+
44+
We have a very diverse line-up of meals for this week. Kicking off the week we have a delicious flaky salmon with creamy chipotle sauce. Followed by Korean Barbecue Beef, a quick and outstanding dinner! And oh my- the Saucy Shrimp Salad is amazing! Don’t miss the Pork Schnitzel with German Spaetzle. Overall, my family was blown away by this week and I hope yours is too. Enjoy!!
45+
46+
Happy Cooking,
47+
Stacey, Sloane, and the No More To-Go Team
48+
49+
50+
[weekly-menu]
51+
52+
53+
### Ingredients
54+
55+
Saffron: Gives traditional Tandoori its famous yellow coloring. This week we are using it in the marinade for the Yogurt Spiced Chicken. It can be pretty expensive, so turmeric is a good alternative, providing the same color and very comparable taste.
56+
57+
### Weekend Prep
58+
59+
Free up your evening and get a little chopping and prep work done this weekend.
60+
61+
Slice and Dice: Cut the vegetables and store in zippered bags or divided containers.
62+
63+
Make Ahead and Refrigerate: Make the sauce; Cook the noodles; Make the dressing; Make the spaetzle; Cook the rice.

src/templates/HackernoonTemplate/html/components/configurationMap.js

Lines changed: 18 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@ import body from 'atherdon-newsletter-js-layouts-body';
44

55
import {
66
_strong,
7-
_link,
87
_blockquote,
9-
_meme,
10-
_header,
118
//--------
129
_italic,
1310
// _italicAsterix,
@@ -22,19 +19,23 @@ import {
2219
_olList,
2320
getParsedSubList,
2421
//--------------
25-
_image,
2622
_paragraphWrapper,
27-
_sponsorship,
2823
_br,
24+
// those callbacks might get replaced with front-matter integration
25+
_image,
26+
_link,
27+
_meme,
28+
_header,
29+
_sponsorship,
2930
_separator,
30-
//
3131
_previewText,
3232
} from '../../../../callbacks/html/index';
3333

3434
import {
3535
REGEXP_HEADER,
3636
REGEXP_IMAGE,
3737
REGEXP_LINK,
38+
REGEXP_PARAGRAPH,
3839
REGEXP_STRONG,
3940
REGEXP_DEL,
4041
REGEXP_Q,
@@ -48,7 +49,6 @@ import {
4849
REGEXP_SPONSORSHIP,
4950
REGEXP_MEM,
5051
REGEXP_PREVIEW_TEXT,
51-
REGEXP_PARAGRAPH,
5252
REGEXP_SEPARATOR,
5353
} from '../../../../constants/index';
5454

@@ -79,27 +79,21 @@ const {
7979
strongComponent,
8080
} = typography;
8181

82+
// custom components that can be simplified with front-matter
8283
const { sponsorComponent, previewTextComponent } = body;
8384

8485
const map = {
8586
strong: objectBuilder(REGEXP_STRONG, _strong, strongComponent),
8687
link: objectBuilder(REGEXP_LINK, _link, linkComponent),
8788
del: objectBuilder(REGEXP_DEL, _del, false),
8889
image: objectBuilder(REGEXP_IMAGE, _image, imageComponent),
89-
previewText: objectBuilder(
90-
REGEXP_PREVIEW_TEXT,
91-
_previewText,
92-
previewTextComponent,
93-
),
90+
9491
italic: objectBuilder(REGEXP_UNDERSCORE_ITALIC, _italic, italicComponent),
9592
italic_asterix: objectBuilder(
9693
REGEXP_ASTERIX_ITALIC,
9794
_italic,
9895
italicComponent,
9996
),
100-
header: objectBuilder(REGEXP_HEADER, _header, headingComponent),
101-
subtitle: objectBuilder(REGEXP_HEADER, _header, subtitleComponent),
102-
title: objectBuilder(REGEXP_HEADER, _header, titleComponent),
10397
q: objectBuilder(REGEXP_Q, _q, false),
10498
code: objectBuilder(REGEXP_CODE, _code, false),
10599
listItem: objectBuilder(
@@ -120,6 +114,15 @@ const map = {
120114
paragraphComponent,
121115
),
122116
br: objectBuilder(REGEXP_BR, _br),
117+
// custom and complex objects, front-matter replacable
118+
previewText: objectBuilder(
119+
REGEXP_PREVIEW_TEXT,
120+
_previewText,
121+
previewTextComponent,
122+
),
123+
header: objectBuilder(REGEXP_HEADER, _header, headingComponent),
124+
subtitle: objectBuilder(REGEXP_HEADER, _header, subtitleComponent),
125+
title: objectBuilder(REGEXP_HEADER, _header, titleComponent),
123126
sponsorship: objectBuilder(
124127
REGEXP_SPONSORSHIP,
125128
_sponsorship,
@@ -132,24 +135,4 @@ const map = {
132135
// OLD version
133136
// const italic:objectBuilder(REGEXP_EM, _italic, italicLiteral);
134137

135-
// REGEXP_UNDERSCORE_ITALIC,
136-
// REGEXP_ASTERIX_ITALIC,
137-
// qLiteral,
138-
// empty as emptyLiteral,
139-
140-
// 'REGEXP_EMPTY_UL': {
141-
// constant: REGEXP_EMPTY_UL,
142-
// replacer: emptyUl
143-
// },
144-
145-
// 'REGEXP_EMPTY_OL': {
146-
// constant: REGEXP_EMPTY_OL,
147-
// replacer: emptyOl
148-
// },
149-
150-
// 'REGEXP_EMPTY_BLOCKQUOTE': {
151-
// constant: REGEXP_EMPTY_BLOCKQUOTE,
152-
// replacer: emptyBlockQuote
153-
// },
154-
155138
export default map;

start.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ import {
33
isFolderExists,
44
readSourceFile,
55
generateTemplateName,
6+
// readFrontMatter
67
} from 'markup-generator';
78
import {
89
generateHtmlFullTemplateHackernoon,
910
generateReactFullTemplateHackernoon,
1011
generateHtmlFullTemplateRecipes,
1112
} from './src';
12-
import { printMessage } from './src/helper';
13+
import { printMessage } from './src/domain/helper-methods/cli';
1314

1415
import { deliver } from './src/domain/deliver/deliver';
1516
import { MESSAGE_HTML_FULL_TEMPLATE2 } from './src/domain/deliver/deliver.constants';
@@ -23,6 +24,9 @@ const MESSAGE_REACT_FULL_TEMPLATE =
2324
// @TODO add path package, in order to make it work PERFECTLY
2425
const FULL_SOURCE = 'source/source.md';
2526
const RECIPES_SOURCE = 'source/recipes/source-nmtg.md';
27+
// updated version
28+
const FRONT_FULL_SOURCE = 'source/front-matter/03-hackernoon-source.md';
29+
const FRONT_RECIPES_SOURCE = 'sourcefront-matter/05-source-weekly-menu.md';
2630

2731
const markdown = readSourceFile(FULL_SOURCE);
2832

0 commit comments

Comments
 (0)