Skip to content

Instantly share code, notes, and snippets.

console.log('andy can do this, it is easy');
@cnrstvns
cnrstvns / Procfile
Created November 16, 2020 02:19
Example Procfile for Heroku
web: gunicorn app:app
web (process type [web/worker]) : process name (gunicorn) <app name> : <python file prefix>
@cnrstvns
cnrstvns / requirements.txt
Last active November 16, 2020 02:27
Requirements file for Heroku Tutorial
Flask==1.1.2
gunicorn==20.0.4
@cnrstvns
cnrstvns / runtime.txt
Created November 16, 2020 02:30
Runtime file for Heroku Tutorial
python-3.7.3
@cnrstvns
cnrstvns / contentlayer.config.ts
Created May 1, 2023 16:48
My blog's contentlayer.config.ts
import { defineDocumentType, makeSource } from 'contentlayer/source-files';
import readingTime from 'reading-time';
import rehypePrettyCode from 'rehype-pretty-code';
import remarkGfm from 'remark-gfm';
import { visit } from 'unist-util-visit';
import { theme } from './src/constants/theme';
export const Post = defineDocumentType(() => ({
name: 'Post',
filePathPattern: `**/*.mdx`,