Skip to content

Instantly share code, notes, and snippets.

View stephengfriend's full-sized avatar
🏋️‍♀️
Grindin'

Stephen G. Friend stephengfriend

🏋️‍♀️
Grindin'
View GitHub Profile
@stefanfoulis
stefanfoulis / docker_for_mac_disk_default_size.md
Last active June 29, 2023 12:02
How to resize Docker for Mac Disk image and set the default size for new images

Set the default size for new Docker for Mac disk images

UPDATE: The instructions here are no longer necessary! Resizing the disk image is now possible right from the UI since Docker for Mac Version 17.12.0-ce-mac49 (21995).

If you are getting the error: No space left on device

Configuring the qcow2 size cap is possible in the current versions:

# my disk is currently 64GiB
@PurpleBooth
PurpleBooth / README-Template.md
Last active December 31, 2025 04:34
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@rstacruz
rstacruz / index.md
Last active December 12, 2025 04:00
Rails models cheatsheet

Rails Models

Generating models

$ rails g model User

Associations

belongs_to

has_one