Skip to content

Instantly share code, notes, and snippets.

@mcouthon
mcouthon / markdown.md
Last active May 23, 2019 07:23
Basic Markdown

Headings

Create headings by adding #'s before the line.

# Heading 1
## Heading 2
### Heading 3

Heading 1

Heading 2

@mcouthon
mcouthon / Dockerfile
Created July 24, 2019 06:28
Simple Dockerfile to work with Terraform
# Use the light version of the image that contains just the latest binary
FROM hashicorp/terraform:light
# The app folder will contain all our files
WORKDIR /app
# Put all your configration files in the same folder as the Dockerfile
COPY . /app
# Initalize terraform with local settings and data
@mcouthon
mcouthon / The Tools I use.md
Last active August 22, 2019 14:13
The tools I use in Mac + Bash

The Tools I Use

Alfred [+ Powerpack]

Link

Basic functionality

Web search

  • Customize your search engine (go DDG!)

Clipboard history

@mcouthon
mcouthon / list-all-repos.py
Last active March 17, 2020 13:32 — forked from ralphbean/list-all-repos.py
Script to list all repos for a github organization
#!/usr/bin/env python
""" Print all of the clone-urls for a GitHub organization.
It requires the pygithub3 module, which you can install like this::
$ sudo yum -y install python-virtualenv
$ mkdir scratch
$ cd scratch
$ virtualenv my-virtualenv
[tool.poetry]
name = "test"
version = "0.1.0"
description = ""
authors = []
[tool.poetry.dependencies]
python = "^2.7 || ^3.6"
botocore = [
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.40000000596046448</real>

The Tools I Use

General

  • craft - writing, note taking. I switch those often, but have been using this one for a while now, and love it
  • 1password - the best password manager
  • Noizio - white noise generator

Productivity