Shortcut | Action |
---|---|
CTRL+@ | set-mark-command |
CTRL+A | beginning-of-line |
CTRL+B | backward-char |
CTRL+D | delete-char-or-list |
CTRL+E | end-of-line |
CTRL+F | forward-char |
CTRL+G | send-break |
CTRL+H | backward-delete-char |
* OpenHatch - https://openhatch.org/search/?q=&language=Python | |
* PyLadies - https://github.com/pyladies | |
* New Coder - https://github.com/econchick/new-coder | |
* Django Girls - https://github.com/DjangoGirls | |
* Matplotlib - https://github.com/matplotlib/matplotlib | |
* Hylang - http://docs.hylang.org/en/latest/, https://github.com/hylang/hy | |
* Open Slides (Django) - http://openslides.org/ | |
* Zeeguu - https://zeeguu.unibe.ch | |
* Project Jupyter - https://github.com/jupyter | |
* nbgrader - https://github.com/jupyter/nbgrader |
Write a program that does what it’s supposed to do | |
Write idiomatic code | |
Debug a program that you wrote | |
Debug a program someone else wrote | |
Debug the interaction between a system you wrote and one you didn’t | |
File a good bug report | |
Modify a program you didn’t write | |
Test a program you wrote | |
Test a program you didn’t write | |
Learn a new programming language |
2015-01-29 Unofficial Relay FAQ
Compilation of questions and answers about Relay from React.js Conf.
Disclaimer: I work on Relay at Facebook. Relay is a complex system on which we're iterating aggressively. I'll do my best here to provide accurate, useful answers, but the details are subject to change. I may also be wrong. Feedback and additional questions are welcome.
Relay is a new framework from Facebook that provides data-fetching functionality for React applications. It was announced at React.js Conf (January 2015).
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import argparse | |
if __name__ == '__main__': | |
parser = argparse.ArgumentParser(description=""" | |
I never freaking remember argparse syntax and the docs are so all over the place | |
that I need this for an example. |
#!/bin/bash | |
usage() { | |
cat << EOF | |
Usage: $0 [OPTION]... COMMAND | |
Execute the given command in a way that works safely with cron. This should | |
typically be used inside of a cron job definition like so: | |
* * * * * $(which "$0") [OPTION]... COMMAND | |
Arguments: |
#!/bin/sh | |
# | |
# gunicorn_sr Startup script for gunicorn for sr | |
# | |
# chkconfig: - 86 14 | |
# processname: gunicorn | |
# pidfile: | |
# description: Python application server | |
# | |
### BEGIN INIT INFO |
Git checkout
can do almost anything ... or, at least, many things. It can switch branches. It can mix and match branches. It can resolve merge conflicts. It can give you a scratchpad to test things. It can even be used to interactively patch files. It's so powerful because it's so abstract. But much like numinous mystics, abstraction makes it confusing.
Basically git checkout
does two things: