I hereby claim:
- I am mattstein on github.
- I am mattstein (https://keybase.io/mattstein) on keybase.
- I have a public key ASDwLlks6Mvqiz48RjCBpsDYvi17-xvDTKdtJSiAnS6Bzwo
To claim this, I am signing this object:
| import os | |
| import re | |
| import glob | |
| from textblob import TextBlob | |
| from collections import Counter | |
| from nltk.corpus import stopwords | |
| # recursively find all the Markdown in a directory and smush it into a big string | |
| def load_markdown_files(directory): | |
| md_files = glob.glob(os.path.join(directory, '**/*.md'), recursive=True) |
| import payload from "payload"; | |
| import dotenv from "dotenv"; | |
| import path from "path"; | |
| import frontmatter from "frontmatter"; | |
| import fs from "fs"; | |
| import unified from "unified"; | |
| import remarkParse from "remark-parse"; | |
| import remarkGfm from "remark-gfm"; | |
| import { remarkToSlate } from "remark-slate-transformer"; | |
| import slugify from "slugify"; |
| # Ploi Webserver Configuration, do not remove! | |
| include /etc/nginx/ploi/t00t.cloud/before/*; | |
| map $http_upgrade $connection_upgrade { | |
| default upgrade; | |
| '' close; | |
| } | |
| upstream backend { | |
| server 127.0.0.1:3000 fail_timeout=0; |
| <?php | |
| /** | |
| * Database Connection Tester | |
| * A quick-and-dirty standalone script for checking PHP’s connection to a | |
| * MySQL (or MariaDB) or PostgreSQL database. | |
| * | |
| * To use, enter the settings below and run the following from your terminal: | |
| * ``` | |
| * php -f db-test.php |
| <?php | |
| namespace Deployer; | |
| require 'recipe/common.php'; | |
| require 'recipe/rsync.php'; | |
| set('application', 'workingconcept/wrkcpt-craft'); | |
| set('repository', 'https://github.com/workingconcept/wrkcpt-craft'); | |
| $shared = [ |
| name: Forge Deploy | |
| on: | |
| push: | |
| branches: | |
| # - master | |
| - develop | |
| jobs: | |
| deploy: |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| CUR_VERSION="$(fathom version | cut -d' ' -f3)" | |
| NEW_VERSION="$(curl -s https://api.github.com/repos/usefathom/fathom/releases/latest | grep tag_name | cut -d'v' -f2 | cut -d'"' -f1)" | |
| echo "Current Version: $CUR_VERSION => New Version: $NEW_VERSION" | |
| if [ "$NEW_VERSION" != "$CUR_VERSION" ]; then | |
| echo "Installing version ${NEW_VERSION}..." |