Skip to content

Instantly share code, notes, and snippets.

@TJohnson93
TJohnson93 / mkdocs-custom-admonitions.css
Last active March 6, 2024 01:30
MKDocs - Custom Admonitions
/* ******************************************************** */
/* Customised Admonition - Decision */
/* ******************************************************** */
:root {
--md-admonition-icon--decision: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m23 12-2.44-2.78.34-3.68-3.61-.82-1.89-3.18L12 3 8.6 1.54 6.71 4.72l-3.61.81.34 3.68L1 12l2.44 2.78-.34 3.69 3.61.82 1.89 3.18L12 21l3.4 1.46 1.89-3.18 3.61-.82-.34-3.68L23 12m-13 5-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8Z"/></svg>');
}
.md-typeset .admonition.decision,
.md-typeset details.decision {
border-color: rgb(36,167,73);
}
@TJohnson93
TJohnson93 / mkdocs-header-overrides.css
Created October 13, 2023 00:27
MkDocs - Header Overrides
/* ******************************************************** */
/* Header Overides */
/* ******************************************************** */
h2 { /* Add Line under Header like GitHub */
margin-bottom: 0px;
border-bottom: 1px solid var(--md-default-fg-color--lightest);
}
h3 { /* Add Line under Header like GitHub */
margin-bottom: 0px;
@TJohnson93
TJohnson93 / mkdocs-status-pills.css
Created October 13, 2023 00:25
MkDocs - Status Pills
/* ******************************************************** */
/* Status Pills */
/* ******************************************************** */
.status-pill {
background-color: rgb(164, 164, 164); /* Grey */
border: none;
color: white;
padding: 2px 7px;
text-align: center;
text-decoration: none;
@TJohnson93
TJohnson93 / mkdocs-table-fix.css
Created October 13, 2023 00:24
MkDocs - Fix 100% Table Width
/* ******************************************************** */
/* Table 100% Width fix */
/* ******************************************************** */
.md-typeset__table {
min-width: 100%;
}
.md-typeset table:not([class]) {
display: table;
}
<table cellpadding="0" cellspacing="0" border="0" style="background: none; border-width: 0px; border: 0px; margin: 0; padding: 0;">
<tr><td valign="top" style="padding-top: 0; padding-bottom: 0; padding-left: 0; padding-right: 7px; border-top: 0; border-bottom: 0: border-left: 0; border-right: solid 3px #F7751F"><img id="preview-image-url" src="https://drive.google.com/uc?id=0B7guKhJp4UrNMXVXcmhsaFdPZGM"></td>
<td style="padding-top: 0; padding-bottom: 0; padding-left: 12px; padding-right: 0;">
<table cellpadding="0" cellspacing="0" border="0" style="background: none; border-width: 0px; border: 0px; margin: 0; padding: 0;">
<tr><td colspan="2" style="padding-bottom: 5px; color: #F7751F; font-size: 18px; font-family: Arial, Helvetica, sans-serif;">Todd Johnson</td></tr>
<tr><td colspan="2" style="color: #333333; font-size: 14px; font-family: Arial, Helvetica, sans-serif;"><i>I.T Consultant</i></td></tr>
<tr><td colspan="2" style="color: #333333; font-size: 14px; font-family: Arial, Helvetica, sans-serif;"><str
@TJohnson93
TJohnson93 / notes.md
Created January 10, 2017 03:33 — forked from SteveBarnett/notes.md
Firing a client. Notes from my contract and two great books.
@TJohnson93
TJohnson93 / gist:fd229636dd46d909b5b6c1eae6356346
Created January 10, 2017 03:27 — forked from elefontpress/gist:6159651
This is the contract Bearded uses for client work on a time and materials basis. It's worked for us, but I am not a lawyer, so please run it by yours before you use it! Regardless, do whatever you like with it. Use it, share it, change it ... go nuts. Our original contract from 2008 was for fixed-price projects and was based on Andy Clark'e Cont…

Bearded's Hourly Contract

Date: [[Date of Document]] Between [Our Company] and [Your Company]

Summary

We’re not big on formality, but sometimes it’s best to have a few simple things written down so that we’re all on the same page. In this contract you won’t find complicated legal terms or large passages of unreadable text. We have no desire to trick you into signing something that you might later regret. We do want what’s best for the safety of both parties, now and in the future.

@TJohnson93
TJohnson93 / Digital Project - Development Contract - Agency (or Company) to Freelancer.md Example contract for use by Creative, Digital and Marketing Agencies (or any company for that matter) to use when contracting a Freelance Web Developer on digital projects.

I've shared this contact for use by Creative, Digital and Marketing Agencies (or any company for that matter) to use when contracting a Freelance Web Developer on digital projects. Feel free to fork, amend and use for your own projects however please be nice and credit where credit is due and take a note of the disclaimer on this document.

My aim is to create a realistic, agreeable contract with as little unreadable jargon as possible. Hopefully this example contract achieves that and is useful to you, feel free to comment so I can amend.

PS: feel free to remove this section (of course) when using in your final docs.


 

@TJohnson93
TJohnson93 / Contract Killer 3.md
Created January 10, 2017 02:31
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post

@TJohnson93
TJohnson93 / Hosting contract killer
Created January 10, 2017 02:31 — forked from MikeRawlins/Hosting contract killer
This is an additional paragraph for the excellent Contract Killer https://gist.github.com/malarkey/4031110
Hosting
We provide hosting for our own built websites on our preferred hosting provider <hosting provider name>.
Based on their SLA we endeavor to have 99.9% uptime on our servers measured annually.
There may of course be times when the server will not be available, this can be scheduled or unscheduled.
Scheduled downtime is when we know it is going to happen and tell you about it in advance. Scheduled downtime will wherever possible, almost certainly be outside of normal office hours. We’ll do our stuff in the evening or at weekend to minimize impact on your business.
There may be very rare occasions when we need to restart the server during normal office hours and it is not possible to inform you before hand. We don’t make these decisions lightly and if this does happen we apologise.