Skip to content

Commit

Permalink
Fix MD022 Headers should be surrounded by blank lines
Browse files Browse the repository at this point in the history
  • Loading branch information
tedmiston committed Feb 19, 2017
1 parent ce8f15b commit 8182530
Show file tree
Hide file tree
Showing 84 changed files with 1,440 additions and 0 deletions.
1 change: 1 addition & 0 deletions articles/Fixing the Inequity of Startup Equity.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Fixing the Inequity of Startup Equity

by Harjeet Taggar

[Article text](https://data.triplebyte.com/fixing-the-inequity-of-startup-equity-469793baad1e) | [HN discussion](https://news.ycombinator.com/item?id=11197510)
Expand Down
1 change: 1 addition & 0 deletions articles/How to Be Motivated.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# How to Be Motivated: 4 New Insights From Research

by Eric Barker

http://www.bakadesuyo.com/2015/01/how-to-be-motivated/
Expand Down
1 change: 1 addition & 0 deletions articles/I'm Not Living The Dream.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# I'm Not Living The Dream

by Charlie Guo

https://medium.com/swlh/i-m-not-living-the-dream-58e1426b8792
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Location Wars - Part I: History and the Problem

by Tim Brunk

https://medium.com/the-astronomer-journey/location-wars-part-i-history-and-the-problem-ea3047167b56
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# minimalism isn't traveling the world with nothing

by leo babauta

http://mnmlist.com/suitcase/
Expand Down
1 change: 1 addition & 0 deletions articles/Ruby has been fast enough for 13 years.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Ruby has been fast enough for 13 years

by DHH

https://m.signalvnoise.com/ruby-has-been-fast-enough-for-13-years-afff4a54abc7
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Shannon’s Method: Overcome Habit Procrastination

by Leo Babauta

http://zenhabits.net/shannon/
Expand Down
1 change: 1 addition & 0 deletions articles/The Zen of Limits.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# the zen of limits

by leo babauta

http://mnmlist.com/zen-limits/
Expand Down
1 change: 1 addition & 0 deletions articles/Working from Home and Phatic Communication.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Working from Home and Phatic Communication

by Simon Ouderkirk

[Article](http://s12k.com/2016/03/07/working-from-home-and-phatic-communication/) | [HN](https://news.ycombinator.com/item?id=11238535)
Expand Down
15 changes: 15 additions & 0 deletions books/Algorithms to Live By.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,33 @@ What happens when we apply algorithms to our problems in life?
---

## Introduction: Algorithms to Live By

## 1. Optimal Stopping: When to Stop Looking

## 2. Explore/Exploit: The Latest vs. the Greatest

## 3. Sorting: Making Order

## 4. Caching: Forget About It

## 5. Scheduling: First Things First

## 6. Bayes's Rule: Predicting the Future

## 7. Overfitting: When to Think Less

## 8. Relaxation: Let It Slide

## 9. Randomness: When to Leave It to Chance

## 10. Networking: How We Connect

## 11. Game Theory: The Minds of Others

## Conclusion: Computational Kindness

## Notes

## Bibliography

## Acknowledgements
13 changes: 13 additions & 0 deletions books/Building Microservices.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,32 @@
# Building Microservices

*Designing Fine-Grained Systems*<br>
by Sam Newman, August 2015 (O'Reilly Media)

---

## Preface

## 1. Microservices

## 2. The Evolutionary Architect

## 3. How to Model Services

## 4. Integration

## 5. Splitting the Monolith

## 6. Deployment

## 7. Testing

## 8. Monitoring

## 9. Security

## 10. Conway's Law and System Design

## 11. Microservices at Scale

## 12. Bringing it All Together
1 change: 1 addition & 0 deletions books/Django By Example.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Django By Example

by Antonio Melé, November 2015

- [Official site](http://djangobyexample.com/)
Expand Down
61 changes: 61 additions & 0 deletions books/Effective Python.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Effective Python

*59 Specific Ways to Write Better Python*<br>
by [Brett Slatkin](http://www.onebigfluke.com/), Senior Staff Software Engineer @ Google

Expand All @@ -17,79 +18,139 @@ by [Brett Slatkin](http://www.onebigfluke.com/), Senior Staff Software Engineer
- Examples use Python 3 by default

## Acknowledgements

## About the Author

## 1. Pythonic Thinking

### 1. Know Which Version of Python You're Using

### 2. Follow the PEP 8 Style Guide

### 3. Know the Differences Between `bytes`, `str`, and `unicode`

### 4. Write Helper Functions Instead of Complex Expressions

### 5. Know How to Slice Sequences

### 6. Avoid Using `start`, `end`, and `stride` in a Single Slice

### 7. Use List Comprehensions Instead of `map` and `filter`

### 8. Avoid More Than Two Expressions in List Comprehensions

### 9. Consider Generator Expressions for Large Comprehensions

### 10. Prefer `enumerate` Over `range`

### 11. Use `zip` to Process Iterators in Parallel

### 12. Avoid `else` Blocks After `for` and `while` Loops

### 13. Take Advantage of Each Block `try`/`except`/`else`/`finally`

## 2. Functions

### 14. Prefer Exceptions to Returning None

### 15. Know How Closures Interact with Variable Scope

### 16. Consider Generators Instead of Returning Lists

### 17. Be Defensive When Iterating Over Arguments

### 18. Reduce Visual Noise with Variable Positional Arguments

### 19. Provide Optional Behavior with Keyword Arguments

### 20. Use `None` and Docstrings to Specify Dynamic Default Arguments

### 21. Enforce Clarity with Keyword-Only Arguments

## 3. Classes and Inheritance

### 22. Prefer Helper Classes Over Bookkeeping with Dictionaries and Tuples

### 23. Accept Functions for Simple Interfaces Instead of Classes

### 24. Use `@classmethod` Polymorphism to Construct Objects Generically

### 25. Initialize Parent Classes with `super`

### 26. Use Multiple Inheritance Only for Mix-in Utility Classes

### 27. Prefer Public Attributes Over Private Ones

### 28. Inherit from `collections.abc` for Custom Container Types

## 4. Metaclasses and Attributes

### 29. Use Plain Attributes Instead of Get and Set Methods

### 30. Consider `@property` Instead of Refactoring Attributes

### 31. Use Descriptors for Reusable `@property` Methods

### 32. Use `__getattr__`, `__getattribute__`, and `__setattr__` for Lazy Attributes

### 33. Validate Subclasses with Metaclasses

### 34. Register Class Existence with Metaclasses

### 35. Annotate Class Attributes with Metaclasses

## 5. Concurrency and Parallelism

### 36. Use subprocess to Manage Child Processes

### 37. Use Threads for Blocking I/O, Avoid for Parallelism

### 38. Use Lock to Prevent Data Races in Threads

### 39. Use Queue to Coordinate Work Between Threads

### 40. Consider Coroutines to Run Many Functions Concurrently

### 41. Consider `concurrent.futures` for True Parallelism

## 6. Built-in Modules

### 42. Define Function Decorators with `functools.wraps`

### 43. Consider `contextlib` and with Statements for Reusable `try`/`finally` Behavior

### 44. Make `pickle` Reliable with `copyreg`

### 45. Use `datetime` Instead of `time` for Local Clocks

### 46. Use Built-in Algorithms and Data Structures

### 47. Use `decimal` When Precision Is Paramount

### 48. Know Where to Find Community-Built Modules

## 7. Collaboration

### 49. Write Docstrings for Every Function, Class, and Module

### 50. Use Packages to Organize Modules and Provide Stable APIs

### 51. Define a Root Exception to Insulate Callers from APIs

### 52. Know How to Break Circular Dependencies

### 53. Use Virtual Environments for Isolated and Reproducible Dependencies

## 8. Production

### 54. Consider Module-Scoped Code to Configure Deployment Environments

### 55. Use `repr` String for Debugging Output

### 56. Test Everything with `unittest`

### 57. Consider Interactive Debugging with `pdb`

### 58. Profile Before Optimizing

### 59. Use `tracemalloc` to Understand Memory Usage and Leaks
Loading

0 comments on commit 8182530

Please sign in to comment.