Skip to content

Instantly share code, notes, and snippets.

⌨️
God is a coder

Roy Segall RoySegall

⌨️
God is a coder
Block or report user

Report or block RoySegall

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View bad-form.html
<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>
View xpath2.html
<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>
View xpath2.html
<div class='actions'>
<button>Send</button>
<button>Candel</button>
</div>
View Blogs-final.vue
<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>
View blog-template-2.vue
<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>
View CorsMiddleware.py
"""Cors Middleware."""
from masonite.request import Request
class CorsMiddleware:
"""Cors Middleware."""
def __init__(self, request: Request):
"""Inject Any Dependencies From The Service Container.
View Blog-template.html
<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>
View Blog-scss.html
<style scoped lang="scss">
.blogs-wrapper {
width: 75vh;
margin: 0 auto;
.blog {
padding: .5em;
text-align: left;
border: solid 1px #4db686;
color: #374b5c;
View Home.vue
<template>
<div class="home">
<h1>Masonite's blog</h1>
<Blogs />
</div>
</template>
<script lang="ts">
import { Component, Vue } from "vue-property-decorator";
import Blogs from "@/components/Blogs.vue"; // @ is an alias to /src
View Blogs.vue
<template>
<div class="hello">
TBD
</div>
</template>
<script lang="ts">
import { Component, Prop, Vue } from "vue-property-decorator";
@Component
You can’t perform that action at this time.