Skip to content

Instantly share code, notes, and snippets.

View mikelittle's full-sized avatar

Mike Little mikelittle

View GitHub Profile

Keybase proof

I hereby claim:

  • I am mikelittle on github.
  • I am mikelittle (https://keybase.io/mikelittle) on keybase.
  • I have a public key whose fingerprint is 547A F6C7 6E27 F707 AD50 4525 6F74 CD9F 669F 2CE4

To claim this, I am signing this object:

server {
server_name example.com www.example.com;
return 301 https://example.com$request_uri;
listen 80;
root /var/www/example.com/htdocs;
}
server {
server_name example.com www.example.com;
listen 443 ssl spdy;
@mikelittle
mikelittle / Contract Killer 3.md
Created April 12, 2016 15:11
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

@mikelittle
mikelittle / Three Wise Monkeys.md
Last active June 26, 2022 10:22
Three Wise Monkeys (NDA)

Date: [date]

Between us [company name] and you [customer name].

Summary:

In short; neither of us will share any confidential information about each-other, by any means, with anyone else.

What’s confidential information?

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mikelittle
mikelittle / Nginx-snippet.conf
Created May 6, 2018 19:47
Proxy another WordPress site as a subdirectory
location /blog/ {
location ~ \.php$ {
rewrite ^/blog(.*) $1 break;
add_header X-url $1;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
proxy_pass https://127.0.0.1:8023;
}
@mikelittle
mikelittle / obsidian-web-clipper.js
Last active June 8, 2024 18:13 — forked from kepano/obsidian-web-clipper.js
Obsidian Web Clipper Bookmarklet to save articles and pages from the web (for Safari, Chrome, Firefox, and mobile browsers)
javascript: Promise.all([import('https://unpkg.com/[email protected]?module'), import('https://unpkg.com/@tehshrike/[email protected]'), ]).then(async ([{
default: Turndown
}, {
default: Readability
}]) => {
/* Optional vault name */
const vault = "";
/* Optional folder name such as "Clippings/" */