Skip to content

Instantly share code, notes, and snippets.

View RoySegall's full-sized avatar
⌨️
God is a coder

Roy Segall RoySegall

⌨️
God is a coder
View GitHub Profile
.
├── LICENSE
├── README.md
├── processor
│   ├── Dockerfile
│   ├── cli.log
│   ├── completions.log
│   ├── missing_files.py
│   └── src
│   ├── __init__.py
language: python
python: "3.7"
env:
- SCRIPT=travis/python-linter.sh
INSTALL=travis/python-setup.sh
- SCRIPT=travis/python-unitest.sh
INSTALL=travis/python-setup.sh
<div class="form-wrapper">
<div class="input-item">
<div class="field-name">
<span class="smaller-size">*</span>
Date of birth
</div>
<div class="date-picker-container input-field">
<input class="date-picker" ...>
</div>
<div class="error">This field is mandatory</div>
<table>
<tr>
<td><a href='...'>Link I don't want to access</a></td>
</tr>
<tr>
<td><a href='...'>Link I want to access</a></td>
</tr>
</table>
<div class='actions'>
<button>Send</button>
<button>Candel</button>
</div>
<template>
<div class="blogs-wrapper">
<div class="blog" v-for="(blog, id) in blogs" v-bind:key=id>
<div class="header">
<span class="title">{{blog['title']}}</span>
</div>
<div class="body">
<span>Published at: <b>{{blog['created_at']}}</b>, published by: <b>{{blog['author_name']}}</b></span>
<p>
<div class="blog" v-for="(blog, id) in blogs" v-bind:key=id>
<div class="header">
<span class="title">{{blog['title']}}</span>
</div>
<div class="body">
<span>Published at: <b>{{blog['created_at']}}</b>, published by: <b>{{blog['author_name']}}</b></span>
<p>
{{blog['body']}}
</p>
"""Cors Middleware."""
from masonite.request import Request
class CorsMiddleware:
"""Cors Middleware."""
def __init__(self, request: Request):
"""Inject Any Dependencies From The Service Container.
<template>
<div class="blogs-wrapper">
<div class="blog">
<div class="header">
<span class="title">Title</span>
</div>
<div class="body">
<span>Published at: <b>Date</b>, published by: <b>Author name</b></span>
<p>
<style scoped lang="scss">
.blogs-wrapper {
width: 75vh;
margin: 0 auto;
.blog {
padding: .5em;
text-align: left;
border: solid 1px #4db686;
color: #374b5c;