Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
set -euo pipefail
if [ $# -lt 1 ];
then
echo Usage: $0 servicename
exit 1
fi
@ldoguin
ldoguin / readme.md
Last active July 22, 2020 12:42
Deploy request bin
git clone https://github.com/lornajane/requestbin

cd requestbin

clever create --type python requestbin

clever addon create redis-addon --plan s redis-requestbin

clever service link-addon redis-requestbin
@lornajane
lornajane / mac.md
Last active December 19, 2024 19:08
Keyboard Only OS X

Keyboard-only Mac Cheatsheet

Hi, I'm Lorna and I don't use a mouse. I have had RSI issues since a bad workstation setup at work in 2006. I've tried a number of extra hardware modifications but what works best for me is to use the keyboard and only the keyboard, so I'm in a good position and never reaching for anything else (except my coffee cup!). I rather unwisely took a job which required me to use a mac (I've been a linux user until now and also had the ability to choose my tools carefully) so here is my cheatsheet of the apps, tricks and keyboard shortcuts I'm using, mostly for my own reference. Since keyboard-only use is also great for productivity, you may also find some of these ideas useful, in which case at least something good has come of this :)

Apps List

There's more detail on a few of these apps but here is a quick overview of the tools I've installed and found helpful

Tool Link Comments
@alfredodeza
alfredodeza / how-to.txt
Last active December 20, 2024 19:57
pdf output from sphinx with rst2pdf
1. Install rst2pdf
- use your package manager (or)
- pip install rst2pdf (or)
- easy_install rst2pdf
2. Add rst2pdf to the list of extensions in conf.py
extensions = ['rst2pdf.pdfbuilder']
@PurpleBooth
PurpleBooth / README-Template.md
Last active December 20, 2024 15:27
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

@dupuy
dupuy / README.rst
Last active December 21, 2024 00:57
Common markup for Markdown and reStructuredText

Markdown and reStructuredText

GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.