Skip to content

Instantly share code, notes, and snippets.

View lawdoc71's full-sized avatar
🎯
Focusing

Michael lawdoc71

🎯
Focusing
View GitHub Profile

Font Face

A mixin for writing @font-face rules in SASS.

Usage

Create a font face rule. Embedded OpenType, WOFF2, WOFF, TrueType, and SVG files are automatically sourced.

@include font-face(Samplino, fonts/Samplino);
@lawdoc71
lawdoc71 / meta-tags.md
Created May 4, 2018 19:22 — forked from kevinSuttle/meta-tags.md
List of Usable HTML Meta and Link Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>

Awesome-Selfhosted

Selfhosting is the process of locally hosting and managing applications instead of renting from SaaS providers. This is a list of network services and web applications which can be hosted locally.

Table of Contents

@lawdoc71
lawdoc71 / awesm.md
Created May 5, 2018 21:37 — forked from matula/awesm.md
Awesome PHP stuff in one Gist
@lawdoc71
lawdoc71 / laravel-spark-metrics-dummy-data.php
Created May 8, 2018 15:43 — forked from nick-f/laravel-spark-metrics-dummy-data.php
Generate random data for Laravel Spark metrics to show off the graphs
Route::get('/metricsdummy', function() {
for ($i = 0; $i < 100; $i++) {
DB::table('performance_indicators')->insert([
'monthly_recurring_revenue' => mt_rand(1000, 2000),
'yearly_recurring_revenue' => mt_rand(50000, 60000),
'daily_volume' => mt_rand(100, 300),
'new_users' => mt_rand(50, 100),
'created_at' => Carbon\Carbon::now()->subDays($i),
'updated_at' => Carbon\Carbon::now()->subDays($i),
]);
@lawdoc71
lawdoc71 / README.md
Created May 18, 2018 21:09 — forked from hofmannsven/README.md
My simply MySQL Command Line Cheatsheet
@lawdoc71
lawdoc71 / number-styler-vcdocs.html
Created June 18, 2018 00:23
number-styler-vcdocs.html
<!-- Number -->
<div class="number-box">
<div class="number-icon">
<i class="[Icon class]"></i>
</div>
<div class="number-wrapper">
<span class="number-rotator js-animate-number" data-number="[Your number goes here]">0</span>
[add units here - it's optional]
</div>
<div class="number-description">
<!-- Amazon S3 -->
<link rel="dns-prefetch" href="//s3.amazonaws.com">
<!-- Google CDN -->
<link rel="dns-prefetch" href="//ajax.googleapis.com">
<!-- Microsoft CDN -->
<link rel="dns-prefetch" href="//ajax.microsoft.com">
<link rel="dns-prefetch" href="//ajax.aspnetcdn.com">
<?php
/*
|--------------------------------------------------------------------------
| Front End Routes
|--------------------------------------------------------------------------
*/
Route::get('/', [
'as' => 'homepage',
@lawdoc71
lawdoc71 / README-Template.md
Created September 11, 2018 07:58 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites