Skip to content

Instantly share code, notes, and snippets.

View JohnMica's full-sized avatar

John Mica JohnMica

View GitHub Profile
@crittermike
crittermike / docker-compose.yml
Last active July 11, 2018 10:22
Simple docker-compose.yml for Grav CMS. Put this in the Grav root and run `docker-compose up`.
version: '3.1'
services:
www:
container_name: gravtest_www
image: outrigger/apache-php:php71
network_mode: "bridge"
environment:
DOCROOT: /var/www
volumes:
@tombigel
tombigel / README.md
Last active July 1, 2024 02:50 — forked from a2ikm/limit.maxfiles.plist
How to Change Open Files Limit on OS X and macOS Sierra (10.8 - 10.12)

How to Change Open Files Limit on OS X and macOS

This text is the section about OS X Yosemite (which also works for macOS Sierra) from https://docs.basho.com/riak/kv/2.1.4/using/performance/open-files-limit/#mac-os-x

The last time i visited this link it was dead (403), so I cloned it here from the latest snapshot in Archive.org's Wayback Machine https://web.archive.org/web/20170523131633/https://docs.basho.com/riak/kv/2.1.4/using/performance/open-files-limit/

Mac OS X

To check the current limits on your Mac OS X system, run:

@rayfranco
rayfranco / README.md
Last active June 1, 2021 07:49
Inline SVG with Nuxt

Inline SVG with Nuxt

I was looking for a SSR and scoped styles ready solution to implement inline SVG with Nuxt

You need svg-inline-loader and xmldom to be installed.

@hughbris
hughbris / form-excerpt.yaml
Last active June 27, 2019 11:50
Grav JQuery datepicker for date field
- name: birthdate
label: Date of Birth
type: text
classes: past lifespan dob datepicker pure-input-1-3
# default: "{{ date('-30years') }}"
size: small
placeholder: 'dd/mm/yyyy' #fallback only, JS resets this
novalidate: true
validate:
required: true
module.exports = {
root: true,
env: {
node: true,
},
extends: [
'plugin:vue/strongly-recommended',
'plugin:vue/recommended',
'plugin:vue/essential',
'@vue/airbnb',