Skip to content

Instantly share code, notes, and snippets.

View RickCogley's full-sized avatar
👻
Migrated eSolia to MS365, implementing ISO 27001 ISMS in Sharepoint.

Rick Cogley RickCogley

👻
Migrated eSolia to MS365, implementing ISO 27001 ISMS in Sharepoint.
View GitHub Profile
# FORGE CONFIG (DOT NOT REMOVE!)
include forge-conf/mydomain.com/before/*;
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name mydomain.com;
root /home/forge/mydomain.com/;
# FORGE SSL (DO NOT REMOVE!)
@RickCogley
RickCogley / 1-setup.md
Created April 28, 2020 01:20 — forked from troyfontaine/1-setup.md
Signing your Git Commits using GPG on MacOS Sierra/High Sierra

Methods of Signing with GPG

There are now two ways to approach this:

  1. Using gpg and generating keys
  2. Using Kryptonite by krypt.co

This Gist explains how to do this using gpg in a step-by-step fashion. Kryptonite is actually wickedly easy to use-but you will still need to follow the instructions

For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing with either GPG or Krypt.co.

@RickCogley
RickCogley / meta-tags.md
Created April 13, 2017 00:07 — forked from whitingx/meta-tags.md
Complete List of HTML Meta 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'>
@RickCogley
RickCogley / meta-tags.md
Created April 12, 2017 23:47 — 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'>
@RickCogley
RickCogley / create_labels.sh
Created February 1, 2017 09:58 — forked from omegahm/create_labels.sh
Create Gtihub labels from Bash
#!/usr/bin/env bash
# Colours picked from https://robinpowered.com/blog/best-practice-system-for-organizing-and-tagging-github-issues/
###
# Label definitions
###
declare -A LABELS
# Platform
@RickCogley
RickCogley / Git push deployment in 7 easy steps.md
Created January 29, 2017 22:15 — forked from thomasfr/Git push deployment in 7 easy steps.md
7 easy steps to automated git push deployments. With small and configurable bash only post-receive hook
@RickCogley
RickCogley / 00-about-search-api-examples.md
Created January 29, 2017 07:15 — forked from jasonrudolph/00-about-search-api-examples.md
5 entertaining things you can find with the GitHub Search API
@RickCogley
RickCogley / README.rst
Created June 26, 2016 11:13 — forked from dupuy/README.rst
Common markup for Markdown and reStructuredText

Markdown and reStructuredText

GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.

@RickCogley
RickCogley / vimrc
Created April 25, 2016 06:12 — forked from romainl/deprecation.md
Idiomatic vimrc
" Keeping your lovely 'vimrc' INSIDE of your 'vim' directory is a good idea,
" if only because it makes it easier to move your config around.
" If you are using 7.4 exclusively, the following will be enough:
"
" on Unix-like systems ~/.vim/vimrc
" on Windows %userprofile%\vimfiles\vimrc
" If you use both 7.4 and an older version, or only an older version,
" the simplest, future-proof, solution is to put this line and only
@RickCogley
RickCogley / on-exit_git.py
Last active August 10, 2021 15:01 — forked from wbsch/on-exit_git.py
Proof of concept for a Taskwarrior on-exit hook that manages a git repository in ~/.task
#!/usr/bin/env python
#
# PoC: Manage a git repository in ~/.task that gets updated on changes.
# Only pending.data and completed.data are included by default.
# You can use "git add" to add whatever files you want to track in your
# task folder.
#
# Inspired by https://gist.github.com/Unode/9366218
#
# Works with any Taskwarrior version that supports hooks.