Skip to content

Instantly share code, notes, and snippets.

View james947's full-sized avatar
🏠
Working from home

James Agushoma james947

🏠
Working from home
View GitHub Profile
@james947
james947 / advanced-active-record.md
Created October 25, 2021 18:31 — forked from scootcho/advanced-active-record.md
Advanced Active Record Notes
@james947
james947 / python_decorator_guide.md
Created October 4, 2018 20:20 — forked from Zearin/python_decorator_guide.md
The best explanation of Python decorators I’ve ever seen. (An archived answer from StackOverflow.)

NOTE: This is a question I found on StackOverflow which I’ve archived here, because the answer is so effing phenomenal.


Q: How can I make a chain of function decorators in Python?


If you are not into long explanations, see [Paolo Bergantino’s answer][2].

@james947
james947 / README-Template.md
Created February 15, 2018 05:35 — forked from PurpleBooth/README-Template.md
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

@james947
james947 / Storing-Images-On-Github.md
Created February 14, 2018 14:17 — forked from joncardasis/Storing-Images-On-Github.md
Storing Images and Demos in your Repo

Storing Images and Demos in your Repo

In this quick walkthough you'll learn how to create a separate branch in your repo to house your screenshots and demo gifs for use in your master's readme.

How to

1. Clone a fresh copy of your repo

In order to prevent any loss of work it is best to clone the repo in a separate location to complete this task.

2. Create a new branch

Create a new branch in your repo by using git checkout --orphan assets