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
<template> | |
<div class="hello"> | |
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> | |
<h1>{{ msg }}</h1> | |
<ul> | |
<li v-for="mem in members"> | |
<p class="w3-card-2 w3-center"> | |
<!-- profile image --> | |
<img class="round-profile-image" :src="mem.image"/><BR /><BR /> |
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
image: samueldebruyn/debian-git | |
pipelines: | |
branches: | |
master: | |
- step: | |
caches: | |
- node | |
script: | |
- apt-get update | |
- apt-get -qq install curl |
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
/** | |
* Copyright (c) 2020 | |
* A redis cache middleware written for express | |
* If the cache middleware is hooked to the express route | |
* - Checks if request response was cached | |
* - Redis key is SHA256 of req.originalUrl | |
* - if cache hit, sends cached data | |
* - if cache miss, calls next() | |
* - The second middleware listens for req.send event and caches res.body for 200 status | |
* Usage: |
OlderNewer