Skip to content

Instantly share code, notes, and snippets.

@beccimelson
beccimelson / config.py
Last active June 28, 2017 13:02
CYO-Twitter-API
consumer_key = 'your-consumer-key'
consumer_secret = 'your-consumer-secret'
access_token = 'your-access-token'
access_token_secret = 'your-access-secret'
@beccimelson
beccimelson / Git Cheatsheet
Last active June 27, 2017 00:18 — forked from hofmannsven/README.md
My simple Git Cheatsheet
Using Git
===============
Global Settings
-----------
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
...(BEGINNING OF FILE, ABOUT 20 LINES)
<label>{{ product.options[0] }}</label>
<select id="product-select-{{ product.id }}{{ product-form }}" name="id">
{% for variant in product.variants %}
<option {% if variant == product.selected_or_first_available_variant %}selected="selected"{% endif %} value="{{ variant.id }}" data-sku="{{ variant.sku }}">{{ variant.title }}</option>
{% endfor %}
</select>
</div>
{% else %}