Skip to content

Instantly share code, notes, and snippets.

View andreaselia's full-sized avatar

Andreas Elia andreaselia

View GitHub Profile
I. Thou shalt not jack another team’s public Slack channels for off-topic discussions.1
II. Thou shalt not introduce thyself with “hi” at the start of every direct message.
III. Thou shalt not use sentence case unless thou art addressing a superior at least two tiers above thy level.
IV. Thou shalt not use @here or @channel unless thou has something truly pressing to say.
V. After five messages back and forth, thou shalt move a public one-on-one conversation to a private direct message.
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
class ScrapeFunko extends Command
{
/**
* The name and signature of the console command.
@andreaselia
andreaselia / gist:aa2d44e3dde3b726d3affc4dec7d8b47
Created January 14, 2021 14:05
vue / nuxt reading time for blog posts/articles
<template>
<div>{{ readingTime }} min read</div>
</template>
<script>
export default {
props: ['content'],
computed: {
readingTime () {
let minutes = 0
{
"breeze": {
"name": "Breeze",
"background": {
"from": "rgba(207,47,152,1)",
"to": "rgba(106,61,236,1)"
},
"syntax": {
"light": {
"background": "rgba 0,0,100,0.75",